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.
i32 ps_operator_precedence_t
bool is_binary
Enables processing this operator as a binary operator.
ps_operator_precedence_t unary_prec
The operator's unary precedence.
bool is_left_associative
This defines operator assocativity as follows:
ps_operator_precedence_t binary_prec
The operator's binary precedence.
bool is_unary
Enables processing this operator as an unary operator.
ps_token_type
The type of a token.