<abstract> new T(name)
Creates a terminal; should only be used by subclass.
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string | name for a token, representation for a literal. |
- Source:
Properties:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
prec |
Object | precedence. Properties
|
||||||||||||
used |
boolean | true if used in a grammar. |
||||||||||||
name |
string | name for a token, representation for a literal. |