/** * Checks function syntax * * @return syntax status: Function.NO_SYNTAX_ERRORS, * Function.SYNTAX_ERROR_OR_STATUS_UNKNOWN * */ public boolean checkSyntax() { boolean syntaxStatus = Function.NO_SYNTAX_ERRORS; if (functionBodyType != BODY_EXTENDED) syntaxStatus = functionExpression.checkSyntax(); checkRecursiveMode(); return syntaxStatus; } /**
fun.checkRecursiveMode(); int npar = getParametersNumber(tokenIndex); int fpar = fun.getParametersNumber();