drasil-gool-0.1.1.0: A framework for code and document generation for scientific software - GOOL SubPackage
Safe HaskellSafe-Inferred
LanguageHaskell2010

Drasil.GOOL.LanguageRenderer.CLike

Description

Implementations for C-like renderers are defined here.

Documentation

notOp :: Monad r => VSOp r Source #

andOp :: Monad r => VSOp r Source #

orOp :: Monad r => VSOp r Source #

varDec :: OORenderSym r => r (Permanence r) -> r (Permanence r) -> Doc -> SVariable r -> r (Scope r) -> MSStatement r Source #

listDec :: CommonRenderSym r => (r (Value r) -> Doc) -> SValue r -> SVariable r -> r (Scope r) -> MSStatement r Source #

switch :: CommonRenderSym r => (Doc -> Doc) -> MSStatement r -> SValue r -> [(SValue r, MSBody r)] -> MSBody r -> MSStatement r Source #

while :: CommonRenderSym r => (Doc -> Doc) -> Doc -> Doc -> SValue r -> MSBody r -> MSStatement r Source #

intFunc :: OORenderSym r => Bool -> Label -> r (Visibility r) -> r (Permanence r) -> MSMthdType r -> [MSParameter r] -> MSBody r -> SMethod r Source #