Searched refs:endPos (Results 1 – 4 of 4) sorted by relevance
/build/blueprint/parser/ |
D | ast.go | 226 func (x *Variable) End() scanner.Position { return endPos(x.NamePos, len(x.Name)) } 250 func (x *Map) End() scanner.Position { return endPos(x.RBracePos, 1) } 308 func (x *List) End() scanner.Position { return endPos(x.RBracePos, 1) } 340 func (x *String) End() scanner.Position { return endPos(x.LiteralPos, len(x.Value)+2) } 366 func (x *Int64) End() scanner.Position { return endPos(x.LiteralPos, len(x.Token)) } 392 func (x *Bool) End() scanner.Position { return endPos(x.LiteralPos, len(x.Token)) } 505 func endPos(pos scanner.Position, n int) scanner.Position { func
|
D | printer.go | 139 func (p *printer) printList(list []Expression, pos, endPos scanner.Position) { 142 if len(list) > 1 || pos.Line != endPos.Line { 150 p.unindent(endPos) 156 p.printToken("]", endPos)
|
D | parser_test.go | 1271 endPos := mkpos(endOffset, endLine, endColumn) 1272 if cur.End() != endPos { 1273 …t.Errorf("expected property %s End() %s@%d, got %s@%d", cur.Name, endPos, endPos.Offset, cur.End()…
|
/build/soong/androidmk/parser/ |
D | parser.go | 210 endPos := NoPos 231 expression, endPos = p.parseDefine() 241 EndPos: endPos,
|