src/eric7/QScintilla/DocstringGenerator/BaseDocstringGenerator.py

branch
eric7
changeset 10078
9ebe2183cf49
parent 10069
435cc5875135
child 10431
64157aeb0312
equal deleted inserted replaced
10077:b8396ae5c2c2 10078:9ebe2183cf49
171 """ 171 """
172 self.hasInfo = False 172 self.hasInfo = False
173 self.funcionText = "" 173 self.funcionText = ""
174 self.argumentsText = "" 174 self.argumentsText = ""
175 175
176 self.functionName = ""
177 # name of the function
176 self.functionIndent = "" 178 self.functionIndent = ""
177 # indentation fo function definition 179 # indentation fo function definition
178 self.argumentsList = [] 180 self.argumentsList = []
179 # list of tuples with name, type and value 181 # list of tuples with name, type and value
180 self.returnTypeAnnotated = None 182 self.returnTypeAnnotated = None
193 # function is an asynchronous function, i.e. async def f(): 195 # function is an asynchronous function, i.e. async def f():
194 self.visibility = "" 196 self.visibility = ""
195 # function visibility with allowed values: 197 # function visibility with allowed values:
196 # public, protected, private or special (i.e. starting and 198 # public, protected, private or special (i.e. starting and
197 # ending with '__' 199 # ending with '__'
200 self.eventHandler = False
201 # function is an event handler method
198 202
199 def parseDefinition(self, text, quote, quoteReplace): 203 def parseDefinition(self, text, quote, quoteReplace):
200 """ 204 """
201 Public method to parse the function definition text. 205 Public method to parse the function definition text.
202 206

eric ide

mercurial