UI/BrowserModel.py

branch
Py2 comp.
changeset 2791
a9577f248f04
parent 2677
3d4277929fb3
parent 2769
8cbebde7a984
child 2847
1843ef6e2656
equal deleted inserted replaced
2790:6686a3326df8 2791:a9577f248f04
1284 1284
1285 return line number defining the object (integer) 1285 return line number defining the object (integer)
1286 """ 1286 """
1287 return self._classObject.lineno 1287 return self._classObject.lineno
1288 1288
1289 def boundaries(self):
1290 """
1291 Public method returning the boundaries of the method definition.
1292
1293 @return tuple with start end end line number (integer, integer)
1294 """
1295 return (self._classObject.lineno, self._classObject.endlineno)
1296
1289 def lessThan(self, other, column, order): 1297 def lessThan(self, other, column, order):
1290 """ 1298 """
1291 Public method to check, if the item is less than the other one. 1299 Public method to check, if the item is less than the other one.
1292 1300
1293 @param other reference to item to compare against (BrowserItem) 1301 @param other reference to item to compare against (BrowserItem)
1376 1384
1377 def lineno(self): 1385 def lineno(self):
1378 """ 1386 """
1379 Public method returning the line number defining this object. 1387 Public method returning the line number defining this object.
1380 1388
1381 return line number defining the object (integer) 1389 @return line number defining the object (integer)
1382 """ 1390 """
1383 return self._functionObject.lineno 1391 return self._functionObject.lineno
1392
1393 def boundaries(self):
1394 """
1395 Public method returning the boundaries of the method definition.
1396
1397 @return tuple with start end end line number (integer, integer)
1398 """
1399 return (self._functionObject.lineno, self._functionObject.endlineno)
1384 1400
1385 def lessThan(self, other, column, order): 1401 def lessThan(self, other, column, order):
1386 """ 1402 """
1387 Public method to check, if the item is less than the other one. 1403 Public method to check, if the item is less than the other one.
1388 1404

eric ide

mercurial