Boo.Lang.Parser.BooParserBase.identifier_expression C# (CSharp) Метод

identifier_expression() защищенный Метод

protected identifier_expression ( ) : ReferenceExpression
Результат ReferenceExpression
        protected ReferenceExpression identifier_expression()
        {
            ReferenceExpression result;

            result = null;
            IToken id = null;

            try {      // for error handling
            id=identifier();
            if (0==inputState.guessing)
            {
                if (id != null) result = new ReferenceExpression(ToLexicalInfo(id), id.getText());
            }
            }
            catch (RecognitionException ex)
            {
            if (0 == inputState.guessing)
            {
                reportError(ex, "identifier_expression");
                recover(ex,tokenSet_26_);
            }
            else
            {
                throw ex;
            }
            }
            return result;
        }
BooParserBase