|
Monero
|
Public Member Functions | |
| __init__ (self, line=-1, column=-1) | |
| __eq__ (self, rhs) | |
| __ne__ (self, rhs) | |
| __lt__ (self, rhs) | |
| __le__ (self, rhs) | |
| __gt__ (self, rhs) | |
| __ge__ (self, rhs) | |
| __str__ (self) | |
| __add__ (self, offset) | |
| __sub__ (self, offset) | |
| Clone (self) | |
Public Attributes | |
| line = line | |
| column = column | |
Represents a position (line and column) in a text file.
| pump.Cursor.__init__ | ( | self, | |
| line = -1, | |||
| column = -1 ) |
| pump.Cursor.__add__ | ( | self, | |
| offset ) |
| pump.Cursor.__eq__ | ( | self, | |
| rhs ) |
| pump.Cursor.__ge__ | ( | self, | |
| rhs ) |
| pump.Cursor.__gt__ | ( | self, | |
| rhs ) |
| pump.Cursor.__le__ | ( | self, | |
| rhs ) |
| pump.Cursor.__lt__ | ( | self, | |
| rhs ) |
| pump.Cursor.__ne__ | ( | self, | |
| rhs ) |
| pump.Cursor.__str__ | ( | self | ) |
| pump.Cursor.__sub__ | ( | self, | |
| offset ) |
| pump.Cursor.Clone | ( | self | ) |
Returns a copy of self.
| pump.Cursor.column = column |
| pump.Cursor.line = line |