Documentation ¶
Index ¶
Constants ¶
View Source
const ( LOWEST uint EQUALS // == LESSGREATER // > or < SUM // + PRODUCT // * PREFIX // !X or -X CALL // myFunction(X) INDEX // array[index] )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser is a recursive decent parser that analyzes the sequence of tokens to generate the AST
func (*Parser) ParseProgram ¶
ParseProgram recursively parses the tokens and returns the root node
Click to show internal directories.
Click to hide internal directories.