Lines Matching refs:Position
24 // Pos returns the position of the first token in the Expression
25 Pos() scanner.Position
26 // End returns the position of the beginning of the last token in the Expression
27 End() scanner.Position
41 NamePos scanner.Position
44 EqualsPos scanner.Position
53 func (a *Assignment) Pos() scanner.Position { return a.NamePos }
54 func (a *Assignment) End() scanner.Position { return a.Value.End() }
61 TypePos scanner.Position
86 func (m *Module) Pos() scanner.Position { return m.TypePos }
87 func (m *Module) End() scanner.Position { return m.Map.End() }
92 NamePos scanner.Position
93 ColonPos scanner.Position
107 func (p *Property) Pos() scanner.Position { return p.NamePos }
108 func (p *Property) End() scanner.Position { return p.Value.End() }
186 OperatorPos scanner.Position
205 func (x *Operator) Pos() scanner.Position { return x.Args[0].Pos() }
206 func (x *Operator) End() scanner.Position { return x.Args[1].End() }
215 NamePos scanner.Position
219 func (x *Variable) Pos() scanner.Position { return x.NamePos }
220 func (x *Variable) End() scanner.Position { return x.NamePos }
238 LBracePos scanner.Position
239 RBracePos scanner.Position
243 func (x *Map) Pos() scanner.Position { return x.LBracePos }
244 func (x *Map) End() scanner.Position { return x.RBracePos }
296 LBracePos scanner.Position
297 RBracePos scanner.Position
301 func (x *List) Pos() scanner.Position { return x.LBracePos }
302 func (x *List) End() scanner.Position { return x.RBracePos }
329 LiteralPos scanner.Position
333 func (x *String) Pos() scanner.Position { return x.LiteralPos }
334 func (x *String) End() scanner.Position { return x.LiteralPos }
354 LiteralPos scanner.Position
358 func (x *Bool) Pos() scanner.Position { return x.LiteralPos }
359 func (x *Bool) End() scanner.Position { return x.LiteralPos }
382 func (x *CommentGroup) Pos() scanner.Position { return x.Comments[0].Pos() }
383 func (x *CommentGroup) End() scanner.Position { return x.Comments[len(x.Comments)-1].End() }
387 Slash scanner.Position
390 func (c Comment) Pos() scanner.Position {
394 func (c Comment) End() scanner.Position {