Whitespace

A Lexeme that matches a single kotlin.Char.isWhitespace character.

This lexeme produces generic discardable tokens. When the Lexer's discard mode is enabled, these tokens are automatically excluded from the Lexer's output Token stream.

Properties

Link copied to clipboard

A default Token factory that creates new instances of T for matches of this Lexeme, given the CharSequence which captures the Token (equal to Token.value).

Link copied to clipboard
open override val name: String?

An optional name for this Lexeme

Functions

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String