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

Method ToString

parser/lexer.go:70–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68}
69
70func (t *Token) ToString() string {
71 if t.Kind == TokenKindKeyword {
72 return strings.ToUpper(t.String)
73 }
74 return t.String
75}
76
77type lexerState struct {
78 current int

Callers 4

parseInfixMethod · 0.80
parseUnaryExprMethod · 0.80
parseOrderExprMethod · 0.80
tryParseTTLPolicyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected