irony: how come some things generate AST and some dont
-
28-05-2021 - |
Domanda
SQL sample just generates token tree
But most samples on how to use irony all go 'parse' then 'traverse generated ast'
Soluzione
The AST is only generated if the LanguageFlags.CreateAst
flag is set on the grammar.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow