File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/pygments/lexers/__pycache__/sophia.cpython-310.pyc
Back
o ;j3 � @ s^ d Z ddlmZmZmZmZ ddlmZmZm Z m Z mZmZm Z mZ dgZG dd� de�ZdS )z� pygments.lexers.sophia ~~~~~~~~~~~~~~~~~~~~~~ Lexer for Sophia. Derived from pygments/lexers/reason.py. :copyright: Copyright 2006-present 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 Zd ZdZdZdgZdgZg ZdZdZ dZ dZd Zd Z dejfdejfd ejfgdejfdejfdejdfdejfdejfdejdfdejfdejfdejfee dd�efeedd�ejfeeddd�e j!fee ddd�ej"fde j!fde#fdejfdefd ej$fd!ej$fd"ej%fd#ej&d$fgd%ejfd&ejd'fd(ejd)fd*ejfgd+ej&fe'd,�d-ej&fd#ej&d)fgdefd.e#fd/ejfd0ejd)fd1ed)fe(d)�gd2�Z)d3S )4r z A Sophia lexer. ZSophiaZsophiaz*.aesz#https://docs.aeternity.com/aesophiaz2.11)Zcontractr ZletZswitch�type�recordZdatatype�if�elif�else�functionZstatefulZpayableZpublicZ entrypointZprivateZindexed� namespaceZ interface�mainZusing�as�forZhiding)�state�put�abortZrequire)�modZbandZborZbxorZbnot)�int�address�bool�bits�bytes�string�list�option�charZunit�map�event�hashZ signatureZoracleZoracle_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 \/\*(?!/)�commentz0[xX][\da-fA-F][\da-fA-F_]*z#[\da-fA-F][\da-fA-F_]*z\d[\d_]*z\b)�suffix)�prefixr+ 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"