Lines Matching refs:pos
124 pos := p.scanner.Position
125 if !pos.IsValid() {
126 pos = p.scanner.Pos()
130 Pos: pos,
179 pos := p.scanner.Position
186 defs = append(defs, p.parseAssignment(ident, pos, "+="))
188 defs = append(defs, p.parseAssignment(ident, pos, "="))
190 defs = append(defs, p.parseModule(ident, pos))
210 pos := p.scanner.Position
220 assignment.EqualsPos = pos
302 pos := p.scanner.Position
325 property.ColonPos = pos
344 pos scanner.Position) (*Operator, error) {
370 v.Properties, err = p.addMaps(v.Properties, e2.(*Map).Properties, pos)
385 OperatorPos: pos,
390 func (p *parser) addMaps(map1, map2 []*Property, pos scanner.Position) ([]*Property, error) {
412 newProp.Value, err = p.evaluateOperator(prop1.Value, prop2.Value, '+', pos)
433 pos := p.scanner.Position
438 value, err := p.evaluateOperator(value1, value2, operator, pos)