#include <evaluator.hpp>
◆ result_type
◆ operator()() [1/7]
result_type nil::crypto3::math::expressions::detail::ast::ConstantFolder::operator() |
( |
binary_op const & |
x | ) |
const |
|
inline |
If both operands are known, we can directly evaluate the function, else we just update the children with the new expressions.
◆ operator()() [2/7]
result_type nil::crypto3::math::expressions::detail::ast::ConstantFolder::operator() |
( |
double |
n | ) |
const |
|
inline |
◆ operator()() [3/7]
result_type nil::crypto3::math::expressions::detail::ast::ConstantFolder::operator() |
( |
expression const & |
x | ) |
const |
|
inline |
◆ operator()() [4/7]
result_type nil::crypto3::math::expressions::detail::ast::ConstantFolder::operator() |
( |
nil |
| ) |
const |
|
inline |
◆ operator()() [5/7]
result_type nil::crypto3::math::expressions::detail::ast::ConstantFolder::operator() |
( |
operation const & |
x, |
|
|
operand const & |
lhs |
|
) |
| const |
|
inline |
◆ operator()() [6/7]
result_type nil::crypto3::math::expressions::detail::ast::ConstantFolder::operator() |
( |
std::string const & |
c | ) |
const |
|
inline |
◆ operator()() [7/7]
result_type nil::crypto3::math::expressions::detail::ast::ConstantFolder::operator() |
( |
unary_op const & |
x | ) |
const |
|
inline |
If the operand is known, we can directly evaluate the function.
The documentation for this struct was generated from the following file: