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

Class ExpressionNodeBinary

source code

    object --+    
             |    
ExpressionNode --+
                 |
                ExpressionNodeBinary

Instance Methods [hide private]
 
__init__(self, op1, op2, operator_sym=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__str__(self)
str(x)
source code
 
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__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, op1, op2, operator_sym=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

resolve(self, tp)

source code 
Overrides: ExpressionNode.resolve

unresolved_copy(self)

source code 

Return an unresolved copy of this node.

Overrides: ExpressionNode.unresolved_copy
(inherited documentation)

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
Overrides: ExpressionNode.getValueNodes
(inherited documentation)

getIdentifierNodes(self)

source code 

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

Overrides: ExpressionNode.getIdentifierNodes
(inherited documentation)