class FayrantLang::Lexer

Defined in:

parser/lexer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(text : String) #

[View source]

Instance Method Detail

def match_str(regex : Regex, token_type : TokenType) #

[View source]
def scan_tokens : Array(Token) #

[View source]
def scan_tokens_default #

[View source]
def scan_tokens_inside_brace #

[View source]
def scan_tokens_inside_string #

[View source]
def test_single_token(str : String) : TokenType | Nil #

[View source]