summaryrefslogtreecommitdiff
path: root/src/scripts/pyolian/test_gen_class.template
blob: ff8c17de62e5b0b0286a9a996c688b0929ae987f (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

================================================================================
Class:        ${cls.full_name}$
================================================================================
Class type:   ${cls.type}$
Base Class:   ${cls.base_class.full_name if cls.base_class else None}$
Inherits:     ${', '.join([i.full_name for i in cls.inherits])}$
Hierarchy:    ${' => '.join([i.full_name for i in cls.hierarchy])}$
InheritsFull: ${', '.join([i.full_name for i in cls.inherits_full])}$
Namespace:    ${cls.namespace}$
Namespaces:   ${list(cls.namespaces)}$
File:         ${cls.file}$
Ctor enable:  ${cls.ctor_enable}$
Dtor enable:  ${cls.dtor_enable}$

Constructors:
=============
<!--(for ctor in cls.constructors)-->
 * ${ctor}$
<!--(else)-->
 no constructors available
<!--(end)-->

Methods:
========
<!--(for func in cls.methods)-->
 * ${func.name}$(...) ${func.method_scope}$
<!--(else)-->
 no methods available
<!--(end)-->

Properties:
===========
<!--(for func in cls.properties)-->
 * ${func.name}$ (<!--(for v in func.getter_values)-->${v.type.c_type}$ ${v.name}$, <!--(end)-->)
<!--(else)-->
 no properties available
<!--(end)-->

Implements:
===========
<!--(for i in cls.implements)-->
 * ${i.full_name}$
<!--(else)-->
 no implements available
<!--(end)-->

Events:
=======
<!--(for event in cls.events)-->
 * ${event.name}$ -> ${event.c_name}$
<!--(else)-->
 no events available
<!--(end)-->