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

Function newAttrResolution

checker/env.go:135–140  ·  view source on GitHub ↗

newAttrResolution creates a new attribute resolution value.

(ident *decls.VariableDecl, requiresDisambiguation bool)

Source from the content-addressed store, hash-verified

133
134// newAttrResolution creates a new attribute resolution value.
135func newAttrResolution(ident *decls.VariableDecl, requiresDisambiguation bool) *attributeResolution {
136 return &attributeResolution{
137 VariableDecl: ident,
138 requiresDisambiguation: requiresDisambiguation,
139 }
140}
141
142// attributeResolution wraps an existing variable and denotes whether disambiguation is needed
143// during variable resolution.

Callers 2

resolveSimpleIdentMethod · 0.85
resolveQualifiedIdentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected