<private> new Lit(_literal)
Creates a new literal for BNF.
Parameters:
Name | Type | Description |
---|---|---|
_literal |
string | a value for the literal. |
- Source:
Properties:
Name | Type | Description |
---|---|---|
literal |
string | value for the literal. |
Extends
Methods
-
dump()
-
Displays ordinal number, if any, and description of terminal.
- Inherited From:
- Source:
Returns:
- Type
- string
-
toString()
-
Displays string value of a literal.
- Source:
Returns:
- Type
- string