documentation:tiny2
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| documentation:tiny2 [2023/09/16 08:51] – Order fields before methods nebelnidas | documentation: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/ | + | c a Class_123 pkg/ |
| 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/ | + | c b ClassWithoutDstName |
| m (Ljava/ | m (Ljava/ | ||
| </ | </ | ||
| Line 26: | Line 26: | ||
| ===== Grammar ===== | ===== Grammar ===== | ||
| < | < | ||
| - | < | + | < |
| < | < | ||
| Line 41: | Line 41: | ||
| < | < | ||
| - | <sections> ::= '' | + | <content> |
| < | < | ||
| Line 47: | Line 47: | ||
| < | < | ||
| < | < | ||
| - | < | + | < |
| < | < | ||
| - | < | + | < |
| < | < | ||
| Line 69: | Line 69: | ||
| < | < | ||
| < | < | ||
| - | < | + | < |
| < | < | ||
| Line 98: | Line 98: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| * '' | * '' | ||
| - | * '' | + | * '' |
| - | * | + | |
| - | * ''" | + | |
| - | * ''" | + | |
| - | * ''" | + | |
| - | * ''" | + | |
| * '' | * '' | ||
| * '' | * '' | ||
| Line 123: | Line 118: | ||
| * Indenting uses tab characters exclusively, | * Indenting uses tab characters exclusively, | ||
| * 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 '' | + | * The amount of extra namespaces defined in the header and the amount of names in every '' |
| * 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' | + | * If any variable mapping doesn' |
| - | * Mappings without any useful names or sub-sections should be omitted. | + | * Mappings without any (useful) names should be omitted. |
| + | * Sections without any (useful) mappings | ||
| * Comments should be without their enclosing syntax elements, indentation or decoration. For example, the comment < | * Comments should be without their enclosing syntax elements, indentation or decoration. For example, the comment < | ||
| /** | /** | ||
documentation/tiny2.1694854285.txt.gz · Last modified: 2023/09/16 08:51 by nebelnidas