Lines Matching refs:parser
15 package parser package
62 func parse(p *parser) (file *File, errs []error) { argument
101 type parser struct { struct
110 func newParser(r io.Reader, scope *Scope) *parser {
111 p := &parser{}
123 func (p *parser) error(err error) { argument
138 func (p *parser) errorf(format string, args ...interface{}) { argument
142 func (p *parser) accept(toks ...rune) bool { argument
154 func (p *parser) next() { argument
174 func (p *parser) parseDefinitions() (defs []Definition) { argument
205 func (p *parser) parseAssignment(name string, namePos scanner.Position, argument
250 func (p *parser) parseModule(typ string, typPos scanner.Position) *Module { argument
280 func (p *parser) parsePropertyList(isModule, compat bool) (properties []*Property) { argument
296 func (p *parser) parseProperty(isModule, compat bool) (property *Property) { argument
330 func (p *parser) parseExpression() (value Expression) { argument
343 func (p *parser) evaluateOperator(value1, value2 Expression, operator rune, argument
390 func (p *parser) addMaps(map1, map2 []*Property, pos scanner.Position) ([]*Property, error) { argument
431 func (p *parser) parseOperator(value1 Expression) *Operator { argument
448 func (p *parser) parseValue() (value Expression) { argument
467 func (p *parser) parseVariable() Expression { argument
501 func (p *parser) parseStringValue() *String { argument
516 func (p *parser) parseIntValue() *Int64 { argument
543 func (p *parser) parseListValue() *List { argument
572 func (p *parser) parseMapValue() *Map { argument