bg*ddlZGddeZdS)NceZdZdZejdejejzZejdejejzZ dZ e dZ e dZ e dZe dZd S) Directivez,A representation of a result line directive.zt^SKIP\S* (?P\s*) # Optional whitespace. (?P.*) # Slurp up the rest.z^TODO\b # The directive name (?P\s*) # Immediately following must be whitespace. (?P.*) # Slurp up the rest.c||_d|_d|_d|_|j|}|r!d|_|d|_|j|}|rY|drd|_n |ddkrd|_|d|_dSdS)zInitialize the directive by parsing the text. The text is assumed to be everything after a '#\s*' on a result line. FNTreason whitespace)_text_skip_todo_reason skip_patternmatchgroup todo_pattern)selftextrs ^/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/tap/directive.py__init__zDirective.__init__s     !''--  1DJ ;;x00DL!''--  1{{<(( &! ;;x((B..!%DJ ;;x00DLLL 1 1c|jS)zGet the entire text.)r rs rrzDirective.text- zrc|jS)z&Check if the directive is a SKIP type.)r rs rskipzDirective.skip2rrc|jS)z&Check if the directive is a TODO type.)r rs rtodozDirective.todo7rrc|jS)z!Get the reason for the directive.)r rs rrzDirective.reason<s |rN)__name__ __module__ __qualname____doc__recompile IGNORECASEVERBOSEr rrpropertyrrrrrrrrs662: 8  " L 2: 8  " L1112XXXXrr)r"objectrr'rrr)sB ;;;;;;;;;;r