a
    ñ»jT  ã                   @   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.boa
    ~~~~~~~~~~~~~~~~~~~

    Lexers for the Boa language.

    :copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    )Ú
RegexLexerÚwords)ÚStringÚCommentÚKeywordÚNameÚNumberÚOperatorÚPunctuationÚ
WhitespaceÚBoaLexerc                   @   sâ   e Zd ZdZdZdgZdgZdZdZe	dddd	�Z
e	d
ddd	�Ze	dddd	�ZdZdZe	dddd�Zddejfdejfe
ejfeejfeejfeejfe	eƒefdefdejfdejfe	eƒejfdejfde j!fde"fgiZ#dS )r   z%
    Lexer for the Boa language.
    ÚBoaÚboaz*.boazhttps://boa.cs.iastate.edu/docsz2.4)ÚinputÚoutputZofÚweightÚbeforeÚafterÚstopZifallZforeachÚexistsÚfunctionÚbreakÚswitchÚcaseÚvisitorÚdefaultÚreturnÚvisitÚwhileÚifÚelsez\b)ÚsuffixÚprefix)ÚbottomZ
collectionÚmaximumÚmeanÚminimumÚsetÚsumÚtopÚstringÚintÚboolÚfloatÚtimeÚfalseÚtrueÚarrayÚmapÚstackÚenumÚtype)ZProjectZ	ForgeKindZCodeRepositoryZRevisionZRepositoryKindZChangedFileZFileKindZASTRootÚ	NamespaceÚDeclarationÚTypeZMethodÚVariableZ	StatementÚ
ExpressionZModifierZStatementKindZExpressionKindZModifierKindZ
VisibilityZTypeKindZPersonZ
ChangeKind)z->z:=ú:ú=z<<ú!z++z||z&&ú+ú-Ú*ú>ú<)ú`ú")\ÚnewÚsortZyearofÚ	dayofyearZhourofZminuteofZsecondofÚnowZadddayZaddmonthZaddweekZaddyearZ
dayofmonthZ	dayofweekrG   Z
formattimeZ
trunctodayZtrunctohourZtrunctominuteZtrunctomonthZtrunctosecondZtrunctoyearÚclearZhaskeyÚkeysÚlookupÚremoveÚvaluesÚabsÚacosÚacoshÚasinÚasinhÚatanÚatan2ÚatanhÚceilÚcosÚcoshÚexpÚfloorZhighbitÚisfiniteÚisinfÚisnanZisnormalÚlogÚlog10ÚmaxÚminZnrandÚpowZrandÚroundÚsinÚsinhÚsqrtÚtanÚtanhÚtruncÚdefÚhashÚlenÚaddÚcontainsrL   ÚformatZ	lowercaseÚmatchZ
matchposnsZ	matchstrsÚregexÚsplitZsplitallZsplitnZstrfindZ
strreplaceZstrrfindZ	substringZtrimZ	uppercaser,   r-   r+   r*   r.   ZgetastZgetsnapshotZhasfiletypeZisfixingrevisionZiskindZ	isliteralz\()r"   r!   Úrootz#.*?$z	/\*.*?\*/z[][(),;{}\\.]z"(\\\\|\\[^\\]|[^"\\])*"z`(\\\\|\\[^\\]|[^`\\])*`z
[a-zA-Z_]+z[0-9]+z\s+N)$Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚaliasesÚ	filenamesÚurlÚversion_addedr   ÚreservedÚkeywordsÚclassesÚ	operatorsZ
string_sepZbuilt_in_functionsr   ÚSingleÚ	Multiliner   ÚReservedr   ÚFunctionr8   ZClassesr	   r
   r   ÚDoubleÚBacktickÚ	Delimiterr9   r   ÚIntegerr   Útokens© rŠ   rŠ   ú9E:\soccer\ml_env\Lib\site-packages\pygments/lexers/boa.pyr      sT   üýúá"
òÿN)rw   Zpygments.lexerr   r   Zpygments.tokenr   r   r   r   r   r	   r
   r   Ú__all__r   rŠ   rŠ   rŠ   r‹   Ú<module>   s   
(