|
libpulsar
A modular compiler for the pulsar programming language
|
Operator precedence and associativity info. More...
Go to the source code of this file.
Data Structures | |
| struct | ps_operator |
| Operator information. More... | |
Typedefs | |
| typedef i32 | ps_operator_precedence_t |
Functions | |
| bool | ps_token_type_is_op (enum ps_token_type type) |
Whether type represents an operator token. | |
| const struct ps_operator * | ps_token_type_get_op (enum ps_token_type type) |
| Returns: the operator information associated with the given operator token. | |
Operator precedence and associativity info.
Definition in file operator.h.
| typedef i32 ps_operator_precedence_t |
Definition at line 13 of file operator.h.
| const struct ps_operator * ps_token_type_get_op | ( | enum ps_token_type | type | ) |
Returns: the operator information associated with the given operator token.
ps_token_type_is_op(type) == true. Definition at line 213 of file operator.c.
| bool ps_token_type_is_op | ( | enum ps_token_type | type | ) |
Whether type represents an operator token.
Definition at line 209 of file operator.c.