src/eric7/QScintilla/DocstringGenerator/BaseDocstringGenerator.py

branch
eric7
changeset 9500
5771348ded12
parent 9497
8beca4047c53
child 9653
e67609152c5e
diff -r dd389c57c2f0 -r 5771348ded12 src/eric7/QScintilla/DocstringGenerator/BaseDocstringGenerator.py
--- a/src/eric7/QScintilla/DocstringGenerator/BaseDocstringGenerator.py	Wed Nov 09 11:32:13 2022 +0100
+++ b/src/eric7/QScintilla/DocstringGenerator/BaseDocstringGenerator.py	Wed Nov 09 15:05:06 2022 +0100
@@ -196,6 +196,32 @@
         # public, protected, private or special (i.e. starting and
         # ending with '__'
 
+    def parseDefinition(self, text, quote, quoteReplace):
+        """
+        Public method to parse the function definition text.
+
+        Note: This method should be overwritten in subclasses.
+
+        @param text text containing the function definition
+        @type str
+        @param quote quote string to be replaced
+        @type str
+        @param quoteReplace quote string to replace the original
+        @type str
+        """
+        pass
+
+    def parseBody(self, text):
+        """
+        Public method to parse the function body text.
+
+        Note: This method should be overwritten in subclasses.
+
+        @param text function body text
+        @type str
+        """
+        pass
+
 
 class DocstringMenuForEnterOnly(QMenu):
     """

eric ide

mercurial