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

Struct nodeSearch

internal/sql/astutils/search.go:5–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import "github.com/sqlc-dev/sqlc/internal/sql/ast"
4
5type nodeSearch struct {
6 list *ast.List
7 check func(ast.Node) bool
8}
9
10func (s *nodeSearch) Visit(node ast.Node) Visitor {
11 if s.check(node) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected