Falcon::Expression Class Reference

#include <syntree.h>

Inheritance diagram for Falcon::Expression:

Inheritance graph
[legend]

List of all members.

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)
Valuefirst () const
bool isBinaryOperator () const
bool isStandAlone () const
void second (Value *s)
Valuesecond () const
void third (Value *t)
Valuethird () const
operator_t type () const
 ~Expression ()


Member Enumeration Documentation

Enumerator:
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  An optimized expression is like an unary operator.


Constructor & Destructor Documentation

Falcon::Expression::Expression ( operator_t  t,
Value first,
Value second = 0,
Value third = 0 
) [inline]

Falcon::Expression::Expression ( const Expression other  ) 

Falcon::Expression::~Expression (  ) 


Member Function Documentation

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]


The documentation for this class was generated from the following file:

Generated on Mon Oct 19 10:11:34 2009 for Falcon_Core by  doxygen 1.5.8