Interface: SourcedScopedRuleNode
Defined in: ast/sourced-scoped-rule-node.ts:11
Source-backed ScopedRuleNode variant loaded from a SourceASTNode<ScopedRule> (such as md.frontmatter).
Resolves rule frontmatter and body at run start while allowing code-level when or directive overrides.
Extends
Properties
| Property | Modifier | Type | Description | Overrides | Defined in |
|---|---|---|---|---|---|
directive? | readonly | SourceValue<string> | Optional code-level directive overriding the source's directive body. | - | ast/sourced-scoped-rule-node.ts:21 |
enforceBeforeStopChecks | readonly | readonly BuiltInCheckASTNode<unknown>[] | Deterministic beforeStop checks enforced when this rule is active and scope mutations occur. | - | ast/sourced-scoped-rule-node.ts:23 |
id | readonly | string | Unique identifier of the scoped rule. | - | ast/sourced-scoped-rule-node.ts:15 |
source | readonly | SourceASTNode<{ checks: BuiltInCheckASTNode<unknown>[]; directive: string; id: string; when: { effects?: FsGlobMatcherNode; partitions: string[]; }; }> | External source AST node resolving to a ScopedRule object. | - | ast/sourced-scoped-rule-node.ts:17 |
type | readonly | "harness:scoped-rule" | Discriminant identifying a scoped rule AST node. | ASTNode.type | ast/sourced-scoped-rule-node.ts:13 |
when? | readonly | object | Optional code-level when predicate overriding or augmenting the source's frontmatter predicate. | - | ast/sourced-scoped-rule-node.ts:19 |
when.effects? | public | FsGlobMatcherNode | - | - | schemas/core-rules.schema.ts:9 |
when.partitions | public | string[] | - | - | schemas/core-rules.schema.ts:8 |