Ruby
3.4.0dev (2024-11-05 revision ed06f018bdffe9bb7f8bdbf15fa5a727e402bfe9)
|
This struct represents a set of binding powers used for a given token. More...
Data Fields | |
pm_binding_power_t | left |
The left binding power. More... | |
pm_binding_power_t | right |
The right binding power. More... | |
bool | binary |
Whether or not this token can be used as a binary operator. More... | |
bool | nonassoc |
Whether or not this token can be used as non-associative binary operator. More... | |
This struct represents a set of binding powers used for a given token.
They are combined in this way to make it easier to represent associativity.
bool pm_binding_powers_t::binary |
pm_binding_power_t pm_binding_powers_t::left |
bool pm_binding_powers_t::nonassoc |
pm_binding_power_t pm_binding_powers_t::right |