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;
}