mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Swift: move stub QLdocs to separate templates
This commit is contained in:
@@ -1,21 +1,12 @@
|
||||
// generated by {{generator}}, remove this comment if you wish to edit this file
|
||||
/**
|
||||
* This module provides a hand-modifiable wrapper around the generated class `{{name}}`.
|
||||
{{#ql_internal}}
|
||||
* INTERNAL: Do not use.
|
||||
{{/ql_internal}}
|
||||
*/
|
||||
{{>ql_stub_module_qldoc}}
|
||||
private import {{base_import}}
|
||||
{{#has_synth_accessors}}
|
||||
private import {{import_prefix}}.Raw
|
||||
private import {{import_prefix}}.Synth
|
||||
{{/has_synth_accessors}}
|
||||
|
||||
{{#ql_internal}}
|
||||
/**
|
||||
* INTERNAL: Do not use.
|
||||
*/
|
||||
{{/ql_internal}}
|
||||
{{>ql_stub_class_qldoc}}
|
||||
class {{name}} extends Generated::{{name}} {
|
||||
{{#synth_accessors}}
|
||||
private
|
||||
|
||||
5
misc/codegen/templates/ql_stub_class_qldoc.mustache
Normal file
5
misc/codegen/templates/ql_stub_class_qldoc.mustache
Normal file
@@ -0,0 +1,5 @@
|
||||
{{#ql_internal}}
|
||||
/**
|
||||
* INTERNAL: Do not use.
|
||||
*/
|
||||
{{/ql_internal}}
|
||||
6
misc/codegen/templates/ql_stub_module_qldoc.mustache
Normal file
6
misc/codegen/templates/ql_stub_module_qldoc.mustache
Normal file
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* This module provides a hand-modifiable wrapper around the generated class `{{name}}`.
|
||||
{{#ql_internal}}
|
||||
* INTERNAL: Do not use.
|
||||
{{/ql_internal}}
|
||||
*/
|
||||
Reference in New Issue
Block a user