a
    ¨ˆc{  ã                   @   sl   d Z ddl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mZ dgZe d¡ZG dd„ deƒZdS )zÇ
    pygments.lexers.boa
    ~~~~~~~~~~~~~~~~~~~

    Lexers for the Boa language.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    N)Ú
RegexLexerÚwords)	ÚStringÚCommentÚKeywordÚNameÚNumberÚTextÚOperatorÚPunctuationÚ
WhitespaceÚBoaLexerz.*?
c                   @   sÚ   e Zd ZdZdZdgZdg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   ze
    Lexer for the `Boa <http://boa.cs.iastate.edu/docs/>`_ language.

    .. versionadded:: 2.4
    ZBoaZboaz*.boa)Ú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	dayofweekrA   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ÚcontainsrF   Ú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Ú	filenamesr   ÚreservedÚkeywordsÚclassesÚ	operatorsZ
string_sepZbuilt_in_functionsr   ÚSingleZ	Multiliner   ZReservedr   ZFunctionr2   ZClassesr
   r   r   ÚDoubleZBacktickZ	Delimiterr3   r   ZIntegerr   Útokens© r|   r|   úV/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/pygments/lexers/boa.pyr      sP   üýúá"
òÿ)rq   ÚreZpygments.lexerr   r   Zpygments.tokenr   r   r   r   r   r	   r
   r   r   Ú__all__ÚcompileZline_rer   r|   r|   r|   r}   Ú<module>   s   
,
