SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
|
Action expression. More...
#include <expressions.hpp>
Static Public Member Functions | |
static double | coerce (timespan_t t) |
template<typename T > | |
static double | coerce (T t) |
static std::unique_ptr< expr_t > | parse (action_t *, util::string_view expr_str, bool optimize=false) |
template<class T > | |
static std::unique_ptr< expr_t > | create_constant (util::string_view name, T value) |
static void | optimize_expression (std::unique_ptr< expr_t > &expression, bool analyze_further=false, int spacing=0) |
static void | optimize_expression (std::unique_ptr< expr_t > &expression, sim_t &sim) |
Public Attributes | |
expression::token_e | op_ |
Protected Member Functions | |
expr_t (util::string_view name, expression::token_e op=expression::TOK_UNKNOWN) | |
Action expression.