Qbject system
Public Member Functions | Public Attributes | List of all members
Qbject.Qbject Class Reference

generic Object class (the name was chosen not to interfere with Python3) More...

Inheritance diagram for Qbject.Qbject:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, V, token=None)
 construct with given value
 
def __call__ (self)
 by default all objects executes in itself
 
def __getitem__ (self, key)
 object[key] operator
 
def __setitem__ (self, key, o)
 object[key]=val operator
 
def __repr__ (self)
 text dump (tree form)
 
def dump (self, depth=0, prefix='')
 dump any object in tree form
 
def pad (self, N)
 pad tree element
 
def head (self, prefix='')
 dump object in short form (header only)
 

Public Attributes

 type
 <type:value> must be compatible with PLY library token objects
 
 value
 single value
 
 nest
 nest[]ed elements /ordered/
 
 attr
 attr{}ibutes /associative array, unordered/
 
 lexpos
 lexeme char position in source code
 
 lineno
 lexeme line number in source code
 
 toklen
 lexeme length
 

Detailed Description

generic Object class (the name was chosen not to interfere with Python3)


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