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

break_statement() public method

public break_statement ( Block b ) : void
b Block
return void
        public void break_statement(Block b)
        {
            IToken token = null;
            try
            {
                token = this.LT(1);
                this.match(5);
                if (base.inputState.guessing == 0)
                {
                    b.Add(new BreakStatement(ToLexicalInfo(token)));
                }
            }
            catch (RecognitionException exception)
            {
                if (base.inputState.guessing != 0)
                {
                    throw;
                }
                this.reportError(exception);
                this.recover(exception, tokenSet_15_);
            }
        }
UnityScriptParser