Basic::C64::Scanner
Inherits Reference < Object
Constructors
new(source : String, line : Int32)
SourceInstance methods
add_token(type : TokenType, literal : Int32 | Float64 | String | Nil = nil)
Sourceadvance
Sourceidentifier
Sourceis_alpha(c : Char)
Sourceis_alpha_numeric(c : Char)
Sourceis_at_end
Sourcematch(expected : Char)
Sourcenumber
Sourcepeek
Sourcepeek_next
Sourcescan_token
Sourcescan_tokens
Sourcestring
Sourcetokens
Sourcetokens=(tokens : Array(Token))
Source