Lines Matching defs:parser
15 package parser package
49 func parse(p *parser) (file *File, errs []error) {
130 type parser struct { struct
131 scanner scanner.Scanner
132 tok rune
133 errors []error
134 comments []*CommentGroup
148 func (p *parser) error(err error) {
163 func (p *parser) errorf(format string, args ...interface{}) {
167 func (p *parser) accept(toks ...rune) bool {
179 func (p *parser) next() {
198 func (p *parser) parseDefinitions() (defs []Definition) {
229 func (p *parser) parseAssignment(name string, namePos scanner.Position,
257 func (p *parser) parseModule(typ string, typPos scanner.Position) *Module {
287 func (p *parser) parsePropertyList(isModule, compat bool) (properties []*Property) {
302 func (p *parser) parseProperty(isModule, compat bool) (property *Property) {
336 func (p *parser) parseExpression() (value Expression) {
349 func (p *parser) parseOperator(value1 Expression) Expression {
363 func (p *parser) parseValue() (value Expression) {
389 func (p *parser) parseBoolean() Expression {
405 func (p *parser) parseVariable() Expression {
418 func (p *parser) parseSelect() Expression {
704 func (p *parser) parseStringValue() *String {
719 func (p *parser) parseIntValue() *Int64 {
746 func (p *parser) parseListValue() *List {
775 func (p *parser) parseMapValue() *Map {