Ejemplo n.º 1
0
 def computeIndent(self, scimoz, indentStyle, continueComments,
                   calculatedData=None):
     """
     calculatedData: a dict containing info already calculated by
     a lower method
     """
     if continueComments:
         return KoLanguageBase.computeIndent(self, scimoz, indentStyle, continueComments)
     # Don't end up calling a subclass routine.
     indent = KoLanguageKeywordBase._computeIndent(self, scimoz, indentStyle, continueComments, self._style_info, calculatedData)
     if indent is not None:
         return indent
     return KoLanguageBase._computeIndent(self, scimoz, indentStyle, continueComments, self._style_info)
Ejemplo n.º 2
0
 def computeIndent(self, scimoz, indentStyle, continueComments,
                   calculatedData=None):
     """
     calculatedData: a dict containing info already calculated by
     a lower method
     """
     if continueComments:
         return KoLanguageBase.computeIndent(self, scimoz, indentStyle, continueComments)
     # Don't end up calling a subclass routine.
     indent = KoLanguageKeywordBase._computeIndent(self, scimoz, indentStyle, continueComments, self._style_info, calculatedData)
     if indent is not None:
         return indent
     return KoLanguageBase._computeIndent(self, scimoz, indentStyle, continueComments, self._style_info)