Make a Matcher that always succeeds and makes a value with provided function without consuming input.
Use emit if you want to emit the same value every time.
Use action if you only need a side effect.
Use token if you want to make a value based on an input token.
A function to get the value.
Data object (tokens and options).
Parser position in the tokens array.
Make a Matcher that always succeeds and makes a value with provided function without consuming input.
Use emit if you want to emit the same value every time.
Use action if you only need a side effect.
Use token if you want to make a value based on an input token.