TraverseSplat Traverser placeholder
This will eventually deal with splats in traversals, but isn't yet properly implemented.
This commit is contained in:
parent
a2d829cafc
commit
73b5ba8089
@ -345,3 +345,14 @@ func (tn TraverseIndex) TraversalStep(val cty.Value) (cty.Value, Diagnostics) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// TraverseSplat applies the splat operation to its initial value.
|
||||
type TraverseSplat struct {
|
||||
isTraverser
|
||||
Each Traversal
|
||||
SrcRange Range
|
||||
}
|
||||
|
||||
func (tn TraverseSplat) TraversalStep(val cty.Value) (cty.Value, Diagnostics) {
|
||||
panic("TraverseSplat not yet implemented")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user