-
I have a parser that extends the cst parser with embedded grammar rules. I am trying to extract the grammar as json object but it is giving me an empty object what am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Answered by
nomuna
Jun 9, 2021
Replies: 1 comment 2 replies
-
Yeah I found my issue. Somebody extracted the grammar in a method outside of the constructor and was calling it later in a code. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
nomuna
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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...