• Scans the input string, s, leaving the expression on the stack. Returns zero when there is nothing left to scan.

    Parameters

    • sourceText: string

      The input string.

    • offset: number

      The number which must be added to all (pos,end) pairs to make positions.

    • options: Readonly<ScanOptions>

    Returns [scanned: number, tree: U]

    The number of characters scanned.