interface IExpressionFunction {
    apply: (evalContext: IEvalContext) => Promise<TermExpression>;
    checkArity: (args: Expression[]) => boolean;
}

Hierarchy (View Summary)

Implemented by

Properties

Properties

apply: (evalContext: IEvalContext) => Promise<TermExpression>
checkArity: (args: Expression[]) => boolean

The arity of the function will be checked when parsing and preparing a function. This allows us to check if the query is correct even before we process any bindings.