|
Qbject system
|
data container More...


Public Member Functions | |
| def | __init__ (self, V) |
inherit init from Qbject | |
| def | dropall (self) |
| drop all elements | |
Public Member Functions inherited from Q.Qbject | |
| def | __init__ (self, V, token=None, doc='') |
| 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 | __lshift__ (self, o) |
<< operator | |
| def | push (self, o) |
| append element | |
| def | top (self) |
| def | pop (self) |
| def | drop (self) |
| drop top element | |
| 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) | |
Additional Inherited Members | |
Public Attributes inherited from Q.Qbject | |
| 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/ | |
| immed | |
| docstring More... | |
| lexpos | |
| lexeme char position in source code | |
| lineno | |
| lexeme line number in source code | |
| toklen | |
| lexeme length | |
Static Public Attributes inherited from Q.Qbject | |
| dictionary | dumped = {} |
| variable holds IDs of all dumped objects (to avoid infty recursion) | |
data container
1.8.13