@configuredthings/rdp.js - v0.8.0
    Preparing search index...

    Function generateParserFromAST

    • 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.

      Parameters

      Returns string

      A TypeScript source string ready to write to a .ts file.

      If the grammar is left-recursive.