o
    Ñ­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Ú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Úcontainsrt   ÚformatÚ	lowercaseÚmatchÚ
matchposnsÚ	matchstrsÚregexÚsplitÚsplitallÚsplitnÚstrfindÚ
strreplaceÚstrrfindÚ	substringÚtrimÚ	uppercaser0   r1   r/   r.   r2   Ú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Ú	filenamesÚurlÚversion_addedr   ÚreservedÚkeywordsÚclassesÚ	operatorsÚ
string_sepÚbuilt_in_functionsr   ÚSingleÚ	Multiliner   ÚReservedr   ÚFunctionrD   ÚClassesr	   r
   r   ÚDoubleÚBacktickÚ	DelimiterrF   r   ÚIntegerr   Útokens© rÊ   rÊ   úP/var/www/html/CropPilot/venv/lib/python3.10/site-packages/pygments/lexers/boa.pyr      sV    üýúá"
òÿN)r´   Úpygments.lexerr   r   Úpygments.tokenr   r   r   r   r   r	   r
   r   Ú__all__r   rÊ   rÊ   rÊ   rË   Ú<module>   s
    
(