Used for table of precedence of operators. More...
#include <c_oper_desc.h>
Public Member Functions | |
c_oper_desc (int precedence_, const char *oper_, e_assoc associativity_, e_oper_type type_) | |
void | assign_oper_len () |
Initializes length. | |
MY_FORCE_INLINE e_assoc | get_assoc () const |
MY_FORCE_INLINE size_t | get_len () const |
MY_FORCE_INLINE int | get_prec () const |
MY_FORCE_INLINE e_oper_type | get_type () const |
Static Public Member Functions | |
static e_assoc | get_assoc_from_precedece (int prec) |
static int | get_max_prec () |
Public Attributes | |
const e_assoc | associativity |
Associativity. | |
const char * | oper |
Operator as text. | |
size_t | oper_len |
Lexical length of operator. | |
const int | precedence |
Numeric precedence. | |
const e_oper_type | type |
Type of operator. |
Used for table of precedence of operators.
Definition at line 88 of file c_oper_desc.h.