summaryrefslogtreecommitdiff
path: root/src/scripts/pyolian/test_gen_namespace.template
blob: 8cdb4f7ca7a0d18482b49345d9887637ca1f3343 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67

================================================================================
Namespace:    ${namespace.name}$  ${namespace.namespaces}$
================================================================================

Regular Classes:
================
<!--(for cls in namespace.regulars)-->
 * ${cls.name}$
<!--(else)-->
 no classes available
<!--(end)-->

Abstract Classes:
================
<!--(for cls in namespace.abstracts)-->
 * ${cls.name}$
<!--(else)-->
 no classes available
<!--(end)-->

Mixins:
=======
<!--(for cls in namespace.mixins)-->
 * ${cls.name}$
<!--(else)-->
 no classes available
<!--(end)-->

Interfaces:
===========
<!--(for cls in namespace.interfaces)-->
 * ${cls.name}$
<!--(else)-->
 no classes available
<!--(end)-->

Aliases:
========
<!--(for typedecl in namespace.aliases)-->
 * ${typedecl.name}$
<!--(else)-->
 no alias available
<!--(end)-->

Structs:
========
<!--(for typedecl in namespace.structs)-->
 * ${typedecl.name}$
    <!--(for field in typedecl.struct_fields)-->
    ${field.type.name}$ ${field.name}$
    <!--(end)-->
<!--(else)-->
 no structs available
<!--(end)-->

Enums:
======
<!--(for typedecl in namespace.enums)-->
 * ${typedecl.name}$
    <!--(for field in typedecl.enum_fields)-->
    ${field.c_name}$ = ${field.value.serialize}$
    <!--(end)-->
<!--(else)-->
 no enums available
<!--(end)-->