![]() |
AmpGen 2.1
|
Definition at line 327 of file Expression.h.
Public Member Functions | |
| Divide (const Expression &l, const Expression &r) | |
| Divide (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::Divide::Divide | ( | const Expression & | l, |
| const Expression & | r ) |
| AmpGen::Divide::Divide | ( | const Expression & | expr | ) |
|
inlineinherited |
Definition at line 306 of file Expression.h.
| AmpGen::Divide::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.