A group of symbols that have the same associativity and precedence. This class and its descendants accept arrays of objects that correspond to symbols.
Terminals and things that will turn into terminals correspond
to their designtime Farkle. Literals also correspond to their content as a
string and productions correspond to the object passed or returned from the
WithPrecedence
family of functions in production builders.
Prior to Farkle 6.3.0, using the same terminal with multiple designtime Farkles (such as the original and a renamed one) would cause undefined behavior.
Constructor | Description |
Full Usage:
AssociativityGroup(assocType, symbols)
Parameters:
AssociativityType
symbols : obj[]
Returns: AssociativityGroup
|
|
Full Usage:
AssociativityGroup(assocType, symbols)
Parameters:
AssociativityType
symbols : obj seq
Returns: AssociativityGroup
|
|
Instance member | Description |
|
The group's symbols' associativity.
|