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), 236 LiteralPos: mkpos(44, 5, 11), 246 LiteralPos: mkpos(61, 6, 12), [all …]
|
D | ast.go | 335 LiteralPos scanner.Position member 339 func (x *String) Pos() scanner.Position { return x.LiteralPos } 340 func (x *String) End() scanner.Position { return endPos(x.LiteralPos, len(x.Value)+2) } 352 return fmt.Sprintf("%q@%s", x.Value, x.LiteralPos) 360 LiteralPos scanner.Position member 365 func (x *Int64) Pos() scanner.Position { return x.LiteralPos } 366 func (x *Int64) End() scanner.Position { return endPos(x.LiteralPos, len(x.Token)) } 378 return fmt.Sprintf("%q@%s", x.Value, x.LiteralPos) 386 LiteralPos scanner.Position member 391 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, 509 LiteralPos: p.scanner.Position, 535 LiteralPos: literalPos,
|
D | sort.go | 130 values[i].(*String).LiteralPos = curPos
|