<abstract> new Symbol(name)
Creates a symbol; should only be used by subclass.
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string | symbol name. |
Represents a symbol in the grammar alphabets. Symbols are only created through factory methods in the grammar which arrange for uniqueness.
Creates a symbol; should only be used by subclass.
| Name | Type | Description |
|---|---|---|
name |
string | symbol name. |