Chevrotain / chevrotain

Parser Building Toolkit for JavaScript
https://chevrotain.io
Apache License 2.0
2.44k stars 200 forks source link

Documentation request: How to consume Token that uses groups? #1937

Closed 1NF053C closed 1 year ago

1NF053C commented 1 year ago

The lexer supports groups, as shown in this example here: https://github.com/Chevrotain/chevrotain/blob/master/examples/lexer/token_groups/token_group_spec.js#L24

Are there docs that demonstrate usage of $.CONSUME(MyTokenWithGroups) in the Parser grammar?