Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Data.BAByNF.ABNF.Model
Documentation
Constructors
BasicDefinition | |
IncrementalAlternative |
Constructors
Rulename ByteString |
Constructors
Elements Alternation |
newtype Alternation Source #
Constructors
Alternation [Concatenation] |
Instances
PrettyPrint Alternation Source # | |
Defined in Data.BAByNF.ABNF.PrettyPrint Methods prettyPrint :: Alternation -> String Source # | |
ToParseable Alternation Source # | |
Defined in Data.BAByNF.ABNF.ToParseable Methods | |
Show Alternation Source # | |
Defined in Data.BAByNF.ABNF.Model Methods showsPrec :: Int -> Alternation -> ShowS # show :: Alternation -> String # showList :: [Alternation] -> ShowS # | |
Eq Alternation Source # | |
Defined in Data.BAByNF.ABNF.Model |
newtype Concatenation Source #
Constructors
Concatenation [Repetition] |
Instances
PrettyPrint Concatenation Source # | |
Defined in Data.BAByNF.ABNF.PrettyPrint Methods prettyPrint :: Concatenation -> String Source # | |
ToParseable Concatenation Source # | |
Defined in Data.BAByNF.ABNF.ToParseable Methods | |
Show Concatenation Source # | |
Defined in Data.BAByNF.ABNF.Model Methods showsPrec :: Int -> Concatenation -> ShowS # show :: Concatenation -> String # showList :: [Concatenation] -> ShowS # | |
Eq Concatenation Source # | |
Defined in Data.BAByNF.ABNF.Model Methods (==) :: Concatenation -> Concatenation -> Bool # (/=) :: Concatenation -> Concatenation -> Bool # |
data Repetition Source #
Constructors
Repetition Repeat Element |
Instances
PrettyPrint Repetition Source # | |
Defined in Data.BAByNF.ABNF.PrettyPrint Methods prettyPrint :: Repetition -> String Source # | |
ToParseable Repetition Source # | |
Defined in Data.BAByNF.ABNF.ToParseable Methods | |
Show Repetition Source # | |
Defined in Data.BAByNF.ABNF.Model Methods showsPrec :: Int -> Repetition -> ShowS # show :: Repetition -> String # showList :: [Repetition] -> ShowS # | |
Eq Repetition Source # | |
Defined in Data.BAByNF.ABNF.Model |
Constructors
NoRepeat | |
FixedRepeat Integer | |
RangedRepeat Bound Bound |
Constructors
UnBound | |
FixedBound Integer |
Constructors
RulenameElement Rulename | |
GroupElement Group | |
OptionElement Option | |
CharValElement CharVal | |
NumValElement NumVal | |
ProseValElement ProseVal |
Instances
PrettyPrint Element Source # | |
Defined in Data.BAByNF.ABNF.PrettyPrint Methods prettyPrint :: Element -> String Source # | |
ToParseable Element Source # | |
Defined in Data.BAByNF.ABNF.ToParseable | |
Show Element Source # | |
Eq Element Source # | |
Constructors
Group Alternation |
Instances
PrettyPrint Group Source # | |
Defined in Data.BAByNF.ABNF.PrettyPrint Methods prettyPrint :: Group -> String Source # | |
ToParseable Group Source # | |
Defined in Data.BAByNF.ABNF.ToParseable | |
Show Group Source # | |
Eq Group Source # | |
Constructors
Option Alternation |
Instances
PrettyPrint Option Source # | |
Defined in Data.BAByNF.ABNF.PrettyPrint Methods prettyPrint :: Option -> String Source # | |
ToParseable Option Source # | |
Defined in Data.BAByNF.ABNF.ToParseable | |
Show Option Source # | |
Eq Option Source # | |
Instances
PrettyPrint CharVal Source # | |
Defined in Data.BAByNF.ABNF.PrettyPrint Methods prettyPrint :: CharVal -> String Source # | |
ToParseable CharVal Source # | |
Defined in Data.BAByNF.ABNF.ToParseable | |
Show CharVal Source # | |
Eq CharVal Source # | |
newtype CaseInsensitiveString Source #
Constructors
CaseInsensitiveString QuotedString |
Instances
PrettyPrint CaseInsensitiveString Source # | |
Defined in Data.BAByNF.ABNF.PrettyPrint Methods | |
ToParseable CaseInsensitiveString Source # | |
Defined in Data.BAByNF.ABNF.ToParseable Methods toParseable :: CaseInsensitiveString -> Parseable Rulename Source # | |
Show CaseInsensitiveString Source # | |
Defined in Data.BAByNF.ABNF.Model Methods showsPrec :: Int -> CaseInsensitiveString -> ShowS # show :: CaseInsensitiveString -> String # showList :: [CaseInsensitiveString] -> ShowS # | |
Eq CaseInsensitiveString Source # | |
Defined in Data.BAByNF.ABNF.Model Methods (==) :: CaseInsensitiveString -> CaseInsensitiveString -> Bool # (/=) :: CaseInsensitiveString -> CaseInsensitiveString -> Bool # |
newtype CaseSensitiveString Source #
Constructors
CaseSensitiveString QuotedString |
Instances
PrettyPrint CaseSensitiveString Source # | |
Defined in Data.BAByNF.ABNF.PrettyPrint Methods | |
ToParseable CaseSensitiveString Source # | |
Defined in Data.BAByNF.ABNF.ToParseable Methods toParseable :: CaseSensitiveString -> Parseable Rulename Source # | |
Show CaseSensitiveString Source # | |
Defined in Data.BAByNF.ABNF.Model Methods showsPrec :: Int -> CaseSensitiveString -> ShowS # show :: CaseSensitiveString -> String # showList :: [CaseSensitiveString] -> ShowS # | |
Eq CaseSensitiveString Source # | |
Defined in Data.BAByNF.ABNF.Model Methods (==) :: CaseSensitiveString -> CaseSensitiveString -> Bool # (/=) :: CaseSensitiveString -> CaseSensitiveString -> Bool # |
newtype QuotedString Source #
Constructors
QuotedString ByteString |
Instances
PrettyPrint QuotedString Source # | |
Defined in Data.BAByNF.ABNF.PrettyPrint Methods prettyPrint :: QuotedString -> String Source # | |
Show QuotedString Source # | |
Defined in Data.BAByNF.ABNF.Model Methods showsPrec :: Int -> QuotedString -> ShowS # show :: QuotedString -> String # showList :: [QuotedString] -> ShowS # | |
Eq QuotedString Source # | |
Defined in Data.BAByNF.ABNF.Model |
Instances
PrettyPrint NumVal Source # | |
Defined in Data.BAByNF.ABNF.PrettyPrint Methods prettyPrint :: NumVal -> String Source # | |
ToParseable NumVal Source # | |
Defined in Data.BAByNF.ABNF.ToParseable | |
Show NumVal Source # | |
Eq NumVal Source # | |
Constructors
SeqBinVal [Seq] | |
RangeBinVal Seq Seq |
Instances
PrettyPrint BinVal Source # | |
Defined in Data.BAByNF.ABNF.PrettyPrint Methods prettyPrint :: BinVal -> String Source # | |
ToParseable BinVal Source # | |
Defined in Data.BAByNF.ABNF.ToParseable | |
Show BinVal Source # | |
Eq BinVal Source # | |
Constructors
SeqDecVal [Seq] | |
RangeDecVal Seq Seq |
Instances
PrettyPrint DecVal Source # | |
Defined in Data.BAByNF.ABNF.PrettyPrint Methods prettyPrint :: DecVal -> String Source # | |
ToParseable DecVal Source # | |
Defined in Data.BAByNF.ABNF.ToParseable | |
Show DecVal Source # | |
Eq DecVal Source # | |
Constructors
SeqHexVal [Seq] | |
RangeHexVal Seq Seq |
Instances
PrettyPrint HexVal Source # | |
Defined in Data.BAByNF.ABNF.PrettyPrint Methods prettyPrint :: HexVal -> String Source # | |
ToParseable HexVal Source # | |
Defined in Data.BAByNF.ABNF.ToParseable | |
Show HexVal Source # | |
Eq HexVal Source # | |
Constructors
ProseVal ByteString |
Instances
PrettyPrint ProseVal Source # | |
Defined in Data.BAByNF.ABNF.PrettyPrint Methods prettyPrint :: ProseVal -> String Source # | |
ToParseable ProseVal Source # | |
Defined in Data.BAByNF.ABNF.ToParseable | |
Show ProseVal Source # | |
Eq ProseVal Source # | |