Home
last modified time | relevance | path

Searched refs:LiteralPos (Results 1 – 6 of 6) sorted by relevance

/build/blueprint/parser/
Dparser_test.go73 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 …]
Dast.go335 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 …]
Dprinter.go125 p.printToken(s, v.LiteralPos)
127 p.printToken(strconv.FormatInt(v.Value, 10), v.LiteralPos)
129 p.printToken(strconv.Quote(v.Value), v.LiteralPos)
Dmodify.go37 LiteralPos: list.RBracePos,
Dparser.go473 LiteralPos: p.scanner.Position,
509 LiteralPos: p.scanner.Position,
535 LiteralPos: literalPos,
Dsort.go130 values[i].(*String).LiteralPos = curPos