Public Types |
enum | OperatorID {
SIZEOF = 300,
UPLUS,
UMINUS,
INDIR,
ADDRESS,
POSTINC,
POSTDEC,
PREINC,
PREDEC,
ARROW,
ICR,
DECR,
LS,
RS,
LE,
GE,
EQ,
NE,
ANDAND,
OROR,
MULTassign,
DIVassign,
MODassign,
PLUSassign,
MINUSassign,
LSassign,
RSassign,
ANDassign,
ERassign,
ORassign,
Index
} |
Public Methods |
| Operator (unsigned int id, const char *print, const char *name, int unary_prec, int binary_prec, bool is_left_assoc=true) |
unsigned int | id () const |
int | unary_prec () const |
int | binary_prec () const |
bool | is_left_assoc () const |
const string & | name () const |
const string & | print () const |
bool | is_assignment () const |
bool | is_arithmetic () const |
bool | is_comparison () const |
Private Attributes |
unsigned int | _id |
int | _unary_prec |
int | _binary_prec |
bool | _is_left_assoc |
string | _name |
string | _print |