class Parser

Defined in:

calc.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(tokens : Array(Token)) #

[View source]

Instance Method Detail

def actual_token #

[View source]
def bracket #

[View source]
def calculus : AST #

[View source]
def eat(type : String) #

[View source]
def factor : AST #

[View source]
def number : AST #

[View source]
def parse : AST #

[View source]
def term : AST #

[View source]