BNFC3-3.0: A compiler front-end generator.
Safe HaskellNone
LanguageHaskell2010

BNFC.Check.Regex

Description

Converting back to and forth from LBNF regular regular expression.

Synopsis

Documentation

normRegex :: Reg -> Regex Source #

Convert LBNF regular expression into internal format.

class ReifyRegex a where Source #

Convert from internal format to LBNF regular expression.

Methods

reifyRegex :: a -> Reg Source #

Instances

Instances details
ReifyRegex CharClassUnion Source # 
Instance details

Defined in BNFC.Check.Regex

ReifyRegex CharClass Source # 
Instance details

Defined in BNFC.Check.Regex

ReifyRegex Regex Source # 
Instance details

Defined in BNFC.Check.Regex

Methods

reifyRegex :: Regex -> Reg Source #