(regExp: globalThis.RegExp, annotations?: Schema.Annotations.Filter)
| 3041 | this.context |
| 3042 | ) |
| 3043 | } |
| 3044 | /** @internal */ |
| 3045 | getExpected(getExpected: (ast: AST) => string): string { |
| 3046 | return getExpected(this.thunk()) |
| 3047 | } |
| 3048 | } |
| 3049 | |
| 3050 | // ----------------------------------------------------------------------------- |
| 3051 | // Checks |
| 3052 | // ----------------------------------------------------------------------------- |
| 3053 | |
| 3054 | /** |
| 3055 | * Represents a single validation check attached to an AST node. |
| 3056 | * |
| 3057 | * **Details** |
| 3058 | * |
| 3059 | * - `run` — the validation function. Returns `undefined` on success, or an |
| 3060 | * `Issue` on failure. |
| 3061 | * - `annotations` — optional filter-level annotations (expected message, |
| 3062 | * representation, arbitrary constraint hints). |
| 3063 | * - `aborted` — when `true`, parsing stops immediately after this filter |
| 3064 | * fails (no further checks run). |
no test coverage detected
searching dependent graphs…