Accessors
acceptable_token
- get acceptable_token(): Token
acceptable_tokens
- get acceptable_tokens(): Token[]
automaton_status
- get automaton_status(): checkpoint_state
incoming_symbol
- get incoming_symbol(): string
incoming_symbol_category
- get incoming_symbol_category(): symbol_category
incoming_symbol_type
- get incoming_symbol_type(): string
Methods
continue
- continue<T>(opts?: { onAccept?: (val: SemanticMap[D]) => T; onFail?: (lastGood: Checkpoint<D>, errorAt: Checkpoint<D>) => T }): void | T
-
Type parameters
Parameters
-
opts: { onAccept?: (val: SemanticMap[D]) => T; onFail?: (lastGood: Checkpoint<D>, errorAt: Checkpoint<D>) => T } = ...
-
Optional onAccept?: (val: SemanticMap[D]) => T
-
Optional onFail?: (lastGood: Checkpoint<D>, errorAt: Checkpoint<D>) => T
Returns void | T