Lines Matching defs:parser
15 package parser package
60 type parser struct { struct
61 scanner scanner.Scanner
62 tok rune
63 errors []error
64 comments []Node
65 nodes []Node
66 lines []int
88 func (p *parser) Unpack(pos Pos) scanner.Position {
99 func (p *parser) pos() Pos {
107 func (p *parser) errorf(format string, args ...interface{}) {
118 func (p *parser) accept(toks ...rune) bool {
130 func (p *parser) next() {
142 func (p *parser) parseLines() {
202 func (p *parser) parseDirective() bool {
246 func (p *parser) parseDefine() (*MakeString, Pos) {
289 func (p *parser) parseEscape() {
295 func (p *parser) parseExpression(end ...rune) *MakeString {
371 func (p *parser) parseVariable() Variable {
393 func (p *parser) parseBracketedVariable(start, end rune, pos Pos) Variable {
400 func (p *parser) nameToVariable(name *MakeString) Variable {
406 func (p *parser) parseRule(target *MakeString) {
454 func (p *parser) parseRulePrerequisites(target *MakeString) (*MakeString, bool) {
491 func (p *parser) parseComment() {
519 func (p *parser) parseAssignment(t string, target *MakeString, ident *MakeString) {
643 func (p *parser) ignoreSpaces() int {
652 func (p *parser) ignoreWhitespace() {