o
    ‡ÎÖa{  ã                   @   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-2021 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
    ÚBoaÚboaz*.boa)ÚinputÚoutputÚofÚweightÚbeforeÚafterÚstopÚifallÚforeachÚexistsÚfunctionÚbreakÚswitchÚcaseÚvisitorÚdefaultÚreturnÚvisitÚwhileÚifÚelsez\b)ÚsuffixÚprefix)ÚbottomÚ
collectionÚmaximumÚmeanÚminimumÚsetÚsumÚtopÚstringÚintÚboolÚfloatÚtimeÚfalseÚtrueÚarrayÚmapÚstackÚenumÚtype)ÚProjectÚ	ForgeKindÚCodeRepositoryÚRevisionÚRepositoryKindÚChangedFileÚFileKindÚASTRootÚ	NamespaceÚDeclarationÚTypeÚMethodÚVariableÚ	StatementÚ
ExpressionÚModifierÚStatementKindÚExpressionKindÚModifierKindÚ
VisibilityÚTypeKindÚPersonÚ
ChangeKind)z->z:=ú:ú=z<<ú!z++z||z&&ú+ú-Ú*ú>ú<)ú`ú")\ÚnewÚsortÚyearofÚ	dayofyearÚhourofÚminuteofÚsecondofÚnowÚadddayÚaddmonthÚaddweekÚaddyearÚ
dayofmonthÚ	dayofweekr_   Ú
formattimeÚ
trunctodayÚtrunctohourÚtrunctominuteÚtrunctomonthÚtrunctosecondÚtrunctoyearÚclearÚhaskeyÚkeysÚlookupÚremoveÚvaluesÚabsÚacosÚacoshÚasinÚasinhÚatanÚatan2ÚatanhÚceilÚcosÚcoshÚexpÚfloorÚhighbitÚisfiniteÚisinfÚisnanÚisnormalÚlogÚlog10ÚmaxÚminÚnrandÚpowÚrandÚroundÚsinÚsinhÚsqrtÚtanÚtanhÚtruncÚdefÚhashÚlenÚaddÚcontainsru   ÚformatÚ	lowercaseÚmatchÚ
matchposnsÚ	matchstrsÚregexÚsplitÚsplitallÚsplitnÚstrfindÚ
strreplaceÚstrrfindÚ	substringÚtrimÚ	uppercaser1   r2   r0   r/   r3   ÚgetastÚgetsnapshotÚhasfiletypeÚisfixingrevisionÚiskindÚ	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Ú	operatorsÚ
string_sepÚbuilt_in_functionsr   ÚSingleÚ	Multiliner   ÚReservedr   ÚFunctionrE   ÚClassesr
   r   r   ÚDoubleÚBacktickÚ	DelimiterrG   r   ÚIntegerr   Útokens© rÉ   rÉ   ú5/usr/lib/python3/dist-packages/pygments/lexers/boa.pyr      sR    üýúá"
òÿ)rµ   ÚreÚpygments.lexerr   r   Úpygments.tokenr   r   r   r   r   r	   r
   r   r   Ú__all__ÚcompileÚline_rer   rÉ   rÉ   rÉ   rÊ   Ú<module>   s    
,
