void GotoStatement( #line 1768 "Frames/cs.ATG" out Statement stmt) { #line 1769 "Frames/cs.ATG" Expression expr; stmt = null; Expect(78); if (StartOf(19)) { Identifier(); #line 1773 "Frames/cs.ATG" stmt = new GotoStatement(t.val); Expect(11); } else if (la.kind == 55) { lexer.NextToken(); Expr( #line 1774 "Frames/cs.ATG" out expr); Expect(11); #line 1774 "Frames/cs.ATG" stmt = new GotoCaseStatement(expr); } else if (la.kind == 63) { lexer.NextToken(); Expect(11); #line 1775 "Frames/cs.ATG" stmt = new GotoCaseStatement(null); } else SynErr(202); }
public virtual object VisitGotoStatement(GotoStatement gotoStatement, object data) { Debug.Assert((gotoStatement != null)); return null; }
public sealed override object VisitGotoStatement(GotoStatement gotoStatement, object data) { this.BeginVisit(gotoStatement); object result = this.TrackedVisitGotoStatement(gotoStatement, data); this.EndVisit(gotoStatement); return result; }
public virtual object TrackedVisitGotoStatement(GotoStatement gotoStatement, object data) { return base.VisitGotoStatement(gotoStatement, data); }
void GotoStatement( #line 3119 "VBNET.ATG" out GotoStatement goToStatement) { #line 3121 "VBNET.ATG" string label = String.Empty; Expect(119); LabelName( #line 3124 "VBNET.ATG" out label); #line 3126 "VBNET.ATG" goToStatement = new GotoStatement(label); }
public virtual object VisitGotoStatement(GotoStatement gotoStatement, object data) { throw new global::System.NotImplementedException("GotoStatement"); }
public override object VisitGotoStatement(GotoStatement gotoStatement, object data) { System.CodeDom.CodeGotoStatement gotoStmt = new CodeGotoStatement(gotoStatement.Label); // Add Statement to Current Statement Collection AddStmt(gotoStmt); return gotoStmt; }