Skip to content

How to extract grammar from cst parser with embedded rules #1535

Answered by nomuna
nomuna asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah I found my issue. Somebody extracted the grammar in a method outside of the constructor and was calling it later in a code.
Reason being apparently that the parser has to be a singleton...

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bd82
Comment options

bd82 Jun 9, 2021
Maintainer

@nomuna
Comment options

Answer selected by nomuna
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