Function parse

  • Parse parses the provided text and returns its processed AST in the form of ExprGroup slice(s).

    Comments and whitespaces are ignored.

    Parameters

    • text: string

      The text to parse

    Returns ExprGroup[]