Documentation
¶
Index ¶
Constants ¶
View Source
const ( // LOWEST - The lowest precedence an expression can take LOWEST int // EQUALS - == EQUALS // COMPARE - < or > COMPARE // SUM - a + b SUM // PRODUCT - a * b PRODUCT // BITWISE - <<, >>, &, |, ^ BITWISE // LOGIC - &&, || LOGIC // PREFIX - -x or !x PREFIX // DOT - a dot expression DOT // CALL - a function call CALL // INDEX - an array or map index INDEX )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser - represents the parser for Monkey
func (*Parser) CheckErrors ¶
CheckErrors returns all the errors found while parsing
Click to show internal directories.
Click to hide internal directories.