class Tesh::Parser

Defined in:

tesh/parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(lexer : Tesh::Lexer) #

[View source]

Instance Method Detail

def cur_token : Tesh::Token #

[View source]
def cur_token_is?(token_type) #

[View source]
def errors : Array(String) #

[View source]
def expect_peek(token_type) #

[View source]
def infix_parse(expression) #

[View source]
def next_token #

[View source]
def parse_export_statement #

[View source]
def parse_expression(precedence) #

[View source]
def parse_expression_statement #

[View source]
def parse_identifier(ident) #

[View source]
def parse_program #

[View source]
def parse_return_statement #

[View source]
def parse_statement #

[View source]
def peek_error(token_type) #

[View source]
def peek_token : Tesh::Token #

[View source]
def peek_token_is?(token_type) #

[View source]
def prefix_parse #

[View source]