| 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� � @ sb d dl mZmZmZmZmZ d dlmZmZm Z m
Z
mZmZm
Z
mZmZ dgZG dd� de�ZdS )� )�
RegexLexer�include�bygroups�words�default) �Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�
Whitespace� RustLexerc - @ s e Zd ZdZddgZddgZddgZedd d
�ej fZ
edd d
�ejfZ
edd
d
�ejjfZdejfed�gdefdefdejfdejfdejfdejdfdejdfdejdfdejfedd d
�efedd d
�ejfdejfdejjfded fd!ejfd"ed#fd$ed%fd&eeee�fe
d'ejjfe
ed(efd)ed%fd*eeejej�fd+ej fd,ej fd-e!j"d.fd/e!j#d.fd0e!j$d.fd1e!j%d.fd2e!j&d.fd3ed4fd5ed6fd7efd8e'd9fd:e'fd;e(fd<e'fd=efd>efd?ejd@fdAefg+dBejfdejdCfdDejdEfdFejfgdBejfdejdCfdDejdEfdFejfgdefd=ej)dEfedE�gdefd=ejdEfedE�gdefdGejfd8e'd9fe
e
d=ej*dEfedE�gdHejfdIej+fedE�gdJedEfdKedEfedE�gd5edEfdLej,fdMefdNefgdOej,fe-d6�gd5ed6fdPejd@fge-dQ�dRejdEfdSejfgdT�
Z.dUS )Vr ZRustz*.rsz*.rs.inZrustZrsz text/rustztext/x-rust)�u8�u16�u32Zu64Zu128Zi8Zi16Zi32Zi64Zi128ZusizeZisizeZf32Zf64�char�str�boolz\b)�suffix)$ZCopyZSend�SizedZSyncZUnpinZDropZFnZFnMutZFnOnceZdropZBoxZToOwnedZCloneZ PartialEqZ
PartialOrdZEqZOrdZAsRefZAsMutZIntoZFromZDefault�IteratorZExtendZIntoIteratorZDoubleEndedIteratorZExactSizeIteratorZOptionZSome�NoneZResultZOkZErrr ZToStringZVec)2Zasm�assertZ assert_eqZ assert_neZcfg�columnZ
compile_error�concatZ
concat_identsZdbgZdebug_assertZdebug_assert_eqZdebug_assert_ne�envZeprintZeprintln�file�formatZformat_argsZformat_args_nlZ
global_asmr Z
include_bytesZinclude_strZis_aarch64_feature_detectedZis_arm_feature_detectedZis_mips64_feature_detectedZis_mips_feature_detectedZis_powerpc64_feature_detectedZis_powerpc_feature_detectedZis_x86_feature_detected�lineZllvm_asmZ
log_syntaxZmacro_rules�matchesZmodule_pathZ
option_envZpanic�printZprintlnZ stringifyZthread_localZtodoZtrace_macrosZ
unimplementedZunreachableZvec�writeZwriteln�!z
#![^[\r\n].*$�basez\nz\s+z//!.*?\nz///(\n|[^/].*?\n)z //(.*?)\nz/\*\*(\n|[^/*])�
doccommentz/\*!z/\*�commentz\$([a-zA-Z_]\w*|\(,?|\),?|,?))�as�async�awaitZbox�constZcrateZdyn�elseZextern�for�if�impl�inZloop�match�moveZmutZpub�ref�returnZstatic�superZtraitZunsafeZuse�where�while)ZabstractZbecomeZdo�finalZmacro�overrideZprivZtypeof�tryZunsizedZvirtual�yieldz(true|false)\bzself\bzmod\b�modnamezlet\bzfn\b�funcnamez(struct|enum|type|union)\b�typenamez(default)(\s+)(type|fn)\bz [sS]elf\bz::\bz(?::|->)z((break|continue)(\b\s*)(\'[A-Za-z_]\w*)?zA'(\\['"\\nrt]|\\x[0-7][0-9a-fA-F]|\\0|\\u\{[0-9a-fA-F]{1,6}\}|.)'z@b'(\\['"\\nrt]|\\x[0-9a-fA-F]{2}|\\0|\\u\{[0-9a-fA-F]{1,6}\}|.)'z0b[01_]+�
number_litz 0o[0-7_]+z0[xX][0-9a-fA-F_]+zJ[0-9][0-9_]*(\.[0-9_]+[eE][+\-]?[0-9_]+|\.[0-9_]*(?!\.)|[eE][+\-]?[0-9_]+)z[0-9][0-9_]*zb"�
bytestring�"�stringz(?s)b?r(#*)".*?"\1�'�lifetimez\.\.=?z
[{}()\[\],.;]z[+\-*/%&|<>^!~@=:?]z[a-zA-Z_]\w*zr#[a-zA-Z_]\w*z#!?\[�
attribute[�#z[^*/]+z#pushz\*/z#popz[*/]�&z
(static|_)z
[a-zA-Z_]+\w*z[ui](8|16|32|64|size)zf(32|64)z;\\['"\\nrt]|\\x[0-7][0-9a-fA-F]|\\0|\\u\{[0-9a-fA-F]{1,6}\}z[^\\"]+z\\z\\x[89a-fA-F][0-9a-fA-F]z\[�attribute_commonz\]z [^"\]\[]+)
�rootr&