diff CodeAnalysis/FunctionDocumentation.mustache @ 185:7e8085f80df5 java-code-model

simplification
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 02 Jul 2024 15:51:35 +0200
parents faaa3fec799a
children 28531e615104
line wrap: on
line diff
--- a/CodeAnalysis/FunctionDocumentation.mustache	Tue Jul 02 15:49:05 2024 +0200
+++ b/CodeAnalysis/FunctionDocumentation.mustache	Tue Jul 02 15:51:35 2024 +0200
@@ -1,7 +1,7 @@
 {{#documentation.short_description}}
 # {{documentation.short_description}}
 {{/documentation.short_description}}
-def {{short_name}}({{#is_method}}self{{#documentation.has_args}}, {{/documentation.has_args}}{{/is_method}}{{documentation.args_declaration}}) -> {{documentation.return_type}}:
+def {{short_name}}({{#self}}self{{#documentation.has_args}}, {{/documentation.has_args}}{{/self}}{{documentation.args_declaration}}) -> {{documentation.return_type}}:
     """
 {{#documentation.description}}
     {{text}}