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

compound_or_single_stmt() public method

public compound_or_single_stmt ( Block b ) : void
b Block
return void
        public void compound_or_single_stmt(Block b)
        {
            try
            {
                if ((this.LA(1) != 0x3d) || !tokenSet_13_.member(this.LA(2)))
                {
                    if (!tokenSet_2_.member(this.LA(1)) || !tokenSet_14_.member(this.LA(2)))
                    {
                        throw new NoViableAltException(this.LT(1), this.getFilename());
                    }
                    this.statement(b);
                }
                else
                {
                    this.compound_statement(b);
                }
            }
            catch (RecognitionException exception)
            {
                if (base.inputState.guessing != 0)
                {
                    throw;
                }
                this.reportError(exception);
                this.recover(exception, tokenSet_15_);
            }
        }
UnityScriptParser