yq/pkg/yqlib/operator_value.go

7 lines
282 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
func valueOperator(d *dataTreeNavigator, context Context, expressionNode *ExpressionNode) (Context, error) {
2021-01-12 23:18:53 +00:00
log.Debug("value = %v", expressionNode.Operation.CandidateNode.Node.Value)
return context.SingleChildContext(expressionNode.Operation.CandidateNode), nil
2020-10-20 04:33:20 +00:00
}