UnknownAttributePatterns implements the PartialActivation interface returning the unknown patterns if they were provided to the input activation, or an empty set if the proxied activation is not partial.
()
| 2112 | // UnknownAttributePatterns implements the PartialActivation interface returning the unknown patterns |
| 2113 | // if they were provided to the input activation, or an empty set if the proxied activation is not partial. |
| 2114 | func (f *folder) UnknownAttributePatterns() []*AttributePattern { |
| 2115 | if f.frame.parent != nil { |
| 2116 | if partial, isPartial := f.frame.parent.AsPartialActivation(); isPartial { |
| 2117 | return partial.UnknownAttributePatterns() |
| 2118 | } |
| 2119 | } |
| 2120 | return []*AttributePattern{} |
| 2121 | } |
| 2122 | |
| 2123 | func (f *folder) AsPartialActivation() (PartialActivation, bool) { |
| 2124 | if f.frame.parent != nil { |
nothing calls this directly
no test coverage detected