File: //usr/lib/python3/dist-packages/pygments/lexers/__pycache__/bdd.cpython-310.pyc
o
���aa � @ sV d Z ddlmZmZ ddlmZmZmZmZm Z m
Z
mZmZ dgZ
G dd� de�ZdS )a'
pygments.lexers.bdd
~~~~~~~~~~~~~~~~~~~
Lexer for BDD(Behavior-driven development).
More information: https://en.wikipedia.org/wiki/Behavior-driven_development
:copyright: Copyright 2006-2021 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 Zd ZdZdZdgZdgZdgZdZde fgde
fd ejfd
e
fdejfgdefgd
efeefed�ed�ed�defgd�Zdd� ZdS )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 �5/usr/lib/python3/dist-packages/pygments/lexers/bdd.py�analyse_text7 s zBddLexer.analyse_textN)�__name__�
__module__�__qualname__�__doc__�name�aliases� filenames� mimetypes�
step_keywordsr r
r �Variabler �Labelr r r r r �tokensr r r r r r s2 �����N)r �pygments.lexerr r �pygments.tokenr r r r r r r
r �__all__r r r r r �<module> s
(