class

Omicron::Scanner

Inherits Reference < Object

Constructors

new(source : String)
Source

Instance methods

add_token(type, literal = nil)
Source
advance
Source
alpha?(c)
Source
alpha_numeric?(c)
Source
at_end?
Source
digit?(c)
Source
identifier
Source
match(expected)
Source
number
Source
peek
Source
peek_next
Source
scan_token
Source
scan_tokens
Source
string
Source