FPIBG Utility
libconf.IntToken Class Reference
Inheritance diagram for libconf.IntToken:
Collaboration diagram for libconf.IntToken:

Public Member Functions

 __init__ (self, *args, **kwargs)
 
- Public Member Functions inherited from libconf.Token
 __init__ (self, type, text, filename, row, column)
 
 __str__ (self)
 

Public Attributes

 is_long = self.text.endswith('L')
 
tuple is_hex = (self.text[1:2].lower() == 'x')
 
 value = int(self.text.rstrip('L'), 0)
 
- Public Attributes inherited from libconf.Token
 type = type
 
 text = text
 
 filename = filename
 
 row = row
 
 column = column
 

Detailed Description

Token subclass for integral values

Constructor & Destructor Documentation

◆ __init__()

libconf.IntToken.__init__ ( self,
* args,
** kwargs )

Member Data Documentation

◆ is_hex

tuple libconf.IntToken.is_hex = (self.text[1:2].lower() == 'x')

◆ is_long

libconf.IntToken.is_long = self.text.endswith('L')

◆ value

libconf.IntToken.value = int(self.text.rstrip('L'), 0)

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