mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
c6efd5519b
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
|
|
}
|