Data interface for the type of an actor run result.

interface IActorExpressionEvaluatorFactoryOutput {
    context: IActionContext;
    evaluate: (mapping: Bindings) => Promise<Term>;
    evaluateAsEBV: (mapping: Bindings) => Promise<boolean>;
    evaluateAsEvaluatorExpression: (
        mapping: Bindings,
    ) => Promise<TermExpression>;
    evaluatorExpressionEvaluation: (
        expr: Expression,
        mapping: Bindings,
    ) => Promise<TermExpression>;
}

Hierarchy (View Summary)

Properties

evaluate: (mapping: Bindings) => Promise<Term>

Evaluates the provided bindings in terms of the context the evaluator was created.

Type declaration

    • (mapping: Bindings): Promise<Term>
    • Parameters

      • mapping: Bindings

        the RDF bindings to evaluate against.

      Returns Promise<Term>

evaluateAsEBV: (mapping: Bindings) => Promise<boolean>

Evaluates the provided bindings in terms of the context the evaluator was created, returning the effective boolean value.

Type declaration

    • (mapping: Bindings): Promise<boolean>
    • Parameters

      • mapping: Bindings

        the RDF bindings to evaluate against.

      Returns Promise<boolean>

evaluateAsEvaluatorExpression: (mapping: Bindings) => Promise<TermExpression>
evaluatorExpressionEvaluation: (
    expr: Expression,
    mapping: Bindings,
) => Promise<TermExpression>