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

Method NewSelect

common/ast/factory.go:68–68  ·  view source on GitHub ↗

NewSelect creates an Expr representing a field selection on an operand expression.

(id int64, operand Expr, field string)

Source from the content-addressed store, hash-verified

66
67 // NewSelect creates an Expr representing a field selection on an operand expression.
68 NewSelect(id int64, operand Expr, field string) Expr
69
70 // NewStruct creates an Expr value representing a struct literal with a given type name and a
71 // set of field initializers.

Callers 8

TestConvertExprFunction · 0.95
TestSetKindCaseFunction · 0.95
TestSelectFunction · 0.95
SelectMethod · 0.65
NewSelectMethod · 0.65
TestMacroModernFunction · 0.65
exprSelectFunction · 0.65

Implementers 1

baseExprFactorycommon/ast/factory.go

Calls

no outgoing calls

Tested by 5

TestConvertExprFunction · 0.76
TestSetKindCaseFunction · 0.76
TestSelectFunction · 0.76
TestMacroModernFunction · 0.52