BNFC-2.9.3: A compiler front-end generator.
Safe HaskellNone
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.