class

FayrantLang::Lexer

Inherits Reference / Object

Constructors

new(text : String)
Source

Instance methods

match_str(regex : Regex, token_type : TokenType)
Source
scan_tokens
Source
scan_tokens_default
Source
scan_tokens_inside_brace
Source
scan_tokens_inside_string
Source
test_single_token(str : String) : TokenType | Nil
Source

Nested types