|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
|
Expression Grammar. More...
#include <matheval.hpp>
Inherits qi::grammar< Iterator, expr_ast< real_t >(), ascii::space_type >.
Classes | |
| struct | constant_ |
| symbol table for constants like "pi" More... | |
| struct | ufunc_ |
| symbol table for unary functions like "abs" More... | |
| struct | bfunc_ |
| symbol table for binary functions like "pow" More... | |
Public Member Functions | |
| grammar () | |
| Constructor builds the grammar. | |
Public Attributes | |
| matheval::detail::grammar::constant_ | constant |
| matheval::detail::grammar::ufunc_ | ufunc |
| matheval::detail::grammar::bfunc_ | bfunc |
Private Attributes | |
| expectation_handler | err_handler |
| qi::rule< Iterator, expr_ast< real_t >(), ascii::space_type > | expression |
| qi::rule< Iterator, expr_ast< real_t >(), ascii::space_type > | term |
| qi::rule< Iterator, expr_ast< real_t >(), ascii::space_type > | factor |
| qi::rule< Iterator, expr_ast< real_t >(), ascii::space_type > | primary |
| qi::rule< Iterator, std::string()> | variable |
Expression Grammar.
Definition at line 372 of file matheval.hpp.
|
inline |
Constructor builds the grammar.
Definition at line 467 of file matheval.hpp.
References bfunc, constant, err_handler, expression, factor, grammar(), primary, term, ufunc, and variable.
Referenced by grammar().
| matheval::detail::grammar::bfunc_ matheval::detail::grammar< real_t, Iterator >::bfunc |
Referenced by grammar().
| matheval::detail::grammar::constant_ matheval::detail::grammar< real_t, Iterator >::constant |
Referenced by grammar().
|
private |
Definition at line 378 of file matheval.hpp.
Referenced by grammar().
|
private |
Definition at line 379 of file matheval.hpp.
Referenced by grammar().
|
private |
Definition at line 381 of file matheval.hpp.
Referenced by grammar().
|
private |
Definition at line 382 of file matheval.hpp.
Referenced by grammar().
|
private |
Definition at line 380 of file matheval.hpp.
Referenced by grammar().
| matheval::detail::grammar::ufunc_ matheval::detail::grammar< real_t, Iterator >::ufunc |
Referenced by grammar().
|
private |
Definition at line 383 of file matheval.hpp.
Referenced by grammar().