Server IP : 15.235.198.142 / Your IP : 216.73.216.190 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/pygments/lexers/__pycache__/ |
Upload File : |
� |�et � �\ � d Z ddlmZmZ ddlmZmZmZmZm Z m Z mZmZ dgZ G d� 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 �� � e Zd ZdZdZdgZdgZdgZdZde fgde fd ej fd e fdej fgdefgd efeef ed� 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+)r r r �rootc � � y )N� )�self�texts �5/usr/lib/python3/dist-packages/pygments/lexers/bdd.py�analyse_textzBddLexer.analyse_text9 s � �� N)�__name__� __module__�__qualname__�__doc__�name�aliases� filenames� mimetypes� step_keywordsr r r �Variabler �Labelr r r r r �tokensr r r r r r s� � �� �D��g�G�� �I���I�9�M� �'�"� � =�k�J� &�� � �6� �F�#� �t�z�z�"� � 7��?� � � �#� �G�$��J���O�$��I�� �T�N� ��F�.r N)r �pygments.lexerr r �pygments.tokenr r r r r r r r �__all__r r r r �<module>r+ s3 �� � /�� � � �,��(�z� (r