mirror of
https://github.com/pxb1988/dex2jar.git
synced 2024-11-30 16:50:42 +00:00
support .param in smali
--HG-- branch : 2.x
This commit is contained in:
parent
fd927793a7
commit
7261f0e627
@ -233,7 +233,7 @@ sFieldValue returns[Object s]
|
||||
: a=sBaseValue {$s=$a.v;};
|
||||
sParameter[DexMethodVisitor dmv, int paramIndex, DexDebugVisitor debugVisitor]
|
||||
: ('.parameter' (a=STRING { debugVisitor.visitParameterName(paramIndex,unescapeStr($a.text)); } )? ( ( {dexAnnotationAble=dmv.visitParameterAnnotation(paramIndex);} sAnnotation {dexAnnotationAble=null;})* '.end parameter')?)
|
||||
| ('.param' { if(true){throw new RuntimeException("not support '.param' yet");} } REGISTER (',' STRING)? (({dexAnnotationAble=dmv.visitParameterAnnotation(paramIndex);} sAnnotation {dexAnnotationAble=null;})* '.end param')?)
|
||||
| ('.param' r1=REGISTER (',' a=STRING { debugVisitor.visitParameterName(getReg($r1.text), unescapeStr($a.text)); } )? (({dexAnnotationAble=dmv.visitParameterAnnotation(getReg($r1.text));} sAnnotation {dexAnnotationAble=null;})* '.end param')?)
|
||||
;
|
||||
sAnnotationKeyName
|
||||
: sBaseMemberName|ACC;
|
||||
|
Loading…
Reference in New Issue
Block a user