aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/pyolian
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2018-03-17 11:37:13 +0100
committerDave Andreoli <dave@gurumeditation.it>2018-03-17 11:37:13 +0100
commit2cb896dfab7180e3dc802be01987943c0bd3e555 (patch)
tree7bd9de879ae1ea1415e8a5f59aa4317e35a976b5 /src/scripts/pyolian
parentPyolian: let ctypes automatically convert types (diff)
downloadefl-2cb896dfab7180e3dc802be01987943c0bd3e555.tar.gz
Pyolian doc generator: update wrt name API changes
Argh, this has been difficult... hopefully I have done this right
Diffstat (limited to 'src/scripts/pyolian')
-rw-r--r--src/scripts/pyolian/test_gen_class.template12
-rw-r--r--src/scripts/pyolian/test_gen_namespace.template14
2 files changed, 13 insertions, 13 deletions
diff --git a/src/scripts/pyolian/test_gen_class.template b/src/scripts/pyolian/test_gen_class.template
index 15129bf080..cc0e845ab5 100644
--- a/src/scripts/pyolian/test_gen_class.template
+++ b/src/scripts/pyolian/test_gen_class.template
@@ -1,12 +1,12 @@
================================================================================
-Class: ${cls.full_name}$
+Class: ${cls.name}$ (${cls.short_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])}$
+Base Class: ${cls.base_class.name if cls.base_class else None}$
+Inherits: ${', '.join([i.name for i in cls.inherits])}$
+Hierarchy: ${' => '.join([i.name for i in cls.hierarchy])}$
+InheritsFull: ${', '.join([i.name for i in cls.inherits_full])}$
Namespace: ${cls.namespace}$
Namespaces: ${list(cls.namespaces)}$
File: ${cls.file}$
@@ -40,7 +40,7 @@ Properties:
Implements:
===========
<!--(for i in cls.implements)-->
- * ${i.full_name}$
+ * ${i.name}$
<!--(else)-->
no implements available
<!--(end)-->
diff --git a/src/scripts/pyolian/test_gen_namespace.template b/src/scripts/pyolian/test_gen_namespace.template
index 2276c4ce96..8cdb4f7ca7 100644
--- a/src/scripts/pyolian/test_gen_namespace.template
+++ b/src/scripts/pyolian/test_gen_namespace.template
@@ -6,7 +6,7 @@ Namespace: ${namespace.name}$ ${namespace.namespaces}$
Regular Classes:
================
<!--(for cls in namespace.regulars)-->
- * ${cls.full_name}$
+ * ${cls.name}$
<!--(else)-->
no classes available
<!--(end)-->
@@ -14,7 +14,7 @@ Regular Classes:
Abstract Classes:
================
<!--(for cls in namespace.abstracts)-->
- * ${cls.full_name}$
+ * ${cls.name}$
<!--(else)-->
no classes available
<!--(end)-->
@@ -22,7 +22,7 @@ Abstract Classes:
Mixins:
=======
<!--(for cls in namespace.mixins)-->
- * ${cls.full_name}$
+ * ${cls.name}$
<!--(else)-->
no classes available
<!--(end)-->
@@ -30,7 +30,7 @@ Mixins:
Interfaces:
===========
<!--(for cls in namespace.interfaces)-->
- * ${cls.full_name}$
+ * ${cls.name}$
<!--(else)-->
no classes available
<!--(end)-->
@@ -38,7 +38,7 @@ Interfaces:
Aliases:
========
<!--(for typedecl in namespace.aliases)-->
- * ${typedecl.full_name}$
+ * ${typedecl.name}$
<!--(else)-->
no alias available
<!--(end)-->
@@ -46,7 +46,7 @@ Aliases:
Structs:
========
<!--(for typedecl in namespace.structs)-->
- * ${typedecl.full_name}$
+ * ${typedecl.name}$
<!--(for field in typedecl.struct_fields)-->
${field.type.name}$ ${field.name}$
<!--(end)-->
@@ -57,7 +57,7 @@ Structs:
Enums:
======
<!--(for typedecl in namespace.enums)-->
- * ${typedecl.full_name}$
+ * ${typedecl.name}$
<!--(for field in typedecl.enum_fields)-->
${field.c_name}$ = ${field.value.serialize}$
<!--(end)-->