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

Method OperandTrait

common/decls/decls.go:729–734  ·  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

727// OperandTrait returns the trait mask of the first operand to the overload call, e.g.
728// `traits.Indexer`
729func (o *OverloadDecl) OperandTrait() int {
730 if o == nil {
731 return 0
732 }
733 return o.operandTrait
734}
735
736// ResultType indicates the output type from calling the function.
737func (o *OverloadDecl) ResultType() *types.Type {

Callers 4

BindingsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected