mirror of
https://github.com/mikefarah/yq.git
synced 2025-01-27 17:05:35 +00:00
7c8d3b9e70
Allows more sophisticated functionality
7 lines
282 B
Go
7 lines
282 B
Go
package yqlib
|
|
|
|
func valueOperator(d *dataTreeNavigator, context Context, expressionNode *ExpressionNode) (Context, error) {
|
|
log.Debug("value = %v", expressionNode.Operation.CandidateNode.Node.Value)
|
|
return context.SingleChildContext(expressionNode.Operation.CandidateNode), nil
|
|
}
|