diff --git a/baksmali/src/resources/templates/baksmali.stg b/baksmali/src/resources/templates/baksmali.stg new file mode 100644 index 00000000..5365ef82 --- /dev/null +++ b/baksmali/src/resources/templates/baksmali.stg @@ -0,0 +1,105 @@ +group baksmali; + +smaliFile(classDef) ::= +<< +.class +.super + + +/** + * Interfaces + */ + + + + + +/** + * Static fields + */ + + + + + +/** + * InstanceFields + */ + + + + + +/** + * Direct methods + */ + + + + + +/** + * Virtual methods + */ + + + +>> + + + + +implement(interface) ::= +<< +.implements +>> + + + + +field(fieldDef) ::= +<< +.field : +>> + + +method(methodDef) ::= +<< +.method + + .registers + + + +.end method +>> + +Instruction(Instruction) ::= +<< + +>> + +Format10x() ::= +<< + +>> + +Format11x() ::= +<< + v +>> + +Format21c() ::= +<< + v, <({Reference_})(it.ReferencedItem)> +>> + +Format35c() ::= +<< + +>> + +Reference_string(StringItem) ::= +<< +"" +>> \ No newline at end of file