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

Method Analyze

internal/analyzer/analyzer.go:122–122  ·  view source on GitHub ↗
(context.Context, ast.Node, string, []string, *named.ParamSet)

Source from the content-addressed store, hash-verified

120
121type Analyzer interface {
122 Analyze(context.Context, ast.Node, string, []string, *named.ParamSet) (*analysis.Analysis, error)
123 Close(context.Context) error
124 // EnsureConn initializes the database connection with the given migrations.
125 // This is required for database-only mode where we need to connect before analyzing queries.

Callers 5

AnalyzeMethod · 0.65
analyzeMethod · 0.65
parseQueryMethod · 0.65
TestAnalyzer_AnalyzeFunction · 0.65

Implementers 3

CachedAnalyzerinternal/analyzer/analyzer.go
Analyzerinternal/engine/postgresql/analyzer/an
Analyzerinternal/engine/sqlite/analyzer/analyz

Calls

no outgoing calls

Tested by 2

TestAnalyzer_AnalyzeFunction · 0.52