Kind

The type of expression represented by a RegExp node.

Entries

Link copied to clipboard

The union of two expressions

Link copied to clipboard

A sequence of two expressions

Link copied to clipboard

The intersection of two expressions

Link copied to clipboard

An optional expression

Link copied to clipboard

An expression that repeats

Link copied to clipboard

An expression that repeats a minimum number of times

Link copied to clipboard

An expression that repeats a minimum and maximum number of times

Link copied to clipboard

The complement of a character class

Link copied to clipboard

A Character

Link copied to clipboard

A Character range

Link copied to clipboard

A Character class (list of ranges)

Link copied to clipboard

Any Character allowed

Link copied to clipboard

An empty expression

Link copied to clipboard

A string expression

Link copied to clipboard

Any string allowed

Link copied to clipboard

An Automaton expression

Link copied to clipboard

An Interval expression

Link copied to clipboard

The complement of an expression.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.