interface LexerOptions {
    isIdentifierContinue: ((ch: string, codePoint: number) => boolean);
    isIdentifierStart: ((ch: string, codePoint: number) => boolean);
}

Properties

isIdentifierContinue: ((ch: string, codePoint: number) => boolean)

Custom function to determine if a character is a valid identifier continuation.

isIdentifierStart: ((ch: string, codePoint: number) => boolean)

Custom function to determine if a character is a valid identifier start.