OPAL (Object Oriented Parallel Accelerator Library)
2024.1
OPAL
|
#include <requirements.hpp>
Public Types | |
typedef bool | result_type |
Public Member Functions | |
template<typename ErrorHandler > | |
requirements (ErrorHandler &error_handler_) | |
bool | operator() (ast::nil) |
bool | operator() (unsigned int) |
bool | operator() (double) |
bool | operator() (bool) |
bool | operator() (ast::quoted_string const &) |
bool | operator() (ast::operation const &x) |
bool | operator() (ast::unary const &x) |
bool | operator() (ast::identifier const &x) |
bool | operator() (ast::function_call const &x) |
bool | operator() (ast::expression const &x) |
std::set< std::string > | variables () |
std::set< std::string > | functions () |
Private Attributes | |
boost::function< void(int tag, std::string const &what)> | error_handler |
std::set< std::string > | variables_ |
std::set< std::string > | functions_ |
Definition at line 20 of file requirements.hpp.
typedef bool client::code_gen::requirements::result_type |
Definition at line 22 of file requirements.hpp.
|
inline |
Definition at line 25 of file requirements.hpp.
References PyOpal::PyAbstractTimeDependence::function().
|
inline |
Definition at line 86 of file requirements.hpp.
References functions_.
Referenced by Expression::parse().
|
inline |
Definition at line 36 of file requirements.hpp.
|
inline |
Definition at line 37 of file requirements.hpp.
|
inline |
Definition at line 38 of file requirements.hpp.
|
inline |
Definition at line 39 of file requirements.hpp.
|
inline |
Definition at line 40 of file requirements.hpp.
|
inline |
Definition at line 42 of file requirements.hpp.
References client::ast::operation::operand_.
|
inline |
Definition at line 48 of file requirements.hpp.
References client::ast::unary::operand_.
|
inline |
Definition at line 54 of file requirements.hpp.
References client::ast::identifier::name, and variables_.
|
inline |
Definition at line 60 of file requirements.hpp.
References arg(), client::ast::function_call::args, client::ast::function_call::function_name, functions_, and client::ast::identifier::name.
|
inline |
Definition at line 72 of file requirements.hpp.
References client::ast::expression::first, and client::ast::expression::rest.
|
inline |
Definition at line 85 of file requirements.hpp.
References variables_.
Referenced by Expression::parse().
|
private |
Definition at line 92 of file requirements.hpp.
|
private |
Definition at line 95 of file requirements.hpp.
Referenced by functions(), and operator()().
|
private |
Definition at line 94 of file requirements.hpp.
Referenced by operator()(), and variables().