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

list_initializer() protected method

protected list_initializer ( ) : ListLiteralExpression
return ListLiteralExpression
        protected ListLiteralExpression list_initializer()
        {
            ListLiteralExpression e;

            IToken  lbrace = null;

                e = null;
                ExpressionCollection items = null;

            try {      // for error handling
            lbrace = LT(1);
            match(LBRACE);
            if (0==inputState.guessing)
            {

                        e = new ListLiteralExpression(ToLexicalInfo(lbrace));
                        items = e.Items;

            }
            list_items(items);
            match(RBRACE);
            }
            catch (RecognitionException ex)
            {
            if (0 == inputState.guessing)
            {
                reportError(ex, "list_initializer");
                recover(ex,tokenSet_73_);
            }
            else
            {
                throw ex;
            }
            }
            return e;
        }
BooParserBase