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

null_literal() protected method

protected null_literal ( ) : NullLiteralExpression
return NullLiteralExpression
        protected NullLiteralExpression null_literal()
        {
            NullLiteralExpression e;

            IToken  t = null;
            e = null;

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