BNFC-2.9.5: A compiler front-end generator.
Safe HaskellSafe-Inferred
LanguageHaskell2010

BNFC.Backend.CPP.Common

Description

Common to the C++ backends.

Synopsis

Documentation

commentWithEmacsModeHint :: String -> String Source #

C++ line comment including mode hint for emacs.

definedRules :: Maybe ListConstructors -> CF -> String -> String Source #

C++ code for the defined constructors.

definedRules Nothing only prints the header.