new Grammar(delimiters)
Represents a Grammar.
Parameters:
Name | Type | Description |
---|---|---|
delimiters |
object | Delimiters to use store and use internally. |
- Source:
Methods
-
(static) Grammar#escape() → {array}
-
Escape the stored delimiters.
- Source:
Returns:
Metadata describing the grammar.- Type
- array