![]()  | 
  
    AmpGen 2.1
    
   | 
 
Definition at line 260 of file Expression.h.
Public Member Functions | |
| Function (const std::string &name, const std::vector< Expression > &args) | |
| 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.   | |
Public Attributes | |
| std::string | m_name | 
| std::vector< Expression > | m_args | 
  
| AmpGen::Function::Function | ( | const std::string & | name, | 
| const std::vector< Expression > & | args ) | 
| AmpGen::Function::operator Expression | ( | ) | const | 
      
  | 
  inlineoverridevirtual | 
Implements AmpGen::IExpression.
Definition at line 265 of file Expression.h.
      
  | 
  overridevirtual | 
| resolver | resolver object to use | 
Implements AmpGen::IExpression.
      
  | 
  overridevirtual | 
Implements AmpGen::IExpression.
| std::vector<Expression> AmpGen::Function::m_args | 
Definition at line 267 of file Expression.h.
| std::string AmpGen::Function::m_name | 
Definition at line 266 of file Expression.h.