MCPcopy Create free account
hub / github.com/cel-expr/cel-go / OperandTrait

Method OperandTrait

common/decls/decls.go:758–763  ·  view source on GitHub ↗

OperandTrait returns the trait mask of the first operand to the overload call, e.g. `traits.Indexer`

()

Source from the content-addressed store, hash-verified

756// OperandTrait returns the trait mask of the first operand to the overload call, e.g.
757// `traits.Indexer`
758func (o *OverloadDecl) OperandTrait() int {
759 if o == nil {
760 return 0
761 }
762 return o.operandTrait
763}
764
765// ResultType indicates the output type from calling the function.
766func (o *OverloadDecl) ResultType() *types.Type {

Callers 5

bindingMethod · 0.95
lateBoundBindingMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected