class

Basic::C64::Scanner

Inherits Reference < Object

Constructors

new(source : String, line : Int32)
Source

Instance methods

add_token(type : TokenType, literal : Int32 | Float64 | String | Nil = nil)
Source
advance
Source
identifier
Source
is_alpha(c : Char)
Source
is_alpha_numeric(c : Char)
Source
is_at_end
Source
match(expected : Char)
Source
number
Source
peek
Source
peek_next
Source
scan_token
Source
scan_tokens
Source
string
Source
tokens
Source
tokens=(tokens : Array(Token))
Source