![]() |
AmpGen 2.1
|
Definition at line 360 of file Expression.h.
Public Member Functions | |
Equal (const Expression &l, const Expression &r) | |
Equal (const Expression &expr) | |
virtual std::string | to_string (const ASTResolver *resolver=nullptr) const override |
Called to convert the Expression tree into source code. | |
operator Expression () const | |
virtual complex_t | operator() () const override |
Evaluate the expression using the tree, will generally be very slow but ocassionally useful for debugging. | |
void | resolve (ASTResolver &resolver) const override |
Resolve the dependencies of a tree using an ASTResolver, which keeps track of parameters, dependent sub-trees, etc. | |
Expression | l () const |
Expression | r () const |
Protected Attributes | |
Expression | lval |
Expression | rval |
AmpGen::Equal::Equal | ( | const Expression & | l, |
const Expression & | r ) |
AmpGen::Equal::Equal | ( | const Expression & | expr | ) |
|
inlineinherited |
Definition at line 306 of file Expression.h.
AmpGen::Equal::operator Expression | ( | ) | const |
|
overridevirtual |
Implements AmpGen::IBinaryExpression.
|
inlineinherited |
Definition at line 307 of file Expression.h.
|
overridevirtualinherited |
resolver | resolver object to use |
Implements AmpGen::IExpression.
|
overridevirtual |
Implements AmpGen::IExpression.
|
protectedinherited |
Definition at line 309 of file Expression.h.
|
protectedinherited |
Definition at line 310 of file Expression.h.