Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
70
func
(t *Token) ToString() string {
71
if
t.Kind == TokenKindKeyword {
72
return
strings.ToUpper(t.String)
73
}
74
return
t.String
75
}
76
77
type
lexerState
struct
{
78
current int
Callers
4
parseInfix
Method · 0.80
parseUnaryExpr
Method · 0.80
parseOrderExpr
Method · 0.80
tryParseTTLPolicy
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected