public static final ParseRuleDescription RULE_FN_BODY = new ParseRuleDescription("FnBody", "FunctionBody");
protected NodeResult<? extends IFunctionBody> parseFunctionBody() {
if(tryConsume(DeeTokens.SEMICOLON)) {
return resultConclude(false, srOf(lastLexElement(), new EmptyStatement()));
}
NodeResult<BlockStatement> blockResult = thisParser().parseBlockStatement(false, false);
if(blockResult.node != null)
return blockResult;