MCPcopy Index your code
hub / github.com/sqlc-dev/sqlc / SQLiteParserInit

Function SQLiteParserInit

internal/engine/sqlite/parser/sqlite_parser.go:1211–1214  ·  view source on GitHub ↗

SQLiteParserInit initializes any static state used to implement SQLiteParser. By default the static state used to implement the parser is lazily initialized during the first call to NewSQLiteParser(). You can call this function if you wish to initialize the static state ahead of time.

()

Source from the content-addressed store, hash-verified

1209// NewSQLiteParser(). You can call this function if you wish to initialize the static state ahead
1210// of time.
1211func SQLiteParserInit() {
1212 staticData := &SQLiteParserParserStaticData
1213 staticData.once.Do(sqliteparserParserInit)
1214}
1215
1216// NewSQLiteParser produces a new parser instance for the optional input antlr.TokenStream.
1217func NewSQLiteParser(input antlr.TokenStream) *SQLiteParser {

Callers 1

NewSQLiteParserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected