#include <plural-exp.h>
Public Types | |
| enum | operator { var, num, lnot, mult, divide, module, plus, minus, less_than, greater_than, less_or_equal, greater_or_equal, equal, not_equal, land, lor, qmop } |
Data Fields | |
| int | nargs |
| enum expression::operator | operation |
| union { | |
| unsigned long int num | |
| expression * args [3] | |
| } | val |
|
|
Definition at line 45 of file plural-exp.h. 00046 {
00047 /* Without arguments: */
00048 var, /* The variable "n". */
00049 num, /* Decimal number. */
00050 /* Unary operators: */
00051 lnot, /* Logical NOT. */
00052 /* Binary operators: */
00053 mult, /* Multiplication. */
00054 divide, /* Division. */
00055 module, /* Modulo operation. */
00056 plus, /* Addition. */
00057 minus, /* Subtraction. */
00058 less_than, /* Comparison. */
00059 greater_than, /* Comparison. */
00060 less_or_equal, /* Comparison. */
00061 greater_or_equal, /* Comparison. */
00062 equal, /* Comparison for equality. */
00063 not_equal, /* Comparison for inequality. */
00064 land, /* Logical AND. */
00065 lor, /* Logical OR. */
00066 /* Ternary operators: */
00067 qmop /* Question mark operator. */
00068 } operation;
|
|
|
Definition at line 72 of file plural-exp.h. |
|
|
Definition at line 44 of file plural-exp.h. |
|
|
Definition at line 71 of file plural-exp.h. |
|
|
|
|
|
|
1.3.9.1