hyperlark (TypeScript)
    Preparing search index...

    Class Lark

    A compiled grammar ready to parse. Reusable across parses. The PUBLIC surface; the generated _parse* methods are internal plumbing and are not part of this contract.

    Indexable

    • [key: number]: () => void
    Index
    • Seat an interactive parser over text (lark parse_interactive): manual token-level control of the parse. Omit text to feed every token yourself via feedToken. LALR + built-in lexer only (Earley or a custom lexer throws).

      Parameters

      • Optionaltext: string | null
      • Optionalstart: string | null

      Returns InteractiveParser