YBFjpdZddlZddlmZmZmZddlmZmZm Z m Z m Z m Z m Z mZdgZGddeZdS)z pygments.lexers.dalvik ~~~~~~~~~~~~~~~~~~~~~~ Pygments lexers for Dalvik VM-related languages. :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. N) RegexLexerincludebygroups)KeywordTextCommentNameStringNumber Punctuation Whitespace SmaliLexerceZdZdZdZdZdgZdgZdgZdZ e de d e d e d e d e d e de de de de de dg de e e fde e e e e fde e e e e fgde fgde fde fgdejfde ee fgdefdejfdejfdejfgd e eejefgd!ejfd"e eejefgd#ejfgd$e e jeejefgd%efd&efgd'e jfgd(efgd) Zd*Zd+S),rz7 For Smali (Android/Dalvik) assembly code. Smalizhttp://code.google.com/p/smali/smaliz*.smaliz text/smaliz1.6commentlabelfieldmethodclass directiveaccess-modifier instructionliteral punctuationtype 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) rootrrrrrrrrrrrrcd}tjd|tjr*|dz }tjd|tjr|dz }tjd|tjr|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?)research MULTILINE)textscores DC:\PYTHON\_runtimes\venv\Lib\site-packages\pygments/lexers/dalvik.py analyse_textzSmaliLexer.analyse_textms 9%tR\ : :  SLEy359",HH   98 :>r|  M M  SLE N)__name__ __module__ __qualname____doc__nameurlaliases filenames mimetypes version_addedrrr rr Builtinrr r HexFloatIntegerr VariableFunctionLabelTypeClassrtokensr&r'r%rrs D +CiG IIM GI   GG   GG   GH   GG   GK G% & & GM " " GI   GM " " GFOO GL ! !  "$,8J#@#@ B< Xj':w ? ? A/ Xj':w ? ? A  $ % J  Z  T\ * ,hhtZ.H.H I f  &* - 0&, ? &. )  # Xk4=+ > > @ t} - # Xk4=+ > > @ dj ! -tTZ>> @  K [ )  -   QKKFZr')r+r pygments.lexerrrrpygments.tokenrrrr r r r r __all__rr<r'r%r@s 8888888888 .jjjjjjjjjjr'