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),
168 LiteralPos: mkpos(20, 3, 12),
172 LiteralPos: mkpos(28, 3, 20),
176 LiteralPos: mkpos(36, 3, 28),
180 LiteralPos: mkpos(49, 4, 5),
184 LiteralPos: mkpos(57, 4, 13),
224 LiteralPos: mkpos(25, 4, 5),
228 LiteralPos: mkpos(33, 4, 13),
[all …]
Dast.go375 LiteralPos scanner.Position member
379 func (x *String) Pos() scanner.Position { return x.LiteralPos }
380 func (x *String) End() scanner.Position { return endPos(x.LiteralPos, len(x.Value)+2) }
392 return fmt.Sprintf("%q@%s", x.Value, x.LiteralPos)
400 LiteralPos scanner.Position member
405 func (x *Int64) Pos() scanner.Position { return x.LiteralPos }
406 func (x *Int64) End() scanner.Position { return endPos(x.LiteralPos, len(x.Token)) }
418 return fmt.Sprintf("%q@%s", x.Value, x.LiteralPos)
426 LiteralPos scanner.Position member
431 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.go512 LiteralPos: p.scanner.Position,
548 LiteralPos: p.scanner.Position,
574 LiteralPos: literalPos,
Dsort.go227 values[i].(*String).LiteralPos = curPos