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

Method tryParseDotIdentOrString

parser/parser_common.go:170–175  ·  view source on GitHub ↗
(_ Pos)

Source from the content-addressed store, hash-verified

168}
169
170func (p *Parser) tryParseDotIdentOrString(_ Pos) (*Ident, error) {
171 if p.tryConsumeTokenKind(TokenKindDot) == nil {
172 return nil, nil // nolint
173 }
174 return p.parseIdentOrString()
175}
176
177func (p *Parser) parseUUID() (*UUID, error) {
178 if err := p.expectKeyword(KeywordUuid); err != nil {

Callers 1

parseTableIdentifierMethod · 0.95

Calls 2

tryConsumeTokenKindMethod · 0.95
parseIdentOrStringMethod · 0.95

Tested by

no test coverage detected