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

method_invocation_block() protected method

protected method_invocation_block ( Expression e ) : MethodInvocationExpression
e Expression
return MethodInvocationExpression
        protected MethodInvocationExpression method_invocation_block(
		Expression e
	)
        {
            MethodInvocationExpression mi;

            Expression block = null;
            mi = null;

            try {      // for error handling
            block=callable_expression();
            if (0==inputState.guessing)
            {

                        mi = e as MethodInvocationExpression ?? new MethodInvocationExpression(e.LexicalInfo, e);
                        mi.Arguments.Add(block);

            }
            }
            catch (RecognitionException ex)
            {
            if (0 == inputState.guessing)
            {
                reportError(ex, "method_invocation_block");
                recover(ex,tokenSet_22_);
            }
            else
            {
                throw ex;
            }
            }
            return mi;
        }
BooParserBase