Skip to content
Discussion options

You must be logged in to vote

Yep! You can use .labelled(...) to replace the name of a parser pattern. For example, just(Token::And).labelled("operator") should do the job.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jimmycuadra
Comment options

Answer selected by jimmycuadra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants