a
    ©lca  ã                   @   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 )a'  
    pygments.lexers.bdd
    ~~~~~~~~~~~~~~~~~~~

    Lexer for BDD(Behavior-driven development). 
    More information: https://en.wikipedia.org/wiki/Behavior-driven_development

    :copyright: Copyright 2006-2022 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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.

    .. versionadded:: 2.11
    ÚBddÚbddz	*.featurez
text/x-bddzQGiven|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   úO/var/www/html/django/DPS/env/lib/python3.9/site-packages/pygments/lexers/bdd.pyÚanalyse_text7   s    zBddLexer.analyse_textN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚaliasesÚ	filenamesÚ	mimetypesZstep_keywordsr   r
   r   ÚVariabler   ÚLabelr   r   r   r   r	   Útokensr   r   r   r   r   r      s0   ÿüÿúóN)r   Zpygments.lexerr   r   Zpygments.tokenr   r   r   r   r   r	   r
   r   Ú__all__r   r   r   r   r   Ú<module>   s   (