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

Function newScalarOperation

pkg/traceql/ast.go:306–312  ·  view source on GitHub ↗
(op Operator, lhs, rhs ScalarExpression)

Source from the content-addressed store, hash-verified

304}
305
306func newScalarOperation(op Operator, lhs, rhs ScalarExpression) ScalarOperation {
307 return ScalarOperation{
308 Op: op,
309 LHS: lhs,
310 RHS: rhs,
311 }
312}
313
314// nolint: revive
315func (ScalarOperation) __scalarExpression() {}

Callers 3

ParseMethod · 0.85

Calls

no outgoing calls

Tested by 1