public object Visit(OptionExplicitDeclaration optionExplicitDeclaration, object data)
 {
     DebugOutput(optionExplicitDeclaration);
     AppendIndentation();
     sourceText.Append("// TODO: NotImplemented statement: ");
     sourceText.Append(optionExplicitDeclaration);
     AppendNewLine();
     return null;
 }
Example #2
0
	void OptionStmt() {

#line  442 "VBNET.ATG" 
		INode node = null; bool val = true; 
		Expect(137);

#line  443 "VBNET.ATG" 
		Point startPos = t.Location; 
		if (la.kind == 96) {
			lexer.NextToken();
			if (la.kind == 135 || la.kind == 136) {
				OptionValue(
#line  445 "VBNET.ATG" 
ref val);
			}

#line  446 "VBNET.ATG" 
			node = new OptionExplicitDeclaration(val); 
		} else if (la.kind == 166) {
			lexer.NextToken();
			if (la.kind == 135 || la.kind == 136) {
				OptionValue(
#line  448 "VBNET.ATG" 
ref val);
			}

#line  449 "VBNET.ATG" 
			node = new OptionStrictDeclaration(val); 
		} else if (la.kind == 71) {
			lexer.NextToken();
			if (la.kind == 52) {
				lexer.NextToken();

#line  451 "VBNET.ATG" 
				node = new OptionCompareDeclaration(CompareType.Binary); 
			} else if (la.kind == 171) {
				lexer.NextToken();

#line  452 "VBNET.ATG" 
				node = new OptionCompareDeclaration(CompareType.Text); 
			} else SynErr(189);
		} else SynErr(190);
		EndOfStmt();

#line  457 "VBNET.ATG" 
		node.StartLocation = startPos;
		node.EndLocation   = t.Location;
		compilationUnit.AddChild(node);
		
	}
 public virtual object Visit(OptionExplicitDeclaration optionExplicitDeclaration, object data)
 {
     return data;
 }