U
    ]g0                     @   s^   d Z ddlmZmZ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.sophia
    ~~~~~~~~~~~~~~~~~~~~~~

    Lexer for Sophia.

    Derived from pygments/lexers/reason.py.

    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    )
RegexLexerincludedefaultwords)CommentKeywordNameNumberOperatorPunctuationStringTextSophiaLexerc                   @   s  e Zd ZdZdZdgZdgZg ZdZdZ	dZ
dZd	Zd
Zdejfdejfdejfgdejfdejfdejdfdejfdejfdejdfdejfdejfdejfee
ddefeeddejfeeddde j!feedddej"fde j!fde#fdejfdefd ej$fd!ej$fd"ej%fd#ej&d$fgd%ejfd&ejd'fd(ejd)fd*ejfgd+ej&fe'd,d-ej&fd#ej&d)fgdefd.e#fd/ejfd0ejd)fd1ed)fe(d)gd2Z)d3S )4r   z
    A Sophia lexer.
    ZSophiaZsophiaz*.aesz#https://docs.aeternity.com/aesophiaz2.11)Zcontractr   ZletswitchtyperecorddatatypeifelifelsefunctionZstatefulZpayablepublicZ
entrypointprivateZindexed	namespaceZ	interfacemainZusingasforZhiding)stateputabortrequire)modZbandZborZbxorZbnot)intaddressboolbitsbytesstringlistoptioncharunitmapeventhash	signatureoracleZoracle_queryz\\[\\"\'ntbr]z
\\[0-9]{3}z\\x[0-9a-fA-F]{2}z\s+z(true|false)\bz\b([A-Z][\w\']*)(?=\s*\.)dottedz\b([A-Z][\w\']*)z//.*?\nz	\/\*(?!/)commentz0[xX][\da-fA-F][\da-fA-F_]*z#[\da-fA-F][\da-fA-F_]*z\d[\d_]*z\b)suffix)prefixr3   z[=!<>+\\*/:&|?~@^-]z[.;:{}(),\[\]]z(ak_|ok_|oq_|ct_)[\w']*z[^\W\d][\w']*z7'(?:(\\[\\\"'ntbr ])|(\\[0-9]{3})|(\\x[0-9a-fA-F]{2}))'z'.'z'[a-z][\w]*"r'   z[^/*]+z\/\*z#pushz\*\/z#popz\*z[^\\"]+escape-sequencez\\\nz\.z[A-Z][\w\']*(?=\s*\.)z[A-Z][\w\']*z[a-z_][\w\']*)r6   rootr2   r'   r1   N)*__name__
__module____qualname____doc__namealiases	filenames	mimetypesurlZversion_addedkeywordsbuiltinsZword_operatorsZprimitive_typesr   ZEscaper   
Whitespacer   Constantr   ZClassZFunctionr   SingleZ	Multiliner	   ZHexZLabelZIntegerr   ZBuiltinr
   WordTyper   CharVariableDoubler   r   tokens rL   rL   :/tmp/pip-unpacked-wheel-zak7uw41/pygments/lexers/sophia.pyr      sr   






N)r;   Zpygments.lexerr   r   r   r   Zpygments.tokenr   r   r   r	   r
   r   r   r   __all__r   rL   rL   rL   rM   <module>   s   (