Documentation
¶
Index ¶
Constants ¶
View Source
const ( LOWEST_PRECEDENCE = 0 LOWEST = 1 WALRUS_EXPR = 2 // := binds looser than everything except another := CONDITIONAL = 3 // for conditional expressions (x if cond else y) OR = 4 BIT_OR = 5 BIT_XOR = 6 BIT_AND = 7 AND = 8 EQUALS = 9 LESSGREATER = 10 BIT_SHIFT = 11 SUM = 12 PRODUCT = 13 POWER = 14 PREFIX = 15 CALL = 16 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) ParseProgram ¶
Click to show internal directories.
Click to hide internal directories.