Private planPrivate tpPrivate dedupPrivate There are situations when an expression can result in multiple parallel paths to the same node.
For example like ${a + a.b + a.c} where a is an expression (thus a.b and a.c are not materialized__)
will result in parallel containing three nodes of '/a'.
that cause
Executes the specified execution plan.
This method runs any plan that the Planner has generated, applying its operations to the template or its components.
The execution plan to execute.
A promise that resolves once execution is complete.
This is the inverse of the toJSON. It takes a serializable execution plan and returns an object that can be used in the runtime.The snapshot is necessary because it contains normalization structures that have to be used to rehydrate an ExecutionPlan from a SerializableExecutionPlan
Private getGenerates an initialization plan for the specified JSON pointer.
This method is typically queued by the TemplateProcessor during initialization.
While the jsonPointer is often / (the root), it may point to a specific
location in the template when $import is called to initialize an imported template.
The JSON pointer indicating the location for initialization.
The generated ExecutionPlan for initialization.
Private getPrivate Produces a list of MetaInfos that have no dependees and therefore are places to begin following dependencies from.
Optional exprsOptional jsonGenerates a mutation plan for the specified JSON pointer and operation.
This method creates a plan responsible for performing mutations on the
template. Supported operations include initialize, set, delete,
and forceSetInternal.
The operation to perform. Supported values: "initialize", "set",
"delete", "forceSetInternal".
[ExecutionPlan, JsonPointerString[]] The generated ExecutionPlan for the mutation and an array telling which expressions must be transitively re-evaluated as a result of the mutation.
Op
Private logPrivate makeOptional exprsOptional jsonPrivate markPrivate prunePrivate prunePrivate removePrivate restorePrivate restorePrivate stepCreates a storable version of the execution plan that is a pure json object
Private validateGenerated using TypeDoc
Interface representing a Planner responsible for generating and executing initialization and mutation plans for templates in a TemplateProcessor.