
    G@d                     D    d Z ddlZddlmZ  e            dk    ZdZd ZdS )z!
Source code analysis utilities.
    N)get_debug_level   zL(^|#)[ ]*(TODO|FIXME|XXX|HINT|TIP|@todo|HACK|BUG|OPTIMIZE|!!!|\?\?\?)([^#]*)c                 @   g }t          |                                           D ]y\  }}t          j        t          |          D ]Y}|d         r-|d                             d                                          n|d         }|                    ||dz   f           Zz|S )z2Find tasks in source code (TODO, FIXME, XXX, ...).z :   )	enumerate
splitlinesrefindallTASKS_PATTERNstrip
capitalizeappend)source_coderesultslinetexttodo	todo_texts         Elib/python3.11/site-packages/spyder/plugins/editor/utils/findtasks.py
find_tasksr      s    G 6 6 8 899 2 2
dJ}d33 	2 	2D>B2h 'b--88:::"2h NNItax01111	2 N    )__doc__r   spyder.config.baser   DEBUG_EDITORr   r    r   r   <module>r      s`     
			 / . . . . .  A%
8    r   