• Identify the type of a lexer token. May return null for unknown tokens.

    Parameters

    • source: string

    Returns TokenType | null