public static GotoStatement NewGoto(LabelStatement label) { GotoStatement statement; GotoStatement statement1 = statement = new GotoStatement(); statement.set_Label(new ReferenceExpression(label.get_Name())); return statement; }
public void continue_statement(Block b) { IToken token = null; try { token = this.LT(1); this.match(9); if (base.inputState.guessing == 0) { string currentLoopLabel = this.GetCurrentLoopLabel(); if (currentLoopLabel != null) { GotoStatement statement; GotoStatement statement1 = statement = new GotoStatement(ToLexicalInfo(token)); statement.set_Label(new ReferenceExpression(currentLoopLabel)); b.Add(statement); } else { b.Add(new ContinueStatement(ToLexicalInfo(token))); } } } catch (RecognitionException exception) { if (base.inputState.guessing != 0) { throw; } this.reportError(exception); this.recover(exception, tokenSet_15_); } }