_loop157:
_loop159:
	public final Expression  functionCall(AST _t,		PathExpr path	) throws RecognitionException, PermissionDeniedException,EXistException,XPathException {		Expression step;				org.exist.xquery.parser.XQueryAST functionCall_AST_in = (_t == ASTNULL) ? null : (org.exist.xquery.parser.XQueryAST)_t;		org.exist.xquery.parser.XQueryAST fn = null;					PathExpr pathExpr;			step= null;						AST __t155 = _t;		fn = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t;		match(_t,FUNCTION);		_t = _t.getFirstChild();		List params= new ArrayList(2);		{		_loop157:		do {			if (_t==null) _t=ASTNULL;			if ((_tokenSet_0.member(_t.getType()))) {				pathExpr= new PathExpr(context);				expr(_t,pathExpr);				_t = _retTree;				params.add(pathExpr);			}			else {				break _loop157;			}					} while (true);		}		_t = __t155;		_t = _t.getNextSibling();		step= FunctionFactory.createFunction(context, fn, path, params);		_retTree = _t;		return step;	}