o
    ůhi                     @   sV   d Z ddlmZmZ ddlmZmZmZmZm	Z	m
Z
mZmZ dgZG dd deZdS )z
    pygments.lexers.bdd
    ~~~~~~~~~~~~~~~~~~~

    Lexer for BDD(Behavior-driven development).

    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    )
RegexLexerinclude)CommentKeywordNameStringNumberTextPunctuation
WhitespaceBddLexerc                
   @   s   e Zd ZdZdZdgZdgZdgZdZdZ	dZ
d	efgd
efdejfdefdejfgdefgdefe
efedededdefgdZdd ZdS )r   z
    Lexer for BDD(Behavior-driven development), which highlights not only
    keywords, but also comments, punctuations, strings, numbers, and variables.
    Bddbddz	*.featurez
text/x-bddz9https://en.wikipedia.org/wiki/Behavior-driven_developmentz2.11zQGiven|When|Then|Add|And|Feature|Scenario Outline|Scenario|Background|Examples|Butz^\s*#.*$z,(<|>|\[|\]|=|\||:|\(|\)|\{|\}|,|\.|;|-|_|\$)z((?<=\<)[^\\>]+(?=\>))z
"([^\"]*)"z^@\S+z&(\d+\.?\d*|\d*\.\d+)([eE][+-]?[0-9]+)?z\n|\s+commentsmiscellaneousnumbersz\S+)r   r   r   rootc                 C   s   d S )N )selftextr   r   P/var/www/Befach/backend/venv/lib/python3.10/site-packages/pygments/lexers/bdd.pyanalyse_text8   s   zBddLexer.analyse_textN)__name__
__module____qualname____doc__namealiases	filenames	mimetypesurlversion_addedstep_keywordsr   r
   r   Variabler   Labelr   r   r   r   r	   tokensr   r   r   r   r   r      s6    N)r   pygments.lexerr   r   pygments.tokenr   r   r   r   r   r	   r
   r   __all__r   r   r   r   r   <module>   s
    
(