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

Method impliedType

pkg/traceql/ast.go:638–645  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

636func (UnaryOperation) __fieldExpression() {}
637
638func (o UnaryOperation) impliedType() StaticType {
639 if o.Op == OpExists || o.Op == OpNotExists {
640 return TypeBoolean
641 }
642
643 // opPower and opNot will just be based on the operand type
644 return o.Expression.impliedType()
645}
646
647func (o UnaryOperation) referencesSpan() bool {
648 return o.Expression.referencesSpan()

Callers

nothing calls this directly

Calls 1

impliedTypeMethod · 0.65

Tested by

no test coverage detected