class

Tesh::Parser

Inherits Reference < Object

Constructors

new(lexer : Tesh::Lexer)
Source

Instance methods

cur_token
Source
cur_token_is?(token_type)
Source
errors
Source
expect_peek(token_type)
Source
infix_parse(expression)
Source
next_token
Source
parse_export_statement
Source
parse_expression(precedence)
Source
parse_expression_statement
Source
parse_identifier(ident)
Source
parse_program
Source
parse_return_statement
Source
parse_statement
Source
peek_error(token_type)
Source
peek_token
Source
peek_token_is?(token_type)
Source
prefix_parse
Source