yq/pkg/yqlib/treeops/operator_value.go
Mike Farah 65e6e492cd wip
2020-10-21 12:54:58 +11:00

9 lines
279 B
Go

package treeops
import "container/list"
func ValueOperator(d *dataTreeNavigator, matchMap *list.List, pathNode *PathTreeNode) (*list.List, error) {
log.Debug("value = %v", pathNode.Operation.CandidateNode.Node.Value)
return nodeToMap(pathNode.Operation.CandidateNode), nil
}