src/eric7/QScintilla/DocstringGenerator/EricdocGenerator.py

branch
eric7
changeset 9486
5a8179763e38
parent 9221
bf71ee032bb4
child 9653
e67609152c5e
equal deleted inserted replaced
9485:0f3620304d7a 9486:5a8179763e38
6 """ 6 """
7 Module implementing the docstring generator for the 'ericdoc' style. 7 Module implementing the docstring generator for the 'ericdoc' style.
8 """ 8 """
9 9
10 10
11 def generateEricDoc(functionInfo): 11 def generateDoc(functionInfo, editor):
12 """ 12 """
13 Function to generate the docstring line list iaw. eric documentation style. 13 Function to generate the docstring line list iaw. eric documentation
14 style.
14 15
15 Note: Partial English text is created with DESCRIPTION placeholders 16 Note: Text is created with DESCRIPTION placeholders for descriptions and
16 for descriptions and TYPE placeholders for type information 17 TYPE placeholders for type information
17 18
18 @param functionInfo object containing the function information to base 19 @param functionInfo object containing the function information to base
19 the docstring on 20 the docstring on
20 @type FunctionInfo 21 @type FunctionInfo
22 @param editor reference to the editor
23 @type Editor
21 @return list of docstring lines 24 @return list of docstring lines
22 @rtype str 25 @rtype str
23 """ 26 """
24 # __IGNORE_WARNING_D202__ 27 # __IGNORE_WARNING_D202__
25 lines = [] 28 lines = []

eric ide

mercurial