• Each line of a multiline source text creates a tree in the array of trees.

    Parameters

    • sourceText: string

      The source text. May contain embedded newline characters.

    • options: EmParseOptions = {}

      Determine how the parsing behaves.

    Returns {
        errors: Error[];
        trees: U[];
    }

    • errors: Error[]
    • trees: U[]