Documentation ¶
Index ¶
Constants ¶
View Source
const ( LOWEST int LOGIC EQUALS LESSGREATER SUM PRODUCT PREFIX INDEX CALL )
Constants for denoting precedence
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser represents lexical analyzer struct
func (*Parser) CheckErrors ¶
func (p *Parser) CheckErrors()
CheckErrors is checking for parser's errors existence
func (*Parser) ParseProgram ¶
ParseProgram update program statements and return program
Click to show internal directories.
Click to hide internal directories.