| Home | Trees | Index | Help |
|
|---|
|
|
object --+
|
Container
| Method Summary | |
|---|---|
| __init__(self,
parent)
Initialize an instance. | |
| evaluate(self,
item)
Evaluate items which are instances of Reference or Expression. | |
| setPath(self,
path)
Set the path for this instance. | |
| writeToStream(self,
stream,
indent,
container)
Write this instance to a stream at the specified indentation level. | |
| writeValue(self, value, stream, indent) | |
| Inherited from object | |
| __delattr__(...)
x.__delattr__('name') <==> del x.name | |
| __getattribute__(...)
x.__getattribute__('name') <==> x.name | |
| __hash__(x)
Return hash(x)... | |
| __new__(T,
S,
...)
Return a new object with type S, a subtype of T... | |
| __reduce__(...)
helper for pickle | |
| __reduce_ex__(...)
helper for pickle | |
| __repr__(x)
Return repr(x)... | |
| __setattr__(...)
x.__setattr__('name', value) <==> x.name = value | |
| __str__(x)
Return str(x)... | |
| Instance Variable Summary | |
|---|---|
| path: A string which describes how to get to this instance from the root of the hierarchy. | |
| Method Details |
|---|
__init__(self,
parent)
Initialize an instance.
|
evaluate(self, item)Evaluate items which are instances of Reference or Expression. Reference instances are evaluated using Reference.resolve, and Expression instances are evaluated using Expression.evaluate.
|
setPath(self, path)Set the path for this instance.
|
writeToStream(self, stream, indent, container)Write this instance to a stream at the specified indentation level. Should be redefined in subclasses.
|
writeValue(self, value, stream, indent) |
| Instance Variable Details |
|---|
pathA string which describes how to get to this instance from the root of the hierarchy. Example:a.list.of[1].or['more'].elements |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Wed Mar 03 20:02:21 2010 | http://epydoc.sf.net |