happy-lib-2.1.7: Happy is a parser generator for Haskell implemented using this library

Safe Haskell | None
Language | Haskell98

Happy.Frontend.PrettyGrammar

# Documentation

render :: Doc -> String Source #

ppAbsSyn :: AbsSyn String -> Doc Source #

ppDirective :: Directive a -> Doc Source #

ppRule :: Rule String -> Doc Source #

ppProd :: Prod String -> Doc Source #

ppPrec :: Prec -> Doc Source #

ppTerm :: Term -> Doc Source #

ppTuple :: [Doc] -> Doc Source #

type Doc = Maybe ShowS Source #

empty :: Doc Source #

punctuate :: Doc -> [Doc] -> [Doc] Source #

comma :: Doc Source #

char :: Char -> Doc Source #

text :: String -> Doc Source #

(<+>) :: Doc -> Doc -> Doc Source #

(<>) :: Doc -> Doc -> Doc Source #

($$) :: Doc -> Doc -> Doc Source #

hsep :: [Doc] -> Doc Source #

vcat :: [Doc] -> Doc Source #

vsep :: [Doc] -> Doc Source #

parens :: Doc -> Doc Source #

hcat :: [Doc] -> Doc Source #