Emit a TypeScript parser class from an already-parsed GrammarAST.
This is the second half of generateParser, for callers that obtain the AST
some other way — for example by parsing the grammar with a parser that rdp-gen itself
generated. options.format and options.caseSensitiveStrings only affect how source
text is parsed, so they are ignored here.
Emit a TypeScript parser class from an already-parsed GrammarAST.
This is the second half of generateParser, for callers that obtain the AST some other way — for example by parsing the grammar with a parser that rdp-gen itself generated.
options.formatandoptions.caseSensitiveStringsonly affect how source text is parsed, so they are ignored here.