Skip to content

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

Answered by msujew
1NF053C asked this question in Q&A
Discussion options

You must be logged in to vote

@1NF053C As far as I know, groups aren't supposed to be consumed by the parser at all, as they aren't part of the normal token stream that gets returned by the Lexer class. They are intended for tokens that live outside of the parser, such as whitespace tokens or comments.

Are you perhaps confusing groups with token categories?

Replies: 1 comment 1 reply

Comment options

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

Answer selected by bd82
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
Converted from issue

This discussion was converted from issue #1937 on May 10, 2023 12:02.