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

Method Pos

parser/ast.go:1619–1624  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1617}
1618
1619func (r *RoleSetting) Pos() Pos {
1620 if len(r.SettingPairs) > 0 {
1621 return r.SettingPairs[0].Pos()
1622 }
1623 return r.Modifier.NamePos
1624}
1625
1626func (r *RoleSetting) End() Pos {
1627 if r.Modifier != nil {

Callers

nothing calls this directly

Calls 1

PosMethod · 0.65

Tested by

no test coverage detected