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

expression_list() public method

public expression_list ( ExpressionCollection ec ) : void
ec ExpressionCollection
return void
        public void expression_list(ExpressionCollection ec)
        {
            try
            {
                if (tokenSet_16_.member(this.LA(1)) && tokenSet_17_.member(this.LA(2)))
                {
                    Expression expression = this.expression();
                    if (base.inputState.guessing == 0)
                    {
                        ec.Add(expression);
                    }
                    while (this.LA(1) == 0x43)
                    {
                        this.match(0x43);
                        expression = this.expression();
                        if (base.inputState.guessing == 0)
                        {
                            ec.Add(expression);
                        }
                    }
                }
                else if ((((this.LA(1) != 0x3d) && (this.LA(1) != 0x40)) && (this.LA(1) != 0x45)) || !tokenSet_20_.member(this.LA(2)))
                {
                    throw new NoViableAltException(this.LT(1), this.getFilename());
                }
            }
            catch (RecognitionException exception)
            {
                if (base.inputState.guessing != 0)
                {
                    throw;
                }
                this.reportError(exception);
                this.recover(exception, tokenSet_52_);
            }
        }
UnityScriptParser