BNFC-2.9.1: A compiler front-end generator.
Safe HaskellNone
LanguageHaskell2010

BNFC.Backend.Java.CFtoJavaAbs15

Synopsis

Documentation

cf2JavaAbs :: String -> String -> CF -> RecordPositions -> [(FilePath, String)] Source #

The result is a list of files which must be written to disk. The tuple is (FileName, FileContents)

typename Source #

Arguments

:: String

Qualification (can be empty).

-> [UserDef]

User-defined token names.

-> String

Category name.

-> String 

This makes up for the fact that there's no typedef in Java.

cat2JavaType :: [UserDef] -> Cat -> String Source #

Print the Java type corresponding to a category.