User Tools

Site Tools


documentation:tiny2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
documentation:tiny2 [2023/09/16 21:09] – Clarify <safe-string> explanation nebelnidasdocumentation:tiny2 [2025/10/28 08:11] (current) – Add example for element without destination name nebelnidas
Line 12: Line 12:
  someProperty someValue  someProperty someValue
  anotherProperty  anotherProperty
-c a class_123 pkg/SomeClass+c a Class_123 pkg/SomeClass
  f [I a field_789 someField  f [I a field_789 someField
  m (III)V a method_456 someMethod  m (III)V a method_456 someMethod
Line 19: Line 19:
  p 3 param_2 z  p 3 param_2 z
  c Just a method for demonstrating the format.  c Just a method for demonstrating the format.
-c b class_234 pkg/xy/AnotherClass+c b ClassWithoutDstName
  m (Ljava/lang/String;)I a method_567 anotherMethod  m (Ljava/lang/String;)I a method_567 anotherMethod
 </code> </code>
Line 47: Line 47:
 <class-name-b>                  ::= <optional-class-name> <class-name-b>                  ::= <optional-class-name>
 <optional-class-name>           ::= '' | <class-name> <optional-class-name>           ::= '' | <class-name>
-<extra-ns-cls-names>            ::= '' | <tab> <optional-class-name> <extra-ns-class-names>+<extra-ns-class-names>          ::= '' | <tab> <optional-class-name> <extra-ns-class-names>
 <class-name>                    ::= <conf-safe-string> <class-name>                    ::= <conf-safe-string>
 <class-sub-sections>            ::= '' | <class-comment-section> <class-sub-sections> | <field-section> <class-sub-sections> | <method-section> <class-sub-sections> <class-sub-sections>            ::= '' | <class-comment-section> <class-sub-sections> | <field-section> <class-sub-sections> | <method-section> <class-sub-sections>
Line 118: Line 118:
   * Indenting uses tab characters exclusively, one tab character equals one level. The amount of leading tab characters is at most 1 more than in the preceding line.   * Indenting uses tab characters exclusively, one tab character equals one level. The amount of leading tab characters is at most 1 more than in the preceding line.
   * Sections or properties with unknown types/keys should be skipped without generating an error.   * Sections or properties with unknown types/keys should be skipped without generating an error.
-  * The amount of extra namespaces defined in the header and the amount of names in every ''%%extra-ns-*-names%%'' definition have to match. They are associated by their relative position, like the mandatory name spaces a and b that are associated by the suffix, e.g. ''%%namespace-a%%'' covers ''%%class-name-a%%'', ''%%field-name-a%%'', ''%%field-desc-a%%'', ''%%method-name-a%%'', ''%%method-desc-a%%'' and ''%%var-desc-a%%'',.+  * The amount of extra namespaces defined in the header and the amount of names in every ''%%extra-ns-*-names%%'' definition have to match. They are associated by their relative position, like the mandatory name spaces ''a'' and ''b'' that are associated by the suffix, e.g. ''%%namespace-a%%'' covers ''%%class-name-a%%'', ''%%field-name-a%%'', ''%%field-desc-a%%'', ''%%method-name-a%%'', ''%%method-desc-a%%'' and ''%%var-desc-a%%'',.
   * Sections representing the same element must not be repeated, e.g. there can be only one top-level section for a specific class or one class-level section for a specific member.   * Sections representing the same element must not be repeated, e.g. there can be only one top-level section for a specific class or one class-level section for a specific member.
   * If any variable mapping doesn't specify a LVT index, e.g. due to a missing ''LocalVariableTable'' attribute in one of the methods, the property ''missing-lvt-indices'' has to be added to.   * If any variable mapping doesn't specify a LVT index, e.g. due to a missing ''LocalVariableTable'' attribute in one of the methods, the property ''missing-lvt-indices'' has to be added to.
documentation/tiny2.1694898591.txt.gz · Last modified: 2023/09/16 21:09 by nebelnidas