Lines Matching refs:scanner

26 	Pos() scanner.Position
28 End() scanner.Position
42 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
88 func (m *Module) Pos() scanner.Position { return m.TypePos }
89 func (m *Module) End() scanner.Position { return m.Map.End() }
116 NamePos scanner.Position
117 ColonPos scanner.Position
131 func (p *Property) Pos() scanner.Position { return p.NamePos }
132 func (p *Property) End() scanner.Position { return p.Value.End() }
255 OperatorPos scanner.Position
389 func (x *Operator) Pos() scanner.Position { return x.Args[0].Pos() }
390 func (x *Operator) End() scanner.Position { return x.Args[1].End() }
399 NamePos scanner.Position
403 func (x *Variable) Pos() scanner.Position { return x.NamePos }
404 func (x *Variable) End() scanner.Position { return endPos(x.NamePos, len(x.Name)) }
440 LBracePos scanner.Position
441 RBracePos scanner.Position
445 func (x *Map) Pos() scanner.Position { return x.LBracePos }
446 func (x *Map) End() scanner.Position { return endPos(x.RBracePos, 1) }
562 LBracePos scanner.Position
563 RBracePos scanner.Position
567 func (x *List) Pos() scanner.Position { return x.LBracePos }
568 func (x *List) End() scanner.Position { return endPos(x.RBracePos, 1) }
622 LiteralPos scanner.Position
626 func (x *String) Pos() scanner.Position { return x.LiteralPos }
627 func (x *String) End() scanner.Position { return endPos(x.LiteralPos, len(x.Value)+2) }
668 LiteralPos scanner.Position
673 func (x *Int64) Pos() scanner.Position { return x.LiteralPos }
674 func (x *Int64) End() scanner.Position { return endPos(x.LiteralPos, len(x.Token)) }
701 LiteralPos scanner.Position
706 func (x *Bool) Pos() scanner.Position { return x.LiteralPos }
707 func (x *Bool) End() scanner.Position { return endPos(x.LiteralPos, len(x.Token)) }
737 func (x *CommentGroup) Pos() scanner.Position { return x.Comments[0].Pos() }
738 func (x *CommentGroup) End() scanner.Position { return x.Comments[len(x.Comments)-1].End() }
742 Slash scanner.Position
745 func (c Comment) Pos() scanner.Position {
749 func (c Comment) End() scanner.Position {
804 func endPos(pos scanner.Position, n int) scanner.Position {
811 position scanner.Position
849 KeywordPos scanner.Position // the keyword "select"
851 LBracePos scanner.Position
852 RBracePos scanner.Position
857 func (s *Select) Pos() scanner.Position { return s.KeywordPos }
858 func (s *Select) End() scanner.Position { return endPos(s.RBracePos, 1) }
908 func (c *SelectPattern) Pos() scanner.Position { return c.Value.Pos() }
909 func (c *SelectPattern) End() scanner.Position {
918 ColonPos scanner.Position
936 func (c *SelectCase) Pos() scanner.Position { return c.Patterns[0].Pos() }
937 func (c *SelectCase) End() scanner.Position { return c.Value.End() }
950 Position scanner.Position
976 func (n *UnsetProperty) Pos() scanner.Position { return n.Position }
977 func (n *UnsetProperty) End() scanner.Position { return n.Position }