Searched refs:LiteralPos (Results 1 – 6 of 6) sorted by relevance
/build/blueprint/parser/ |
D | parser_test.go | 73 LiteralPos: mkpos(18, 3, 10), 102 LiteralPos: mkpos(20, 3, 12), 132 LiteralPos: mkpos(17, 3, 9), 167 LiteralPos: mkpos(20, 3, 12), 171 LiteralPos: mkpos(28, 3, 20), 175 LiteralPos: mkpos(36, 3, 28), 179 LiteralPos: mkpos(49, 4, 5), 183 LiteralPos: mkpos(57, 4, 13), 226 LiteralPos: mkpos(33, 4, 13), 236 LiteralPos: mkpos(49, 5, 11), [all …]
|
D | ast.go | 332 LiteralPos scanner.Position member 336 func (x *String) Pos() scanner.Position { return x.LiteralPos } 337 func (x *String) End() scanner.Position { return endPos(x.LiteralPos, len(x.Value)+2) } 349 return fmt.Sprintf("%q@%s", x.Value, x.LiteralPos) 357 LiteralPos scanner.Position member 362 func (x *Int64) Pos() scanner.Position { return x.LiteralPos } 363 func (x *Int64) End() scanner.Position { return endPos(x.LiteralPos, len(x.Token)) } 375 return fmt.Sprintf("%q@%s", x.Value, x.LiteralPos) 383 LiteralPos scanner.Position member 388 func (x *Bool) Pos() scanner.Position { return x.LiteralPos } [all …]
|
D | printer.go | 125 p.printToken(s, v.LiteralPos) 127 p.printToken(strconv.FormatInt(v.Value, 10), v.LiteralPos) 129 p.printToken(strconv.Quote(v.Value), v.LiteralPos)
|
D | modify.go | 37 LiteralPos: list.RBracePos,
|
D | parser.go | 473 LiteralPos: p.scanner.Position, 507 LiteralPos: p.scanner.Position, 533 LiteralPos: literalPos,
|
D | sort.go | 124 values[i].(*String).LiteralPos = curPos
|