Home
last modified time | relevance | path

Searched refs:nextPos (Results 1 – 2 of 2) sorted by relevance

/build/blueprint/parser/
Dsort.go50 nextPos := list.End()
52 nextPos = list.Values[j].Pos()
54 sortSubList(list.Values[i:j], nextPos, file)
96 func sortSubList(values []Expression, nextPos scanner.Position, file *File) {
106 n := nextPos
132 if c.Pos().Offset > e.pos.Offset && c.Pos().Offset < e.nextPos.Offset {
138 curPos.Offset += e.nextPos.Offset - e.pos.Offset
166 nextPos scanner.Position member
Dparser_test.go1261 nextPos := make([]scanner.Position, len(mod.Properties))
1263 nextPos[i] = mod.Properties[i+1].Pos()
1265 nextPos[len(mod.Properties)-1] = mod.RBracePos
1268 endOffset := nextPos[i].Offset - len(",\n")
1269 endLine := nextPos[i].Line - 1