| 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, � @ sZ d dl Z d dlmZmZmZ d dlmZmZmZm Z m
Z
mZmZ dgZ
G dd� de�ZdS )� N)�
RegexLexer�include�bygroups)�Keyword�Text�Comment�Name�String�Number�Punctuation�
SmaliLexerc @ s@ e Zd ZdZdgZdgZdgZed�ed�ed�ed�ed �ed
�ed�ed�ed
�ed�ed�ed�gdefdefdefgdefgde fde fgde
jfde fgdefde
jfde
jfde
jfgdeee
je�fgde
jfdeee
je�fgd e
jfgd!eeje e
je �fgd"efd#efgd$ejfgd%efgd&�
Zd'd(� Zd)S )*r ZSmaliZsmaliz*.smaliz
text/smali�comment�label�field�method�class� directive�access-modifier�instruction�literal�punctuation�type�
whitespacez�^[ \t]*\.(class|super|implements|field|subannotation|annotation|enum|method|registers|locals|array-data|packed-switch|sparse-switch|catchall|catch|line|parameter|local|prologue|epilogue|source)zk^[ \t]*\.end (field|subannotation|annotation|method|array-data|packed-switch|sparse-switch|parameter|local)z^[ \t]*\.restart localz�(public|private|protected|static|final|synchronized|bridge|varargs|native|abstract|strictfp|synthetic|constructor|declared-synchronized|interface|enum|annotation|volatile|transient)z\nz\s+z\b[vp]\d+\bz\b[a-z][A-Za-z0-9/-]+\s+z".*"z0x[0-9A-Fa-f]+t?z [0-9]*\.[0-9]+([eE][0-9]+)?[fd]?z[0-9]+L?z(\$?\b)([\w$]*)(:)z
<(?:cl)?init>z(\$?\b)([\w$]*)(\()z:\w+z(L)((?:[\w$]+/)*)([\w$]+)(;)z->z[{},():=.-]z[ZBSCIJFDV\[]+z#.*?\n)
�rootr r r r r r r r r r r r
c C sP d}t �d| t j�r4|d7 }t �d| t j�r4|d7 }t �d| t j�rL|d7 }|S )Nr z
^\s*\.class\sg �?z�\b((check-cast|instance-of|throw-verification-error)\b|(-to|add|[ais]get|[ais]put|and|cmpl|const|div|if|invoke|move|mul|neg|not|or|rem|return|rsub|shl|shr|sub|ushr)[-/])|{|}g333333�?a> (\.(catchall|epilogue|restart local|prologue)|\b(array-data|class-change-error|declared-synchronized|(field|inline|vtable)@0x[0-9a-fA-F]|generic-error|illegal-class-access|illegal-field-access|illegal-method-access|instantiation-error|no-error|no-such-class|no-such-field|no-such-method|packed-switch|sparse-switch))\bg333333�?)�re�search� MULTILINE)�textZscore� r �:/usr/lib/python3.9/site-packages/pygments/lexers/dalvik.py�analyse_textk s ��zSmaliLexer.analyse_textN)�__name__�
__module__�__qualname__�name�aliases� filenamesZ mimetypesr r r r ZBuiltinr r
ZHexZFloatZIntegerr r ZVariableZFunctionZLabel�TypeZClassr �tokensr r r r r r s� ����
����������������K)r Zpygments.lexerr r r Zpygments.tokenr r r r r r
r �__all__r r r r r �<module> s $