• Home
  • Raw
  • Download

Lines Matching refs:scanner

25 	Pos() scanner.Position
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() }
189 OperatorPos scanner.Position
208 func (x *Operator) Pos() scanner.Position { return x.Args[0].Pos() }
209 func (x *Operator) End() scanner.Position { return x.Args[1].End() }
218 NamePos scanner.Position
222 func (x *Variable) Pos() scanner.Position { return x.NamePos }
223 func (x *Variable) End() scanner.Position { return endPos(x.NamePos, len(x.Name)) }
241 LBracePos scanner.Position
242 RBracePos scanner.Position
246 func (x *Map) Pos() scanner.Position { return x.LBracePos }
247 func (x *Map) End() scanner.Position { return endPos(x.RBracePos, 1) }
299 LBracePos scanner.Position
300 RBracePos scanner.Position
304 func (x *List) Pos() scanner.Position { return x.LBracePos }
305 func (x *List) End() scanner.Position { return endPos(x.RBracePos, 1) }
332 LiteralPos scanner.Position
336 func (x *String) Pos() scanner.Position { return x.LiteralPos }
337 func (x *String) End() scanner.Position { return endPos(x.LiteralPos, len(x.Value)+2) }
357 LiteralPos scanner.Position
362 func (x *Int64) Pos() scanner.Position { return x.LiteralPos }
363 func (x *Int64) End() scanner.Position { return endPos(x.LiteralPos, len(x.Token)) }
383 LiteralPos scanner.Position
388 func (x *Bool) Pos() scanner.Position { return x.LiteralPos }
389 func (x *Bool) End() scanner.Position { return endPos(x.LiteralPos, len(x.Token)) }
412 func (x *CommentGroup) Pos() scanner.Position { return x.Comments[0].Pos() }
413 func (x *CommentGroup) End() scanner.Position { return x.Comments[len(x.Comments)-1].End() }
417 Slash scanner.Position
420 func (c Comment) Pos() scanner.Position {
424 func (c Comment) End() scanner.Position {
479 func endPos(pos scanner.Position, n int) scanner.Position {