(
states: State<THandler>[],
id: number,
char: number,
negate: boolean,
repeat: boolean
)
| 301 | types: [number, number, number] | undefined; |
| 302 | |
| 303 | constructor( |
| 304 | states: State<THandler>[], |
| 305 | id: number, |
| 306 | char: number, |
| 307 | negate: boolean, |
| 308 | repeat: boolean |
| 309 | ) { |
| 310 | this.states = states; |
| 311 | this.id = id; |
| 312 | this.char = char; |
| 313 | this.negate = negate; |
| 314 | this.nextStates = repeat ? id : null; |
| 315 | this.pattern = ""; |
| 316 | this._regex = undefined; |
| 317 | this.handlers = undefined; |
| 318 | this.types = undefined; |
| 319 | } |
| 320 | |
| 321 | regex(): RegExp { |
| 322 | if (!this._regex) { |
nothing calls this directly
no outgoing calls
no test coverage detected