HOME


Mini Shell 1.0
DIR: /usr/lib/python3/dist-packages/pygments/lexers/__pycache__/
Upload File :
Current File : //usr/lib/python3/dist-packages/pygments/lexers/__pycache__/bdd.cpython-312.pyc
�

|�et��\�dZddlmZmZddlmZmZmZmZm	Z	m
Z
mZmZdgZ
Gd�de�Zy)a&
    pygments.lexers.bdd
    ~~~~~~~~~~~~~~~~~~~

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

    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�)�
RegexLexer�include)�Comment�Keyword�Name�String�Number�Text�Punctuation�
Whitespace�BddLexerc
���eZdZdZdZdgZdgZdgZdZde	fgde
fd	ejfd
e
fdejfgdefgd
efeefed�ed�ed�defgd�Zd�Zy)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+)rrr�rootc��y)N�)�self�texts  �5/usr/lib/python3/dist-packages/pygments/lexers/bdd.py�analyse_textzBddLexer.analyse_text9s���N)�__name__�
__module__�__qualname__�__doc__�name�aliases�	filenames�	mimetypes�
step_keywordsrrr�Variabler�Labelr	rrrr
�tokensrrrrr
r
s�����D��g�G��
�I���I�9�M�
�'�"�
�=�k�J�
&��
�
�6�
�F�#�
�t�z�z�"�	
�7��?�
��
�#�
�G�$��J���O�$��I��
�T�N�

��F�.rN)r�pygments.lexerrr�pygments.tokenrrrrr	r
rr�__all__r
rrr�<module>r+s3��	�/�����,��(�z�(r