MCPcopy Create free account
hub / github.com/AfterShip/clickhouse-sql-parser / End

Method End

parser/ast.go:34–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34func (s *SelectItem) End() Pos {
35 if s.Alias != nil {
36 return s.Alias.End()
37 }
38 if len(s.Modifiers) > 0 {
39 return s.Modifiers[len(s.Modifiers)-1].End()
40 }
41 return s.Expr.End()
42}
43
44func (s *SelectItem) Accept(visitor ASTVisitor) error {
45 visitor.Enter(s)

Callers

nothing calls this directly

Calls 1

EndMethod · 0.65

Tested by

no test coverage detected