class

Lexer

Inherits Reference < Object

Constants

DIGITS = ('0'..'9').to_a
END = {'\n', ';'}
OPERATORS = {'+', '-', '*', '/'}
PATHENS = {'(', ')'}
SKIP = {' '}

Constructors

new(source_code : String)
Source

Instance methods

clear
Source
consume
Source
errors
Source