class Bench::Lexer
- Bench::Lexer
- Reference
- Object
Defined in:
bench/lexer.crConstructors
Instance Method Summary
- #is_eof(char : Char)
- #is_identifier(char : Char)
- #is_keyword(str : String)
- #is_number(char : Char)
- #is_operator(char : Char)
- #is_punc(char : Char)
- #is_whitespace(char : Char)
- #lex
- #lookahead
- #next_token
- #peek
- #read_identifier
- #read_number
- #read_operator
- #read_string
- #tokens : Array(Bench::Token)