Search code examples
abstract-syntax-treeirony

irony: how come some things generate AST and some dont


SQL sample just generates token tree

But most samples on how to use irony all go 'parse' then 'traverse generated ast'


Solution

  • The AST is only generated if the LanguageFlags.CreateAst flag is set on the grammar.