TokenTree library used by haxe-checkstyle, haxe-formatter and haxe-languageserver is an alternative to AST.