import { Scanner } from "https://deno.land/x/arktype@v1.0.10-alpha/parse/string/shift/scanner.ts";
import { Scanner } from "https://deno.land/x/arktype@v1.0.10-alpha/parse/string/shift/scanner.ts";
Methods
lookaheadIs<Char extends Lookahead>(char: Char): this is Scanner<Char>
lookaheadIsIn<Tokens extends Dict>(tokens: Tokens): this is Scanner<Extract<keyof Tokens, string>>
shift()
Get lookahead and advance scanner by one
shiftUntil(condition: Scanner.UntilCondition): string