Package transsys :: Class ExpressionNode
[hide private]
[frames] | no frames]

Class ExpressionNode

source code

object --+
         |
        ExpressionNode

Base class for nodes in expression trees.

Instance Methods [hide private]
 
resolve(self, tp) source code
 
unresolved_copy(self)
Return an unresolved copy of this node.
source code
list
getValueNodes(self)
Return all constant value nodes in expression subtree.
source code
 
getIdentifierNodes(self)
get all identifier nodes in expression subtree.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

getValueNodes(self)

source code 

Return all constant value nodes in expression subtree. This is the default implementation which returns an empty list.

Returns: list
a list of value nodes in the subtree rooted at this node

getIdentifierNodes(self)

source code 

get all identifier nodes in expression subtree. This is the default implementation which returns an empty list.