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
FsGlobSourceNodeFsTextSourceNodeMarkdownFrontmatterSourceNodeMarkdownSectionSourceNodePostgresRulesSourceNodeSqliteRulesSourceNodeFsGlobSourceNodeFsTextSourceNodeMarkdownFrontmatterSourceNodeMarkdownSectionSourceNodePostgresRulesSourceNodeSqliteRulesSourceNode
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TType extends string | string | String-literal discriminant of the source node. |
T | unknown | Resolved payload type produced by the source executor. |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
__dataType? | readonly | BivariantCallback<[data: T], void> | Phantom type brand preserving the resolved content type T. | ast/base/base-source-ast-node.ts:18 |
id | readonly | string | Logical identifier of the source descriptor. | ast/base/base-source-ast-node.ts:16 |
type | readonly | TType | Unique string-literal discriminant of the source node. | ast/base/base-source-ast-node.ts:14 |