/ . / CalcAttr / attrdef.py / Evaluator
Methods
|
|
|
n_MUL
|
n_MUL ( self, node )
Exceptions
|
|
TypeError, ( "bad left MUL operand `%s'" % left.exprType )
TypeError, ( "bad right MUL operand `%s'" % right.exprType )
TypeError, "cannot MUL two non-scalars"
|
|
|
n_ADD
|
n_ADD ( self, node )
|
|
logError
|
logError ( self, msg )
|
|
default
|
default ( self, node )
|
|
evaluate
|
evaluate ( self, data )
|
|
n_DOT
|
n_DOT ( self, node )
|
|
n_NUMBER
|
n_NUMBER ( self, node )
|
|
n_SUB
|
n_SUB ( self, node )
|
|
n_DIV
|
n_DIV ( self, node )
Exceptions
|
|
TypeError, "RHS of DIV must be scalar"
TypeError, ( "bad left DIV operand `%s'" % left.exprType )
|
|
|
n_SUM
|
n_SUM ( self, node )
|
|
__init__
|
__init__ ( self, ast )
|
|
n_AVERAGE
|
n_AVERAGE ( self, node )
|
|
|