class Lexer::Lexer

Defined in:

lexer/lexer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(input : String) #

[View source]

Instance Method Detail

def input : String #

[View source]
def new_multi_token(token : Token::Token) #

[View source]
def new_token(token : Token::Token, literal : String | Char) #

[View source]
def new_token(token : Token::Token) #

[View source]
def next_token : Token::Token #

[View source]
def peek_char #

[View source]
def read_char #

[View source]
def read_identifier #

[View source]
def read_number #

[View source]
def read_string #

[View source]
def skip_whitespace #

[View source]