class

Bench::Lexer

Inherits Reference < Object

Constructors

new(input : String)
Source

Instance methods

is_eof(char : Char)
Source
is_identifier(char : Char)
Source
is_keyword(str : String)
Source
is_number(char : Char)
Source
is_operator(char : Char)
Source
is_punc(char : Char)
Source
is_whitespace(char : Char)
Source
lookahead
Source
next_token
Source
peek
Source
read_identifier
Source
read_number
Source
read_operator
Source
read_string
Source
tokens
Source