+
    ,i  c                   s   a  R t0 t ^ RIHt ^ RIt^RIHtHtHt Rt] ^ k  ! R R]P                  ]P                  ]P                  4      tR# )i    )IterableN)mixins	policyrepqueryCategoryQueryc                   s6   a  ] tR t^t o RtV 3R lR ltRtV tR# )r   a  
Query MLS Categories

Parameter:
policy       The policy to query.

Keyword Parameters/Class attributes:
name         The name of the category to match.
name_regex   If true, regular expression matching will
             be used for matching the name.
alias        The alias name to match.
alias_regex  If true, regular expression matching
             will be used on the alias names.
c                sD   < V ^8  d   QhRS[ S[P                  ,          /# )   Zreturn)r    r   ZCategory)format__classdict__s   "</usr/lib64/python3.14/site-packages/setools/categoryquery.py__annotate__ZCategoryQuery.__annotate__   s      )"4"45     c              #  sx  "   V P                   P                  RV P                   24       V P                  V P                   4       V P	                  V P                   4       V P                  P                  4        F9  pV P                  V4      '       g   K  V P                  V4      '       g   K5  Vx  K;  	  R# 5i)z/Generator which yields all matching categories.z!Generating category results from N)ZlogZinfoZpolicyZ_match_name_debugZ_match_alias_debugZ
categoriesZ_match_nameZ_match_alias)ZselfZcats   & r   resultsZCategoryQuery.results   s     9$++GHtxx();;))+C##C(($$S))I ,s   B+B:.B:) N)Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r   Z__static_attributes__Z__classdictcell__)r      @r   r   r      s      r
   c                s    V ^8  d   Qh/ ^ \         9   d,   \        P                  \        \        R3,          ,          ;R&   # )r   .__all__)__conditional_annotations__typingZFinalZtupleZstr)r   s   "r   r	   r	      s+     $ $
 < ;eCHo	& ; %r
   )r   )r   Zcollections.abcr    r   Z r   r   r   r   Z
MatchAliasZ	MatchNameZPolicyQueryr   r	   )r   r   r   <module>r      sA   
 % $  & &); ;F%%v'7'79J9J r
   