<private> new Precedence(_assoc, _terminals)
Creates a new representation for a list of terminals of equal precedence and associativity.
Parameters:
Name | Type | Description |
---|---|---|
_assoc |
string | associativity, |
_terminals |
Array.<page.BNF.T> | list of terminals. |
- Source:
- See:
Properties:
Name | Type | Description |
---|---|---|
assoc |
string | associativity, |
terminals |
Array.<page.BNF.T> | list of terminals. |
Methods
-
dump()
-
Displays associativity and the list of terminals.
- Source:
Returns:
.
- Type
- string
-
toString()
-
Displays associativity and the list of terminals.
- Source:
Returns:
.
- Type
- string