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

Function NewParser

parser/parser_common.go:13–17  ·  view source on GitHub ↗
(buffer string)

Source from the content-addressed store, hash-verified

11}
12
13func NewParser(buffer string) *Parser {
14 return &Parser{
15 lexer: NewLexer(buffer),
16 }
17}
18
19func (p *Parser) lastTokenKind() TokenKind {
20 if p.last() == nil {

Calls 1

NewLexerFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…