Skip to content

Commit

Permalink
Templates: Update x.type to x.datatype
Browse files Browse the repository at this point in the history
This is to match the variable name in the code now.  It might be
necessary to do another update of templates in combination with the next
iteration of the parser, a.k.a. "data driven" parser.
  • Loading branch information
Gunnar Andersson committed Jun 13, 2022
1 parent a9309b8 commit 3e419de
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions templates/simple_overview.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Header
Struct: {{ x.name }}
-> {{ x.description }}
{% for x in x.members %}
member: {{ x.name }} (of type {{x.type}})
member: {{ x.name }} (of type {{x.datatype}})
{% endfor %}
{% endfor %}
{% for x in n.typedefs %}
Expand All @@ -32,24 +32,23 @@ Header
Method: {{ x.name }}
-> {{ x.description }}
{% for x in x.in_arguments %}
in: {{ x.name }} (of type {{x.type}})
in: {{ x.name }} (of type {{x.datatype}})
{% endfor %}
{% for x in x.out_arguments %}
out: {{ x.name }} (of type {{x.type}})
out: {{ x.name }} (of type {{x.datatype}})
{% endfor %}
{% endfor %}
{% for x in n.events %}
Event: {{ x.name }}
-> {{ x.description }}
{% for x in x.in_arguments %}
in: {{ x.name }} (of type {{x.type}})
in: {{ x.name }} (of type {{x.datatype}})
{% endfor %}
{% endfor %}
{% for x in n.properties %}
Property: {{ x.name }}
-> {{ x.description }}
-> Type: {{ x.type }}
-> Datatype: {{ x.datatype }}
-> Type: {{ x.datatype }}
{% endfor %}
{% endfor %}
{% endfor %}
Expand Down

0 comments on commit 3e419de

Please sign in to comment.