Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EvalContext

Context available to an evaluated script / expression

Hierarchy

  • EvalContext

Index

Properties

Readonly expressionTagger

expressionTagger: (stringParts: TemplateStringsArray, ...dataParts: unknown[]) => string | Promise<string>

ES6 template tagging function that will resolve promises in the template. Used internally to implement async template literals.

Type declaration

    • (stringParts: TemplateStringsArray, ...dataParts: unknown[]): string | Promise<string>
    • Parameters

      • stringParts: TemplateStringsArray
      • Rest ...dataParts: unknown[]

      Returns string | Promise<string>

Readonly pipelineContext

pipelineContext: PipelineContext

Current pipeline compilation context

Readonly scope

scope: ScopeData

Compiled scope instance, with proper shadowing and overloading applied

Readonly sourceNode

sourceNode: Node

Node that triggered this script execution. This node can be considered as the "location" of this EvalContext.

Generated using TypeDoc