Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfixParseFunc ¶
type InfixParseFunc func(expression ast.Expression) ast.Expression
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) ParseProgram ¶
type Precedence ¶
type Precedence int
const ( NONE Precedence EQUALITY // == COMPARISON // > or < TERM // + FACTOR // * UNARY // -x or !x CALL // myFunction(x) INDEX // array[index] )
type PrefixParseFunc ¶
type PrefixParseFunc func() ast.Expression
Click to show internal directories.
Click to hide internal directories.