Skip to content

Commit b4fd95b

Browse files
committed
Swift: move stub QLdocs to separate templates
1 parent 5b724a7 commit b4fd95b

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

misc/codegen/templates/ql_stub.mustache

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,12 @@
11
// generated by {{generator}}, remove this comment if you wish to edit this file
2-
/**
3-
* This module provides a hand-modifiable wrapper around the generated class `{{name}}`.
4-
{{#ql_internal}}
5-
* INTERNAL: Do not use.
6-
{{/ql_internal}}
7-
*/
2+
{{>ql_stub_module_qldoc}}
83
private import {{base_import}}
94
{{#has_synth_accessors}}
105
private import {{import_prefix}}.Raw
116
private import {{import_prefix}}.Synth
127
{{/has_synth_accessors}}
138

14-
{{#ql_internal}}
15-
/**
16-
* INTERNAL: Do not use.
17-
*/
18-
{{/ql_internal}}
9+
{{>ql_stub_class_qldoc}}
1910
class {{name}} extends Generated::{{name}} {
2011
{{#synth_accessors}}
2112
private
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{{#ql_internal}}
2+
/**
3+
* INTERNAL: Do not use.
4+
*/
5+
{{/ql_internal}}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**
2+
* This module provides a hand-modifiable wrapper around the generated class `{{name}}`.
3+
{{#ql_internal}}
4+
* INTERNAL: Do not use.
5+
{{/ql_internal}}
6+
*/

0 commit comments

Comments
 (0)