MCPcopy
hub / github.com/grafana/tempo / binaryOp

Function binaryOp

pkg/traceql/ast_stringer.go:229–231  ·  view source on GitHub ↗
(op Operator, lhs Element, rhs Element)

Source from the content-addressed store, hash-verified

227}
228
229func binaryOp(op Operator, lhs Element, rhs Element) string {
230 return wrapElement(lhs) + " " + op.String() + " " + wrapElement(rhs)
231}
232
233func unaryOp(op Operator, e Element) string {
234 if op == OpExists {

Callers 4

StringMethod · 0.85
StringMethod · 0.85
StringMethod · 0.85
StringMethod · 0.85

Calls 2

wrapElementFunction · 0.85
StringMethod · 0.45

Tested by

no test coverage detected