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

    Function generateScaffoldFiles

    • Generate all scaffold artifacts for a grammar, returning a map of filename → TypeScript source. Use this when writing to a directory (--outdir); each entry is written as a sibling file.

      Span-lexer parser ({ParserName}.ts), transformer, pipeline, and facade artifacts are all included when the corresponding flags are set.

      Parameters

      • source: string

        EBNF or ABNF grammar source text.

      • flags: ScaffoldFlags

        Which scaffold dimensions to include.

      • options: GeneratorOptions = {}

        Generator configuration (same as generateParser).

      Returns Record<string, string>

      A Record<filename, content> with one entry per output file.