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.
    ZBoaZboaz*.boazhttps://boa.cs.iastate.edu/docsz2.4)ÚinputÚoutputZofZweightÚbeforeÚafterÚstopZifallZforeachÚexistsÚfunctionÚbreakÚswitchZcaseÚvisitorÚdefaultÚreturnÚvisitÚwhileÚifÚelsez\b)ÚsuffixÚprefix)ZbottomZ
collectionÚmaximumÚmeanZ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Ú	NamespaceZ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	dayofweekr@   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ÚcontainsrE   Ú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ÚurlZversion_addedr   ÚreservedÚkeywordsÚclassesÚ	operatorsZ
string_sepZbuilt_in_functionsr   ÚSingleZ	Multiliner   ZReservedr   ZFunctionr1   ZClassesr	   r
   r   ÚDoubleZBacktickZ	Delimiterr2   r   ZIntegerr   Útokens© r|   r|   úR/mnt/bigstor/www/usecases/.venv/lib/python3.9/site-packages/pygments/lexers/boa.pyr      sT   üýúá"
òÿN)rp   Zpygments.lexerr   r   Zpygments.tokenr   r   r   r   r   r	   r
   r   Ú__all__r   r|   r|   r|   r}   Ú<module>   s   
(