package walk
import "cuelang.org/go/internal/core/walk"
walk provides functions for visiting the nodes of an ADT tree.
Index ¶
Functions ¶
func Features ¶
Features calls f for all features used in x and indicates whether the feature is used as a reference or not.
Types ¶
type Visitor ¶
type Visitor struct { Feature func(f adt.Feature, src adt.Node) Before func(adt.Node) bool // contains filtered or unexported fields }
func (*Visitor) Expr ¶
Source Files ¶
walk.go
- Version
- v0.4.0-alpha.2
- Published
- Apr 23, 2021
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 48 minutes ago –
Tools for package owners.