Interface: CreateScopedRuleBuilderState
Defined in: builders/create-scoped-rule-builder-state.ts:11
Optional copy-on-write state for createScopedRuleBuilder.
Holds the optional external rule source, normalized ScopePredicate, directive source, and attached beforeStop check AST nodes.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
directive? | readonly | SourceValue<string> | Configured directive string or source. | builders/create-scoped-rule-builder-state.ts:17 |
enforceBeforeStopChecks? | readonly | readonly BuiltInCheckASTNode<unknown>[] | Attached beforeStop check AST nodes. | builders/create-scoped-rule-builder-state.ts:19 |
source? | readonly | SourceASTNode<{ checks: BuiltInCheckASTNode<unknown>[]; directive: string; id: string; when: { effects?: FsGlobMatcherNode; partitions: string[]; }; }> | External source AST node when wrapping a frontmatter-loaded rule. | builders/create-scoped-rule-builder-state.ts:13 |
when? | readonly | object | Configured scope predicate. | builders/create-scoped-rule-builder-state.ts:15 |
when.effects? | public | FsGlobMatcherNode | - | schemas/core-rules.schema.ts:9 |
when.partitions | public | string[] | - | schemas/core-rules.schema.ts:8 |