Skip to content

Interface: FsGlobSourceNode ​

Defined in: ast/domain/fs-glob-source-node.ts:9

Passive AST node loading multiple UTF-8 text files matching a glob pattern (fs.glob).

Resolves all matching files in deterministic lexicographical path order and returns their relative paths and UTF-8 contents.

Extends ​

  • BaseSourceASTNode<"fs:glob-source", ReadonlyArray<{ content: string; path: string; }>>

Properties ​

PropertyModifierTypeDescriptionInherited fromDefined in
__dataType?readonlyBivariantCallback<[data: readonly object[]], void>Phantom type brand preserving the resolved content type T.BaseSourceASTNode.__dataTypeast/base/base-source-ast-node.ts:18
idreadonlystringLogical identifier of the source descriptor.BaseSourceASTNode.idast/base/base-source-ast-node.ts:16
patternreadonlystringGlob pattern matched against the repository root.-ast/domain/fs-glob-source-node.ts:15
typereadonly"fs:glob-source"Unique string-literal discriminant of the source node.BaseSourceASTNode.typeast/base/base-source-ast-node.ts:14

Released under the MIT License.