MCPcopy
hub / github.com/hashicorp/hcl / Traverser

Interface Traverser

traversal.go:221–225  ·  traversal.go::Traverser

A Traverser is a step within a Traversal.

Source from the content-addressed store, hash-verified

219
220// A Traverser is a step within a Traversal.
221type Traverser interface {
222 TraversalStep(cty.Value) (cty.Value, Diagnostics)
223 SourceRange() Range
224 isTraverserSigil() isTraverser
225}
226
227// Embed this in a struct to declare it as a Traverser
228type isTraverser struct {

Callers 9

TraverseRelMethod · 0.65
SourceRangeMethod · 0.65
parseTraversalFunction · 0.65
parseTraversalStepFunction · 0.65
checkTraversalsMatchFunction · 0.65
runTestInputMethod · 0.65
showVarRefsJSONFunction · 0.65
decodeSpecMethod · 0.65
RangeMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected