Skip to content

Interface: BaseSourceASTNode<TType, T> ​

Defined in: ast/base/base-source-ast-node.ts:12

Domain-agnostic base AST node contract for external content and rule/skill sources (SourceASTNode).

Resolved lazily at run or session start via RuntimeExecutorRegistry.sources[node.type] into { content, digest }.

Extended by ​

Type Parameters ​

Type ParameterDefault typeDescription
TType extends stringstringString-literal discriminant of the source node.
TunknownResolved payload type produced by the source executor.

Properties ​

PropertyModifierTypeDescriptionDefined in
__dataType?readonlyBivariantCallback<[data: T], void>Phantom type brand preserving the resolved content type T.ast/base/base-source-ast-node.ts:18
idreadonlystringLogical identifier of the source descriptor.ast/base/base-source-ast-node.ts:16
typereadonlyTTypeUnique string-literal discriminant of the source node.ast/base/base-source-ast-node.ts:14

Released under the MIT License.