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

Method UnknownAttributePatterns

interpreter/frame.go:319–324  ·  view source on GitHub ↗

UnknownAttributePatterns implements the PartialActivation interface returning the unknown patterns if they were provided to the input activation, or an empty set if the frame is not partial.

()

Source from the content-addressed store, hash-verified

317// UnknownAttributePatterns implements the PartialActivation interface returning the unknown patterns
318// if they were provided to the input activation, or an empty set if the frame is not partial.
319func (f *ExecutionFrame) UnknownAttributePatterns() []*AttributePattern {
320 if pa, ok := f.AsPartialActivation(); ok {
321 return pa.UnknownAttributePatterns()
322 }
323 return []*AttributePattern{}
324}
325
326// Unwrap returns the local activation scope if present, or the parent frame.
327func (f *ExecutionFrame) Unwrap() Activation {

Callers

nothing calls this directly

Calls 2

AsPartialActivationMethod · 0.95

Tested by

no test coverage detected