void SingleLineStatementList( //#line 3379 "VBNET.ATG" List<Statement> list) { //#line 3380 "VBNET.ATG" Statement embeddedStatement = null; if (la.kind == 113) { lexer.NextToken(); //#line 3382 "VBNET.ATG" embeddedStatement = new EndStatement() { StartLocation = t.Location, EndLocation = t.EndLocation }; } else if (StartOf(49)) { EmbeddedStatement( //#line 3383 "VBNET.ATG" out embeddedStatement); } else SynErr(317); //#line 3384 "VBNET.ATG" if (embeddedStatement != null) list.Add(embeddedStatement); while (la.kind == 21) { lexer.NextToken(); while (la.kind == 21) { lexer.NextToken(); } if (la.kind == 113) { lexer.NextToken(); //#line 3386 "VBNET.ATG" embeddedStatement = new EndStatement() { StartLocation = t.Location, EndLocation = t.EndLocation }; } else if (StartOf(49)) { EmbeddedStatement( //#line 3387 "VBNET.ATG" out embeddedStatement); } else SynErr(318); //#line 3388 "VBNET.ATG" if (embeddedStatement != null) list.Add(embeddedStatement); } }
public sealed override object VisitEndStatement(EndStatement endStatement, object data) { this.BeginVisit(endStatement); object result = this.TrackedVisitEndStatement(endStatement, data); this.EndVisit(endStatement); return result; }
public override object TrackedVisitEndStatement(EndStatement endStatement, object data) { Console.WriteLine("VistEndStatement"); return null; }
public virtual object VisitEndStatement(EndStatement endStatement, object data) { throw new global::System.NotImplementedException("EndStatement"); }
public virtual object TrackedVisitEndStatement(EndStatement endStatement, object data) { return base.VisitEndStatement(endStatement, data); }
void SingleLineStatementList( #line 2562 "VBNET.ATG" List<Statement> list) { #line 2563 "VBNET.ATG" Statement embeddedStatement = null; if (la.kind == 88) { lexer.NextToken(); #line 2565 "VBNET.ATG" embeddedStatement = new EndStatement(); } else if (StartOf(34)) { EmbeddedStatement( #line 2566 "VBNET.ATG" out embeddedStatement); } else SynErr(263); #line 2567 "VBNET.ATG" if (embeddedStatement != null) list.Add(embeddedStatement); while (la.kind == 13) { lexer.NextToken(); while (la.kind == 13) { lexer.NextToken(); } if (la.kind == 88) { lexer.NextToken(); #line 2569 "VBNET.ATG" embeddedStatement = new EndStatement(); } else if (StartOf(34)) { EmbeddedStatement( #line 2570 "VBNET.ATG" out embeddedStatement); } else SynErr(264); #line 2571 "VBNET.ATG" if (embeddedStatement != null) list.Add(embeddedStatement); } }
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 virtual object VisitEndStatement(EndStatement endStatement, object data) { throw CreateException(endStatement); }
void SingleLineStatementList( #line 3387 "VBNET.ATG" List<Statement> list) { #line 3388 "VBNET.ATG" Statement embeddedStatement = null; if (la.kind == 115) { lexer.NextToken(); #line 3390 "VBNET.ATG" embeddedStatement = new EndStatement() { StartLocation = t.Location, EndLocation = t.EndLocation }; } else if (StartOf(50)) { EmbeddedStatement( #line 3391 "VBNET.ATG" out embeddedStatement); } else SynErr(321); #line 3392 "VBNET.ATG" if (embeddedStatement != null) list.Add(embeddedStatement); while (la.kind == 21) { lexer.NextToken(); while (la.kind == 21) { lexer.NextToken(); } if (la.kind == 115) { lexer.NextToken(); #line 3394 "VBNET.ATG" embeddedStatement = new EndStatement() { StartLocation = t.Location, EndLocation = t.EndLocation }; } else if (StartOf(50)) { EmbeddedStatement( #line 3395 "VBNET.ATG" out embeddedStatement); } else SynErr(322); #line 3396 "VBNET.ATG" if (embeddedStatement != null) list.Add(embeddedStatement); } }
public object VisitEndStatement(EndStatement endStatement, object data) { throw new NotImplementedException (); }
public virtual object VisitEndStatement(EndStatement endStatement, object data) { Debug.Assert((endStatement != null)); return null; }
public virtual bool VisitEndStatement(EndStatement endStatement, object d) { if ((endStatement == null)) { return SetFailure(); } if ((d == null)) { return SetFailure(); } if(endStatement.GetType() != d.GetType()) {return SetFailure();} var data = (EndStatement)d; if (!IsMatch(endStatement, data)) { return SetFailure(); } return true; }
public override object VisitEndStatement(EndStatement endStatement, object data) { return base.VisitEndStatement(endStatement, data); }
private bool IsMatch(EndStatement left, EndStatement data) { return false; }
public object VisitEndStatement(EndStatement endStatement, object data) { return new B.ExpressionStatement(MakeMethodCall("System.Environment.Exit", new B.IntegerLiteralExpression(0))); }
void SingleLineStatementList( #line 3286 "VBNET.ATG" List<Statement> list) { #line 3287 "VBNET.ATG" Statement embeddedStatement = null; if (la.kind == 113) { lexer.NextToken(); #line 3289 "VBNET.ATG" embeddedStatement = new EndStatement(); } else if (StartOf(49)) { EmbeddedStatement( #line 3290 "VBNET.ATG" out embeddedStatement); } else SynErr(317); #line 3291 "VBNET.ATG" if (embeddedStatement != null) list.Add(embeddedStatement); while (la.kind == 21) { lexer.NextToken(); while (la.kind == 21) { lexer.NextToken(); } if (la.kind == 113) { lexer.NextToken(); #line 3293 "VBNET.ATG" embeddedStatement = new EndStatement(); } else if (StartOf(49)) { EmbeddedStatement( #line 3294 "VBNET.ATG" out embeddedStatement); } else SynErr(318); #line 3295 "VBNET.ATG" if (embeddedStatement != null) list.Add(embeddedStatement); } }