Monero
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
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
 
 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

◆ line

pump.Cursor.line

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