Skip to content

How to access parse_state from dsl::scan or lexy::rule_scanner? #150

Answered by foonathan
Korsar13 asked this question in Q&A
Discussion options

You must be logged in to vote

You don't want to access the context directly, it is an implementation detail. Actual parse state can be accessed in a second parameter. an example is here: https://github.com/foonathan/clauf/blob/25b91226c1e8193c4498149cbedf69c2068458da/src/compiler.cpp#L1458

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Korsar13
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