#include <ToGrammar.h>
Conversion of regular expression to regular grammar. This class serves as a "default wrapper" over the conversion of RE to RG. It delegates to the glushkov conversion algorithm.
- See also
- regexp::convert::ToGrammarRightRGGlushkov
◆ convert() [1/2]
template<class SymbolType >
Converts the regular expression into a grammar (
- See also
- regexp::convert::ToGrammarRightRGGlushkov::convert).
- Template Parameters
-
SymbolType | the type of regular expression |
- Parameters
-
regexp | the regular expression |
- Returns
- right regular grammar equivalent to original regular expression.
◆ convert() [2/2]
template<class SymbolType >
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
The documentation for this class was generated from the following file: