Home
last modified time | relevance | path

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

/aosp12/build/blueprint/parser/
H A Dparser_test.go73 LiteralPos: mkpos(18, 3, 10),
132 LiteralPos: mkpos(17, 3, 9),
564 LiteralPos: mkpos(9, 2, 9),
568 LiteralPos: mkpos(9, 2, 9),
582 LiteralPos: mkpos(9, 2, 9),
590 LiteralPos: mkpos(9, 2, 9),
605 LiteralPos: mkpos(9, 2, 9),
635 LiteralPos: mkpos(9, 2, 9),
716 LiteralPos: mkpos(9, 2, 9),
880 LiteralPos: mkpos(9, 2, 9),
[all …]
H A Dast.go335 LiteralPos scanner.Position member
339 func (x *String) Pos() scanner.Position { return x.LiteralPos }
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 }
392 func (x *Bool) End() scanner.Position { return endPos(x.LiteralPos, len(x.Token)) }
[all …]
H A 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)
H A Dparser.go473 LiteralPos: p.scanner.Position,
509 LiteralPos: p.scanner.Position,
535 LiteralPos: literalPos,
H A Dmodify.go37 LiteralPos: list.RBracePos,
H A Dsort.go227 values[i].(*String).LiteralPos = curPos