Class FuncCall

Direct Known Subclasses:
DynFuncCall, StaticFuncCall

public abstract class FuncCall extends Arr
An XQuery function call, either static or dynamic.
Author:
BaseX Team 2005-21, BSD License, Leo Woerteler
  • Method Details

    • markTailCalls

      public final void markTailCalls(CompileContext cc)
      Description copied from class: Expr
      Finds and marks tail calls, enabling TCO.
      Overrides:
      markTailCalls in class Expr
      Parameters:
      cc - compilation context, null if the changes should not be reported
    • value

      public final Value value(QueryContext qc) throws QueryException
      Description copied from class: Expr
      Evaluates the expression and returns the resulting value. If this method is not implemented, Expr.item(QueryContext, InputInfo) must be implemented instead.
      Overrides:
      value in class ParseExpr
      Parameters:
      qc - query context
      Returns:
      value
      Throws:
      QueryException - query exception