Monero
Loading...
Searching...
No Matches
pump.Cursor Class Reference

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

Detailed Description

Represents a position (line and column) in a text file.

Constructor & Destructor Documentation

◆ __init__()

pump.Cursor.__init__ ( self,
line = -1,
column = -1 )

Member Function Documentation

◆ __add__()

pump.Cursor.__add__ ( self,
offset )

◆ __eq__()

pump.Cursor.__eq__ ( self,
rhs )

◆ __ge__()

pump.Cursor.__ge__ ( self,
rhs )

◆ __gt__()

pump.Cursor.__gt__ ( self,
rhs )

◆ __le__()

pump.Cursor.__le__ ( self,
rhs )

◆ __lt__()

pump.Cursor.__lt__ ( self,
rhs )

◆ __ne__()

pump.Cursor.__ne__ ( self,
rhs )

◆ __str__()

pump.Cursor.__str__ ( self)

◆ __sub__()

pump.Cursor.__sub__ ( self,
offset )

◆ Clone()

pump.Cursor.Clone ( self)
Returns a copy of self.

Member Data Documentation

◆ column

pump.Cursor.column = column

◆ line

pump.Cursor.line = line

The documentation for this class was generated from the following file: