new Precedence(assoc)
Creates a new precedence level;
see factory method grammar.precedence().
Parameters:
| Name | Type | Description |
|---|---|---|
assoc |
string | associativity, |
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
assoc |
string | associativity, |
terminals |
Array.<module:Base~T> | list of terminal symbols. |