Members
addRegenerate
This is added as a method on the RangeGroup
prototype. This will add ranges from the RangeGroup
to a regenerate
object, excluding string ranges. This can be used to generate a RegExp matching the characters of the group. Note that the regenerate
library is not included as a dependency.
- Source
Type Definitions
Node
AST node generated by the parser
- object
Name | Type | Attributes | Description |
---|---|---|---|
type | string | The node type; can be one of the following:
| |
op | string | A set operation indicating how it should be combined with the previous set in a group. One of: | |
invert | boolean | Whether the set is inverted (e.g. the unary complement set operation) | |
name | string | <nullable> | Only present for |
value | any | <nullable> | Absent for
|
group | Codepoints | <nullable> | Only present for |