Skip to content

Interface: InlineScopedRuleNode ​

Defined in: ast/inline-scoped-rule-node.ts:11

Inline ScopedRuleNode variant whose when predicate and directive are declared directly in code.

Evaluates when against active partitions and observed tool effects and enforces enforceBeforeStopChecks.

Extends ​

Properties ​

PropertyModifierTypeDescriptionOverridesDefined in
directivereadonlySourceValue<string>Rule directive text or SourceASTNode<string> injected when when matches.-ast/inline-scoped-rule-node.ts:21
enforceBeforeStopChecksreadonlyreadonly BuiltInCheckASTNode<unknown>[]Deterministic beforeStop checks enforced when this rule is active and scope mutations occur.-ast/inline-scoped-rule-node.ts:23
idreadonlystringUnique identifier of the scoped rule.-ast/inline-scoped-rule-node.ts:15
source?readonlyundefinedUndefined on inline scoped rules.-ast/inline-scoped-rule-node.ts:17
typereadonly"harness:scoped-rule"Discriminant identifying a scoped rule AST node.ASTNode.typeast/inline-scoped-rule-node.ts:13
whenreadonlyobjectScope predicate (partitions and optional reactive effects matcher) triggering rule injection.-ast/inline-scoped-rule-node.ts:19
when.effects?publicFsGlobMatcherNode--schemas/core-rules.schema.ts:9
when.partitionspublicstring[]--schemas/core-rules.schema.ts:8

Released under the MIT License.