yq/pkg/yqlib/operator_value.go

9 lines
297 B
Go
Raw 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
2021-01-12 23:18:53 +00:00
func valueOperator(d *dataTreeNavigator, matchMap *list.List, expressionNode *ExpressionNode) (*list.List, error) {
log.Debug("value = %v", expressionNode.Operation.CandidateNode.Node.Value)
return nodeToMap(expressionNode.Operation.CandidateNode), nil
2020-10-20 04:33:20 +00:00
}