![]() |
AmpGen 2.1
|
Definition at line 247 of file Expression.h.
Public Member Functions | |
| SubTree (const Expression &other) | |
| std::string | to_string (const ASTResolver *resolver=nullptr) const override |
| Called to convert the Expression tree into source code. | |
| void | resolve (ASTResolver &resolver) const override |
| Resolve the dependencies of a tree using an ASTResolver, which keeps track of parameters, dependent sub-trees, etc. | |
| operator Expression () const | |
| complex_t | operator() () const override |
| Evaluate the expression using the tree, will generally be very slow but ocassionally useful for debugging. | |
| uint64_t | key () const |
| void | setKey (const size_t &new_key) |
| Expression | expression () const |
Public Attributes | |
| Expression | m_expression |
| uint64_t | m_key |
| AmpGen::SubTree::SubTree | ( | const Expression & | other | ) |
|
inline |
Definition at line 255 of file Expression.h.
| uint64_t AmpGen::SubTree::key | ( | ) | const |
| AmpGen::SubTree::operator Expression | ( | ) | const |
|
inlineoverridevirtual |
Implements AmpGen::IExpression.
Definition at line 252 of file Expression.h.
|
overridevirtual |
| resolver | resolver object to use |
Implements AmpGen::IExpression.
| void AmpGen::SubTree::setKey | ( | const size_t & | new_key | ) |
|
overridevirtual |
Implements AmpGen::IExpression.
| Expression AmpGen::SubTree::m_expression |
Definition at line 256 of file Expression.h.
| uint64_t AmpGen::SubTree::m_key |
Definition at line 257 of file Expression.h.