Documentation ¶ Index ¶ Constants type Parser func New(lexer *lexer.Lexer) *Parser func (p *Parser) Errors() []error func (p *Parser) ParseProgram() *ast.Program Constants ¶ View Source const ( LOWEST int TERNARY // a ? b : c EQ // == LESS_GREATER // > 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 } func New ¶ func New(lexer *lexer.Lexer) *Parser func (*Parser) Errors ¶ func (p *Parser) Errors() []error func (*Parser) ParseProgram ¶ func (p *Parser) ParseProgram() *ast.Program Source Files ¶ View all Source files parser.go Click to show internal directories. Click to hide internal directories.