Documentation
¶
Overview ¶
Package parser TODO
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser holds a Lexer, errors, the currentToken, and the peek peekToken (next token). Parser methods handle iterating through tokens and building and AST.
func New ¶
New takes a Lexer, creates a Parser with that Lexer, sets the current and peek tokens, and returns the Parser.
Click to show internal directories.
Click to hide internal directories.