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

BNFC.Backend.Haskell.GADT.AbstractSyntax

Documentation

cf2abs :: LBNF -> String -> Bool -> Maybe String -> [(Type, [(Label, ([Type], (Integer, ARHS)))])] -> [(LabelName, Function)] -> [(CatName, TokenDef)] -> TokenText -> String Source #

cf2doc :: LBNF -> String -> Bool -> Maybe String -> [(Type, [(Label, ([Type], (Integer, ARHS)))])] -> [(LabelName, Function)] -> [(CatName, TokenDef)] -> TokenText -> Doc () Source #

printTree :: [String] -> TokenText -> [(Type, [(Label, ([Type], (Integer, ARHS)))])] -> [(CatName, TokenDef)] -> Doc () Source #

indexes :: [(Label, [Type])] -> [String] -> Doc () Source #