o
    RhQ                     @   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-2025 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   U/home/air/sanwanet/backup_V2/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
    
(