AnyChar

A Lexeme that matches 1 character, indiscriminately.

This Lexeme always succeeds if there is at least one character remaining in the input. It is useful as a fallback or catch-all pattern.

Properties

Link copied to clipboard
open override val defaultFactory: (CharSequence) -> Token.Generic

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
override fun match(): LexemeMatch<Token.Generic>?
Link copied to clipboard
open override fun toString(): String