|
Asterisk - The Open Source Telephony Project GIT-master-9647a4f
|
An operator that we understand in an expression. More...
Data Fields | |
| int(*const | evaluate )(struct operator*op, enum aco_option_type type, void *op_left, struct expression_token *op_right) |
| Evaluation function for binary operators. | |
| int(*const | evaluate_unary )(struct operator*op, enum aco_option_type type, void *operand) |
| Evaluation function for unary operators. | |
| int | operands |
| Number of operands the operator takes. | |
| int | precedence |
| Precedence of the symbol. | |
| int | right_to_left |
| Non-zero if the operator is evaluated right-to-left. | |
| const char * | symbol |
| Our operator's symbol. | |
An operator that we understand in an expression.
Definition at line 82 of file res_pjsip_history.c.
| int(*const evaluate) (struct operator*op, enum aco_option_type type, void *op_left, struct expression_token *op_right) |
Evaluation function for binary operators.
| op | The operator being evaluated |
| type | The type of value contained in op_left |
| op_left | A pointer to the value to evaluate (a result or extracted from an entry) |
| op_right | The expression token containing the other value (a result or user-provided) |
| -1 | error |
| 0 | evaluation is False |
| 1 | evaluation is True |
Definition at line 115 of file res_pjsip_history.c.
Referenced by evaluate_history_entry().
| int(*const evaluate_unary) (struct operator*op, enum aco_option_type type, void *operand) |
Evaluation function for unary operators.
| op | The operator being evaluated |
| type | The type of value contained in operand |
| operand | A pointer to the value to evaluate |
| -1 | error |
| 0 | evaluation is False |
| 1 | evaluation is True |
Definition at line 102 of file res_pjsip_history.c.
Referenced by evaluate_history_entry().
| int operands |
Number of operands the operator takes.
Definition at line 90 of file res_pjsip_history.c.
Referenced by evaluate_history_entry().
| int precedence |
Precedence of the symbol.
Definition at line 86 of file res_pjsip_history.c.
Referenced by build_expression_queue().
| int right_to_left |
Non-zero if the operator is evaluated right-to-left.
Definition at line 88 of file res_pjsip_history.c.
Referenced by build_expression_queue().
| const char* symbol |
Our operator's symbol.
Definition at line 84 of file res_pjsip_history.c.
Referenced by evaluate_history_entry().