MCPcopy
hub / github.com/sqlc-dev/sqlc / SQLiteLexerInit

Function SQLiteLexerInit

internal/engine/sqlite/parser/sqlite_lexer.go:990–993  ·  view source on GitHub ↗

SQLiteLexerInit initializes any static state used to implement SQLiteLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewSQLiteLexer(). You can call this function if you wish to initialize the static state ahead of time.

()

Source from the content-addressed store, hash-verified

988// NewSQLiteLexer(). You can call this function if you wish to initialize the static state ahead
989// of time.
990func SQLiteLexerInit() {
991 staticData := &SQLiteLexerLexerStaticData
992 staticData.once.Do(sqlitelexerLexerInit)
993}
994
995// NewSQLiteLexer produces a new lexer instance for the optional input antlr.CharStream.
996func NewSQLiteLexer(input antlr.CharStream) *SQLiteLexer {

Callers 1

NewSQLiteLexerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected