#include <syntree.h>
Public Types | |
enum | operator_t { t_none, t_neg, t_bin_not, t_not, t_bin_and, t_bin_or, t_bin_xor, t_shift_left, t_shift_right, t_and, t_or, t_plus, t_minus, t_times, t_divide, t_modulo, t_power, t_pre_inc, t_post_inc, t_pre_dec, t_post_dec, t_gt, t_ge, t_lt, t_le, t_eq, t_neq, t_has, t_hasnt, t_in, t_notin, t_provides, t_iif, t_lambda, t_obj_access, t_funcall, t_inherit, t_array_access, t_array_byte_access, t_strexpand, t_indirect, t_assign, t_fbind, t_aadd, t_asub, t_amul, t_adiv, t_amod, t_apow, t_aband, t_abor, t_abxor, t_ashl, t_ashr, t_eval, t_deoob, t_oob, t_xoroob, t_isoob, t_optimized } |
Public Member Functions | |
Expression (const Expression &other) | |
Expression (operator_t t, Value *first, Value *second=0, Value *third=0) | |
void | first (Value *f) |
Value * | first () const |
bool | isBinaryOperator () const |
bool | isStandAlone () const |
void | second (Value *s) |
Value * | second () const |
void | third (Value *t) |
Value * | third () const |
operator_t | type () const |
~Expression () |
Falcon::Expression::Expression | ( | operator_t | t, | |
Value * | first, | |||
Value * | second = 0 , |
|||
Value * | third = 0 | |||
) | [inline] |
Falcon::Expression::Expression | ( | const Expression & | other | ) |
Falcon::Expression::~Expression | ( | ) |
void Falcon::Expression::first | ( | Value * | f | ) | [inline] |
Value* Falcon::Expression::first | ( | ) | const [inline] |
bool Falcon::Expression::isBinaryOperator | ( | ) | const [inline] |
bool Falcon::Expression::isStandAlone | ( | ) | const |
void Falcon::Expression::second | ( | Value * | s | ) | [inline] |
Value* Falcon::Expression::second | ( | ) | const [inline] |
void Falcon::Expression::third | ( | Value * | t | ) | [inline] |
Value* Falcon::Expression::third | ( | ) | const [inline] |
operator_t Falcon::Expression::type | ( | ) | const [inline] |