TokenKind

interface TokenKind(source)

Represents a kind of token.

Inheritors

Properties

Link copied to clipboard
abstract val representation: Set<Char>

The characters that represent this token kind.

Functions

Link copied to clipboard
open operator fun contains(other: Char): Boolean

Checks if a character is part of this token kind's representation.