Boo.Lang.Parser.BooParserBase.argument_list C# (CSharp) Method

argument_list() protected method

protected argument_list ( INodeWithArguments node ) : void
node INodeWithArguments
return void
        protected void argument_list(
		INodeWithArguments node
	)
        {
            try {      // for error handling
            {
                switch ( LA(1) )
                {
                case ESEPARATOR:
                case CAST:
                case CHAR:
                case FALSE:
                case NOT:
                case NULL:
                case SELF:
                case SUPER:
                case THEN:
                case TRUE:
                case TYPEOF:
                case TRIPLE_QUOTED_STRING:
                case LPAREN:
                case DOUBLE_QUOTED_STRING:
                case SINGLE_QUOTED_STRING:
                case ID:
                case MULTIPLY:
                case LBRACK:
                case SPLICE_BEGIN:
                case DOT:
                case LBRACE:
                case QQ_BEGIN:
                case SUBTRACT:
                case LONG:
                case INCREMENT:
                case DECREMENT:
                case ONES_COMPLEMENT:
                case INT:
                case BACKTICK_QUOTED_STRING:
                case RE_LITERAL:
                case DOUBLE:
                case FLOAT:
                case TIMESPAN:
                {
                    argument(node);
                    {    // ( ... )*
                        for (;;)
                        {
                            if ((LA(1)==COMMA))
                            {
                                match(COMMA);
                                argument(node);
                            }
                            else
                            {
                                goto _loop655_breakloop;
                            }

                        }
            _loop655_breakloop:						;
                    }    // ( ... )*
                    break;
                }
                case RPAREN:
                {
                    break;
                }
                default:
                {
                    throw new NoViableAltException(LT(1), getFilename());
                }
                 }
            }
            }
            catch (RecognitionException ex)
            {
            if (0 == inputState.guessing)
            {
                reportError(ex, "argument_list");
                recover(ex,tokenSet_50_);
            }
            else
            {
                throw ex;
            }
            }
        }
BooParserBase