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

Public Member Functions

 __init__ (self, start=None, end=None, value=None, token_type=None)
 __str__ (self)
 Clone (self)

Public Attributes

 start = Eof()
 end = Eof()
 value = value
 token_type = token_type

Detailed Description

Represents a token in a Pump source file.

Constructor & Destructor Documentation

◆ __init__()

pump.Token.__init__ ( self,
start = None,
end = None,
value = None,
token_type = None )

Member Function Documentation

◆ __str__()

pump.Token.__str__ ( self)

◆ Clone()

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

Member Data Documentation

◆ end

pump.Token.end = Eof()

◆ start

pump.Token.start = Eof()

◆ token_type

pump.Token.token_type = token_type

◆ value

pump.Token.value = value

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