Safe Haskell | None |
---|---|
Language | Haskell2010 |
Converting back to and forth from LBNF regular regular expression.
Synopsis
- normRegex :: Reg -> Regex
- class ReifyRegex a where
- reifyRegex :: a -> Reg
Documentation
class ReifyRegex a where Source #
Convert from internal format to LBNF regular expression.
reifyRegex :: a -> Reg Source #
Instances
ReifyRegex CharClassUnion Source # | |
Defined in BNFC.Check.Regex reifyRegex :: CharClassUnion -> Reg Source # | |
ReifyRegex CharClass Source # | |
Defined in BNFC.Check.Regex reifyRegex :: CharClass -> Reg Source # | |
ReifyRegex Regex Source # | |
Defined in BNFC.Check.Regex reifyRegex :: Regex -> Reg Source # |