LBNF.Abs
Description
The abstract syntax of language LBNF.
data Grammar Source #
Constructors
Defined in LBNF.Print
Methods
prt :: Int -> Grammar -> Doc Source #
Defined in LBNF.Abs
readsPrec :: Int -> ReadS Grammar #
readList :: ReadS [Grammar] #
readPrec :: ReadPrec Grammar #
readListPrec :: ReadPrec [Grammar] #
showsPrec :: Int -> Grammar -> ShowS #
show :: Grammar -> String #
showList :: [Grammar] -> ShowS #
(==) :: Grammar -> Grammar -> Bool #
(/=) :: Grammar -> Grammar -> Bool #
compare :: Grammar -> Grammar -> Ordering #
(<) :: Grammar -> Grammar -> Bool #
(<=) :: Grammar -> Grammar -> Bool #
(>) :: Grammar -> Grammar -> Bool #
(>=) :: Grammar -> Grammar -> Bool #
max :: Grammar -> Grammar -> Grammar #
min :: Grammar -> Grammar -> Grammar #
data Rule Source #
prt :: Int -> Rule -> Doc Source #
readsPrec :: Int -> ReadS Rule #
readList :: ReadS [Rule] #
readPrec :: ReadPrec Rule #
readListPrec :: ReadPrec [Rule] #
showsPrec :: Int -> Rule -> ShowS #
show :: Rule -> String #
showList :: [Rule] -> ShowS #
(==) :: Rule -> Rule -> Bool #
(/=) :: Rule -> Rule -> Bool #
compare :: Rule -> Rule -> Ordering #
(<) :: Rule -> Rule -> Bool #
(<=) :: Rule -> Rule -> Bool #
(>) :: Rule -> Rule -> Bool #
(>=) :: Rule -> Rule -> Bool #
max :: Rule -> Rule -> Rule #
min :: Rule -> Rule -> Rule #
prt :: Int -> [Rule] -> Doc Source #
data Entry Source #
prt :: Int -> Entry -> Doc Source #
readsPrec :: Int -> ReadS Entry #
readList :: ReadS [Entry] #
readPrec :: ReadPrec Entry #
readListPrec :: ReadPrec [Entry] #
showsPrec :: Int -> Entry -> ShowS #
show :: Entry -> String #
showList :: [Entry] -> ShowS #
(==) :: Entry -> Entry -> Bool #
(/=) :: Entry -> Entry -> Bool #
compare :: Entry -> Entry -> Ordering #
(<) :: Entry -> Entry -> Bool #
(<=) :: Entry -> Entry -> Bool #
(>) :: Entry -> Entry -> Bool #
(>=) :: Entry -> Entry -> Bool #
max :: Entry -> Entry -> Entry #
min :: Entry -> Entry -> Entry #
prt :: Int -> [Entry] -> Doc Source #
newtype Ident Source #
Defined in CharacterTokenGrammar
debugPrint :: Ident -> String Source #
prt :: Int -> Ident -> Doc Source #
fromString :: String -> Ident #
readsPrec :: Int -> ReadS Ident #
readList :: ReadS [Ident] #
readPrec :: ReadPrec Ident #
readListPrec :: ReadPrec [Ident] #
showsPrec :: Int -> Ident -> ShowS #
show :: Ident -> String #
showList :: [Ident] -> ShowS #
(==) :: Ident -> Ident -> Bool #
(/=) :: Ident -> Ident -> Bool #
compare :: Ident -> Ident -> Ordering #
(<) :: Ident -> Ident -> Bool #
(<=) :: Ident -> Ident -> Bool #
(>) :: Ident -> Ident -> Bool #
(>=) :: Ident -> Ident -> Bool #
max :: Ident -> Ident -> Ident #
min :: Ident -> Ident -> Ident #