|
Alexandria 2.32.0
SDC-CH common library for the Euclid project
|
#include <ExpressionTree.h>


Public Member Functions | |
| R | operator() (const Context &context, const std::vector< T > &args) const |
| R | operator() (const std::vector< T > &args) const |
| Public Member Functions inherited from Pyston::ExpressionTreeBase< R > | |
| bool | isCompiled () const |
| const Exception * | reason () const |
| const std::shared_ptr< Node< R > > & | getTree () const |
Private Member Functions | |
| ExpressionTree (bool compiled, const std::shared_ptr< Node< R > > &root, const std::shared_ptr< Exception > &reason_) | |
Friends | |
| class | ExpressionTreeBuilder |
Additional Inherited Members | |
| Protected Member Functions inherited from Pyston::ExpressionTreeBase< R > | |
| ExpressionTreeBase (bool compiled, const std::shared_ptr< Node< R > > &root, const std::shared_ptr< Exception > &reason_) | |
| Protected Attributes inherited from Pyston::ExpressionTreeBase< R > | |
| bool | m_is_compiled |
| std::shared_ptr< Node< R > > | m_root |
| std::shared_ptr< Exception > | m_reason |
Wraps a call to an expression tree. Specialized for parameters as a vector of values
| R | Return type |
| T | Argument type |
Definition at line 79 of file ExpressionTree.h.
|
inlineprivate |
Definition at line 106 of file ExpressionTree.h.
References Pyston::ExpressionTreeBase< R >::ExpressionTreeBase().

|
inline |
Use the tree as a function
| args | Argument list |
Definition at line 86 of file ExpressionTree.h.
References std::back_inserter(), std::vector< T >::begin(), std::copy(), std::vector< T >::end(), and Pyston::ExpressionTreeBase< R >::m_root.

|
inline |
Use the tree as a function
| args | Argument list |
Definition at line 97 of file ExpressionTree.h.
References std::back_inserter(), std::vector< T >::begin(), std::copy(), std::vector< T >::end(), and Pyston::ExpressionTreeBase< R >::m_root.

|
friend |
Definition at line 109 of file ExpressionTree.h.
References ExpressionTreeBuilder.
Referenced by ExpressionTreeBuilder.