MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / Inspector

FuncType Inspector

pkg/sql/ast/visitor.go:207–207  ·  view source on GitHub ↗

Inspector represents a function-based AST visitor for simplified traversal. Inspector is a function type that can be used to traverse the AST without creating a custom visitor type. It's a convenience wrapper around the Visitor interface for simple use cases. The function receives each node and re

func(Node) bool

Source from the content-addressed store, hash-verified

205//
206// See also: Inspect() for a more convenient function form
207type Inspector func(Node) bool
208
209// Visit implements the Visitor interface for Inspector.
210//

Callers 1

InspectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected