UnityScript.Parser.UnityScriptParser.continue_statement C# (CSharp) Method

continue_statement() public method

public continue_statement ( Block b ) : void
b Block
return void
        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_);
            }
        }
UnityScriptParser