| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/pygments/lexers/__pycache__/ |
Upload File : |
a
SҼa�
� @ sV d Z ddlmZmZmZmZ ddlmZmZm Z m
Z
mZmZ dgZ
G dd� de�ZdS )z�
pygments.lexers.teal
~~~~~~~~~~~~~~~~~~~~
Lexer for TEAL.
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
� )�
RegexLexer�bygroups�include�words)�Comment�Name�Number�String�Text�Keyword� TealLexerc @ s� e Zd ZdZdZdgZdgZeh d�dd�ZdZ dZ
ed �d
e
ej
fde d d
d eejej�fe ejdfged �dedfdeejej�fdefdejfdejfeefe ejfe
edfg dejfdefdedfgdefdejfgd�ZdS )r a4
For the `Transaction Execution Approval Language (TEAL)
<https://developer.algorand.org/docs/reference/teal/specification/>`
For more information about the grammar, see:
https://github.com/algorand/go-algorand/blob/master/data/transactions/logic/assembler.go
.. versionadded:: 2.9
Ztealz*.teal>L Z LastValidZConfigAssetReserveZFreezeAssetAccountZConfigAssetClawbackZAccountsZAssetURLZFeeZSelectionPKZ
NumAppArgsZ GroupSizeZVoteLast�TypeZNoOpZConfigAssetFreezeZConfigAssetZ
GroupIndexZConfigAssetUnitNameZFirstValidTimeZCloseOutZConfigAssetTotalZRoundZ
AssetDecimalsZ
AssetClawbackZReceiverZ
FirstValidZTxIDZAssetSenderZClearStateProgramZAssetFrozenZSenderZ
ApplicationIDZConfigAssetManagerZTypeEnumZ
AssetUnitNameZOnCompletionZConfigAssetMetadataHashZLogicSigVersionZ
AssetTotalZAssetMetadataHashZAssetReserveZApprovalProgramZConfigAssetURLZ
MinBalanceZAmountZVoteKeyDilutionZAssetFreezeZ
AssetReceiverZNumAccountsZUpdateApplicationZLatestTimestampZVotePKZOptInZAssetBalanceZFreezeAssetFrozenZNoteZ
ClearStateZAssetAmountZFreezeAssetZ
MaxTxnLifeZ MinTxnFeeZDeleteApplicationZ VoteFirstZConfigAssetNameZConfigAssetDefaultFrozenZ AssetNameZConfigAssetDecimalsZZeroAddressZ XferAssetZCurrentApplicationIDZApplicationArgsZRekeyToZAssetManagerZLeaseZAssetCloseToZCloseRemainderToZAssetDefaultFrozenz\b)�suffixz[^ \t\n]+(?=\/\/)|[^ \t\n]+z\r?\n�
whitespacez^#pragma .*�(�:�)z([ ].*)�
function-args�"�stringz-(b(?:ase)?(?:32|64) ?)(\(?[a-zA-Z0-9+/=]+\)?)z[A-Z2-7]{58}z
0x[\da-fA-F]+z\d+z#popz\\(?:["nrt\\]|x\d\d)z
[^\\\"\n]+z[ \t]+z//[^\n]+)�rootr r r N)�__name__�
__module__�__qualname__�__doc__�name�aliases� filenamesr �keywordsZ
identifier�newliner r Z Directiver r ZLabel�SingleZFunctionr ZAffixZOtherr ZHexZIntegerr Z
Attributesr
ZEscape�tokens� r"