public override string VisitEndStatement(BasicParser.EndStatementContext context) { var endStatement = new EndStatement(); Statements[_currentLineNumber] = endStatement; return(base.VisitEndStatement(context)); }
public void VBNetEndStatementTest() { EndStatement endStatement = ParseUtil.ParseStatement <EndStatement>("End"); }
public virtual object VisitEndStatement(EndStatement endStatement, object data) { throw new global::System.NotImplementedException("EndStatement"); }
public virtual object Visit(EndStatement endStatement, object data) { Debug.Assert(endStatement != null); return(data); }
void SingleLineStatementList( #line 3047 "VBNET.ATG" List<Statement> list) { #line 3048 "VBNET.ATG" Statement embeddedStatement = null; if (la.kind == 100) { lexer.NextToken(); #line 3050 "VBNET.ATG" embeddedStatement = new EndStatement(); } else if (StartOf(36)) { EmbeddedStatement( #line 3051 "VBNET.ATG" out embeddedStatement); } else SynErr(281); #line 3052 "VBNET.ATG" if (embeddedStatement != null) list.Add(embeddedStatement); while (la.kind == 11) { lexer.NextToken(); while (la.kind == 11) { lexer.NextToken(); } if (la.kind == 100) { lexer.NextToken(); #line 3054 "VBNET.ATG" embeddedStatement = new EndStatement(); } else if (StartOf(36)) { EmbeddedStatement( #line 3055 "VBNET.ATG" out embeddedStatement); } else SynErr(282); #line 3056 "VBNET.ATG" if (embeddedStatement != null) list.Add(embeddedStatement); } }
public override object VisitEndStatement(EndStatement endStatement, object data) { return(base.VisitEndStatement(endStatement, data)); }
public object VisitEndStatement(EndStatement endStatement, object data) { return(new B.ExpressionStatement(MakeMethodCall("System.Environment.Exit", new B.IntegerLiteralExpression(0)))); }
public virtual object VisitEndStatement(EndStatement endStatement, object data) { Debug.Assert((endStatement != null)); return null; }
public object VisitEndStatement(EndStatement endStatement, object data) { throw new NotImplementedException(); }
private bool IsMatch(EndStatement left, EndStatement data) { return(false); }
public sealed override object VisitEndStatement(EndStatement endStatement, object data) { BeginVisit(endStatement); object result = TrackedVisitEndStatement(endStatement, data); EndVisit(endStatement); return result; }
public virtual object TrackedVisitEndStatement(EndStatement endStatement, object data) { return base.VisitEndStatement(endStatement, data); }