Go to the source code of this file.
|
| #define | UNARY_OP(ID, STR, SYM) [ID] = (STR), |
| |
| #define | UNARY_OP(ID, STR, SYM) [ID] = (SYM), |
| |
| #define | BINARY_OP(ID, STR, SYM) [ID] = (STR), |
| |
| #define | BINARY_OP(ID, STR, SYM) [ID] = (SYM), |
| |
| #define | COMPARE_OP(ID, STR, SYM) [ID] = (STR), |
| |
| #define | COMPARE_OP(ID, STR, SYM) [ID] = (SYM), |
| |
| #define | SIGN_KIND(ID, STR) [ID] = (STR), |
| |
| #define | DIGIT_KIND(ID, STR) [ID] = (STR), |
| |
| #define | TYPE_QUALIFIER(ID, STR, BIT) + sizeof(STR) |
| |
| #define | TYPE_QUALIFIER(ID, STR, BIT) |
| |
| #define | TREE_LINKAGE(ID, STR) [ID] = (STR), |
| |
| #define | TREE_VISIBILITY(ID, STR) [ID] = (STR), |
| |
◆ BINARY_OP [1/2]
| #define BINARY_OP |
( |
|
ID, |
|
|
|
STR, |
|
|
|
SYM |
|
) |
| [ID] = (STR), |
◆ BINARY_OP [2/2]
| #define BINARY_OP |
( |
|
ID, |
|
|
|
STR, |
|
|
|
SYM |
|
) |
| [ID] = (SYM), |
◆ COMPARE_OP [1/2]
| #define COMPARE_OP |
( |
|
ID, |
|
|
|
STR, |
|
|
|
SYM |
|
) |
| [ID] = (STR), |
◆ COMPARE_OP [2/2]
| #define COMPARE_OP |
( |
|
ID, |
|
|
|
STR, |
|
|
|
SYM |
|
) |
| [ID] = (SYM), |
◆ DIGIT_KIND
| #define DIGIT_KIND |
( |
|
ID, |
|
|
|
STR |
|
) |
| [ID] = (STR), |
◆ SIGN_KIND
| #define SIGN_KIND |
( |
|
ID, |
|
|
|
STR |
|
) |
| [ID] = (STR), |
◆ TREE_LINKAGE
| #define TREE_LINKAGE |
( |
|
ID, |
|
|
|
STR |
|
) |
| [ID] = (STR), |
◆ TREE_VISIBILITY
| #define TREE_VISIBILITY |
( |
|
ID, |
|
|
|
STR |
|
) |
| [ID] = (STR), |
◆ TYPE_QUALIFIER [1/2]
| #define TYPE_QUALIFIER |
( |
|
ID, |
|
|
|
STR, |
|
|
|
BIT |
|
) |
| + sizeof(STR) |
◆ TYPE_QUALIFIER [2/2]
| #define TYPE_QUALIFIER |
( |
|
ID, |
|
|
|
STR, |
|
|
|
BIT |
|
) |
| |
Value: if (quals & (ID)) { \
if (ptr != buffer) \
*ptr++ = '|'; \
ctu_memcpy(ptr, STR, sizeof(STR)); \
ptr += sizeof(STR) - 1; \
}
◆ UNARY_OP [1/2]
| #define UNARY_OP |
( |
|
ID, |
|
|
|
STR, |
|
|
|
SYM |
|
) |
| [ID] = (STR), |
◆ UNARY_OP [2/2]
| #define UNARY_OP |
( |
|
ID, |
|
|
|
STR, |
|
|
|
SYM |
|
) |
| [ID] = (SYM), |
◆ binary_name()
get the pretty name of a binary operator
- Parameters
-
| op | the operator to get the name of |
- Returns
- the name of
op
Definition at line 42 of file ops.c.
◆ binary_symbol()
get the C symbol of a binary operator
- Parameters
-
| op | the operator to get the symbol of |
- Returns
- the symbol of
op
Definition at line 54 of file ops.c.
◆ compare_name()
get the pretty name of a comparison operator
- Parameters
-
| op | the operator to get the name of |
- Returns
- the name of
op
Definition at line 66 of file ops.c.
◆ compare_symbol()
get the C symbol of a comparison operator
- Parameters
-
| op | the operator to get the symbol of |
- Returns
- the symbol of
op
Definition at line 78 of file ops.c.
◆ digit_name()
get the pretty name of a digit
- Parameters
-
| digit | the digit to get the name of |
- Returns
- the name of
op
Definition at line 102 of file ops.c.
◆ linkage_string()
get the name of a linkage
- Parameters
-
| link | the linkage to get the name of |
- Returns
- the name of
link
Definition at line 141 of file ops.c.
◆ quals_string()
get the name of a set of qualifiers
- Parameters
-
| quals | the qualifiers to get the name of |
- Returns
- the name of
quals
Definition at line 109 of file ops.c.
◆ sign_name()
get the pretty name of a integer sign
- Parameters
-
| sign | the sign to get the name of |
- Returns
- the name of
op
Definition at line 90 of file ops.c.
◆ unary_name()
get the pretty name of a unary operator
- Parameters
-
| op | the operator to get the name of |
- Returns
- the name of
op
Definition at line 18 of file ops.c.
◆ unary_symbol()
get the C symbol of a unary operator
- Parameters
-
| op | the operator to get the symbol of |
- Returns
- the symbol of
op
Definition at line 30 of file ops.c.
◆ visibility_string()
get the name of visibility
- Parameters
-
| vis | the visibility to get the name of |
- Returns
- the name of
vis
Definition at line 153 of file ops.c.