Make a Matcher that always succeeds with null value, and performs an action / side effect without consuming input.
null
Use emit or make if you want to produce a result.
Use peek if you want to wrap another parser.
A function to produce a side effect (logging, etc).
Data object (tokens and options).
Parser position in the tokens array.
Make a Matcher that always succeeds with
null
value, and performs an action / side effect without consuming input.Use emit or make if you want to produce a result.
Use peek if you want to wrap another parser.