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

Method tryParseNull

parser/parser_common.go:231–236  ·  view source on GitHub ↗
(pos Pos)

Source from the content-addressed store, hash-verified

229}
230
231func (p *Parser) tryParseNull(pos Pos) *NullLiteral {
232 if !p.tryConsumeKeywords(KeywordNull) {
233 return nil
234 }
235 return &NullLiteral{NullPos: pos}
236}
237
238func (p *Parser) tryParseNotNull(pos Pos) (*NotNullLiteral, error) {
239 if !p.tryConsumeKeywords(KeywordNot) {

Callers 1

parseTableColumnExprMethod · 0.95

Calls 1

tryConsumeKeywordsMethod · 0.95

Tested by

no test coverage detected