yq/pkg/yqlib/operator_value.go

9 lines
277 B
Go
Raw Permalink Normal View History

2020-11-03 23:48:43 +00:00
package yqlib
2020-10-20 04:33:20 +00:00
2020-10-21 01:54:58 +00:00
import "container/list"
2020-10-20 04:33:20 +00:00
2020-10-21 01:54:58 +00:00
func ValueOperator(d *dataTreeNavigator, matchMap *list.List, pathNode *PathTreeNode) (*list.List, error) {
2020-10-20 05:27:30 +00:00
log.Debug("value = %v", pathNode.Operation.CandidateNode.Node.Value)
2020-10-20 04:33:20 +00:00
return nodeToMap(pathNode.Operation.CandidateNode), nil
}