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

Method NewStructField

common/ast/factory.go:222–230  ·  view source on GitHub ↗
(id int64, field string, value Expr, isOptional bool)

Source from the content-addressed store, hash-verified

220}
221
222func (fac *baseExprFactory) NewStructField(id int64, field string, value Expr, isOptional bool) EntryExpr {
223 return fac.newEntryExpr(
224 id,
225 &baseStructField{
226 field: field,
227 value: value,
228 isOptional: isOptional,
229 })
230}
231
232func (fac *baseExprFactory) NewUnspecifiedExpr(id int64) Expr {
233 return fac.newExpr(id, nil)

Callers 1

CopyEntryExprMethod · 0.95

Calls 1

newEntryExprMethod · 0.95

Tested by

no test coverage detected