UI/BrowserModel.py

changeset 2769
8cbebde7a984
parent 2613
0799eea6feba
child 2779
4d433896b6d6
child 2791
a9577f248f04
equal deleted inserted replaced
2768:eab35f6e709f 2769:8cbebde7a984
1282 1282
1283 return line number defining the object (integer) 1283 return line number defining the object (integer)
1284 """ 1284 """
1285 return self._classObject.lineno 1285 return self._classObject.lineno
1286 1286
1287 def boundaries(self):
1288 """
1289 Public method returning the boundaries of the method definition.
1290
1291 @return tuple with start end end line number (integer, integer)
1292 """
1293 return (self._classObject.lineno, self._classObject.endlineno)
1294
1287 def lessThan(self, other, column, order): 1295 def lessThan(self, other, column, order):
1288 """ 1296 """
1289 Public method to check, if the item is less than the other one. 1297 Public method to check, if the item is less than the other one.
1290 1298
1291 @param other reference to item to compare against (BrowserItem) 1299 @param other reference to item to compare against (BrowserItem)
1374 1382
1375 def lineno(self): 1383 def lineno(self):
1376 """ 1384 """
1377 Public method returning the line number defining this object. 1385 Public method returning the line number defining this object.
1378 1386
1379 return line number defining the object (integer) 1387 @return line number defining the object (integer)
1380 """ 1388 """
1381 return self._functionObject.lineno 1389 return self._functionObject.lineno
1390
1391 def boundaries(self):
1392 """
1393 Public method returning the boundaries of the method definition.
1394
1395 @return tuple with start end end line number (integer, integer)
1396 """
1397 return (self._functionObject.lineno, self._functionObject.endlineno)
1382 1398
1383 def lessThan(self, other, column, order): 1399 def lessThan(self, other, column, order):
1384 """ 1400 """
1385 Public method to check, if the item is less than the other one. 1401 Public method to check, if the item is less than the other one.
1386 1402

eric ide

mercurial