Package-level declarations

Types

Link copied to clipboard
class RegexBuilder(baseRegex: String)

A builder for Regex patterns.

Link copied to clipboard
abstract class RegexLexer(val source: CharSequence, patterns: List<TokenRegexPattern>) : AbstractLexer

A Lexer that identifies tokens by matching Regex patterns.

Link copied to clipboard
class StandardRegexLexer(val source: CharSequence, patterns: List<TokenRegexPattern>, fillTokenType: (TokenData) -> Token? = null) : RegexLexer

A standard RegexLexer implementation that does not perform any manipulation on the final output and has an optional fixed fill token.