@r47onfire/nebula - v0.0.0
    Preparing search index...

    Function parseToCST

    • Parse text into a CST. The CST may contain error nodes if there were syntax errors.

      Type Parameters

      • R extends string

      Parameters

      • text: string
      • filename: Readonly<URL>
      • startIndex: number
      • startRule: R
      • grammar: Grammar<R>
      • recoverNodeType: R
      • errorType: R = ...
      • memo: Memo<R> = {}

      Returns CSTNode<R>