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

self_literal() protected method

protected self_literal ( ) : SelfLiteralExpression
return SelfLiteralExpression
        protected SelfLiteralExpression self_literal()
        {
            SelfLiteralExpression e;

            IToken  t = null;
            e = null;

            try {      // for error handling
            t = LT(1);
            match(SELF);
            if (0==inputState.guessing)
            {
                e = new SelfLiteralExpression(ToLexicalInfo(t));
            }
            }
            catch (RecognitionException ex)
            {
            if (0 == inputState.guessing)
            {
                reportError(ex, "self_literal");
                recover(ex,tokenSet_41_);
            }
            else
            {
                throw ex;
            }
            }
            return e;
        }
BooParserBase