HOME


Mini Shell 1.0
DIR: /usr/lib/python3/dist-packages/pygments/lexers/__pycache__/
Upload File :
Current File : //usr/lib/python3/dist-packages/pygments/lexers/__pycache__/dalvik.cpython-312.pyc
�

|�e���h�dZddlZddlmZmZmZddlmZmZm	Z	m
Z
mZmZm
Z
mZdgZGd�de�Zy)z�
    pygments.lexers.dalvik
    ~~~~~~~~~~~~~~~~~~~~~~

    Pygments lexers for Dalvik VM-related languages.

    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�
RegexLexer�include�bygroups)�Keyword�Text�Comment�Name�String�Number�Punctuation�
Whitespace�
SmaliLexerc���eZdZdZdZdZdgZdgZdgZe	d�e	d�e	d	�e	d
�e	d�e	d�e	d
�e	d�e	d�e	d�e	d�e	d�gde
ee�fde
eeee�fde
eeee�fgdefgdefdefgde
jfde
ee�fgdefdej$fdej&fdej(fgde
ee
j,e�fgd e
j.fd!e
ee
j.e�fgd"e
j0fgd#e
ej2ee
j4e�fgd$efd%efgd&ej2fgd'efgd(�
Zd)�Zy*)+rzR
    For Smali (Android/Dalvik) assembly
    code.

    .. versionadded:: 1.6
    �Smalizhttp://code.google.com/p/smali/�smaliz*.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))zq^([ \t]*)(\.end)( )(field|subannotation|annotation|method|array-data|packed-switch|sparse-switch|parameter|local)z^([ \t]*)(\.restart)( )(local)z�(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)
�rootrrrrrrrrrrrrc��d}tjd|tj�r/|dz
}tjd|tj�r|dz
}tjd|tj�r|dz
}|S)Nrz
^\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)�text�scores  �8/usr/lib/python3/dist-packages/pygments/lexers/dalvik.py�analyse_textzSmaliLexer.analyse_textnsz����
�9�9�%�t�R�\�\�:��S�L�E��y�y�3�59�"�,�,�H�����
�9�9�8�:>�r�|�|�
M�
�S�L�E���N)�__name__�
__module__�__qualname__�__doc__�name�url�aliases�	filenames�	mimetypesrrr
rr	�Builtinrr
r�Hex�Float�Integerr�Variable�Function�Label�Type�Classr�tokensr&�r'r%rrs*����D�
+�C��i�G���I���I�
�I���G���G���H���G���K� ��%�&��M�"��I���M�"��F�O��L�!�

�"�$,�J��#@�
B�<�
�j�'�:�w�
?�
A�/�
�j�'�:�w�
?�
A�

��$�
%�
��J��
�Z� �
�
�T�\�\�*�
,�h�t�Z�.H�I�
�
�f��
 �&�*�*�-�
0�&�,�,�?�
�&�.�.�)�	
�#�
�k�4�=�=�+�
>�
@�
�
�t�}�}�-�
#�
�k�4�=�=�+�
>�
@�
��d�j�j�!�
�-�����t�T�Z�Z��>�
@�	
��K� �
�[�)�
�
����-�
��� �
�QK�F�Zr')r+r �pygments.lexerrrr�pygments.tokenrrrr	r
rrr
�__all__rr;r'r%�<module>r?s;���
�8�8�����.��k��kr'