Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser stores the state for the ivy parser.
func NewParser ¶
func NewParser(conf *config.Config, fileName string, scanner *scan.Scanner, context value.Context) *Parser
NewParser returns a new parser that will read from the scanner. The context must have have been created by this package's NewContext function.
func (*Parser) FlushToNewline ¶
func (p *Parser) FlushToNewline()
FlushToNewline any remaining characters on the current input line.
Click to show internal directories.
Click to hide internal directories.