(
run: (input: E, self: AST, options: ParseOptions) => SchemaIssue.Issue | undefined,
annotations: Schema.Annotations.Filter | undefined = undefined,
/**
* Whether the parsing process should be aborted after this check has failed.
*/
aborted: boolean = false
)
| 3135 | readonly aborted: boolean |
| 3136 | |
| 3137 | constructor( |
| 3138 | run: (input: E, self: AST, options: ParseOptions) => SchemaIssue.Issue | undefined, |
| 3139 | annotations: Schema.Annotations.Filter | undefined = undefined, |
| 3140 | /** |
| 3141 | * Whether the parsing process should be aborted after this check has failed. |
| 3142 | */ |
| 3143 | aborted: boolean = false |
| 3144 | ) { |
| 3145 | super() |
| 3146 | this.run = run |
| 3147 | this.annotations = annotations |
| 3148 | this.aborted = aborted |
| 3149 | } |
| 3150 | annotate(annotations: Schema.Annotations.Filter): Filter<E> { |
| 3151 | return new Filter(this.run, { ...this.annotations, ...annotations }, this.aborted) |
| 3152 | } |
nothing calls this directly
no outgoing calls
no test coverage detected