Module node

Source
Expand description

Contains the implementation of the Node enum and the functions to calculate the nullability, prefix, suffix and factors sets of a regular expression tree.

Enums§

Node
The Node enum represents the different types of nodes that can be used in a regular expression tree.

Functions§

factors_set
The factors_set function returns the set of SetTerminal that are factors of a regular expression tree.
nullability_set
The nullability_set function returns the set of SetTerminal that are nullable in a regular expression tree.
prefix_set
The prefix_set function returns the set of SetTerminal that are prefixes of a regular expression tree.
suffix_set
The suffix_set function returns the set of SetTerminal that are suffixes of a regular expression tree.