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

Method tryParseColumnComment

parser/parser_column.go:28–33  ·  view source on GitHub ↗
(pos Pos)

Source from the content-addressed store, hash-verified

26)
27
28func (p *Parser) tryParseColumnComment(pos Pos) (*StringLiteral, error) {
29 if !p.tryConsumeKeywords(KeywordComment) {
30 return nil, nil // nolint
31 }
32 return p.parseString(pos)
33}
34
35func (p *Parser) getNextPrecedence() int {
36 switch {

Callers 1

parseTableColumnExprMethod · 0.95

Calls 2

tryConsumeKeywordsMethod · 0.95
parseStringMethod · 0.95

Tested by

no test coverage detected