Lines Matching refs:visibilities
665 def any_visible(section, kind_name, visibilities):
668 the list of given visibilities.
673 visibilities: An iterable of visibilities to match against
676 True if the section has any entries with any of the given visibilities. False otherwise.
681 if any(filter_visibility(inner_namespace.merged_entries, visibilities)):
686 visibilities))
689 def filter_visibility(entries, visibilities):
691 Remove entries whose applied visibility is not in the supplied visibilities.
695 visibilities: An iterable of visibilities to filter against
700 return (e for e in entries if e.applied_visibility in visibilities)