yq/pkg/yqlib/operator_value.go
2021-02-11 10:58:40 +11:00

9 lines
277 B
Go

package yqlib
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
}