drasil-gool-0.1.1.0: A framework for code and document generation for scientific software - GOOL SubPackage
Safe HaskellNone
LanguageGHC2024

Drasil.GProc.RendererClassesProc

Documentation

class (CommonRenderSym r mthd vis param bod block stmt var scope val binder typ, ParameterSym r param var, VisibilitySym r vis, MethodSym r mthd vis param bod var typ, ModuleSym r mod mthd, FileSym r file mod, RenderFile r file mod, RenderMod r mod, ModuleElim r mod, RenderMethod r mthd, ProcRenderMethod r mthd vis param bod typ) => ProcRenderSym (r :: Type -> Type) file mod mthd vis param bod block stmt var scope val binder typ Source #

class RenderMod (r :: k -> Type) (mod :: k) | r -> mod where Source #

Methods

modFromData :: String -> FS Doc -> FS (r mod) Source #

updateModuleDoc :: (Doc -> Doc) -> r mod -> r mod Source #

class ModuleElim (r :: k -> Type) (mod :: k) | r -> mod where Source #

Methods

module' :: r mod -> Doc Source #

class ProcRenderMethod (r :: k -> Type) (mthd :: k) (vis :: k) (param :: k) (bod :: k) (typ :: k) | r -> mthd vis param bod typ where Source #

Methods

intFunc :: Bool -> Label -> r vis -> MS (r typ) -> [MS (r param)] -> MS (r bod) -> MS (r mthd) Source #

Main method?, name, public/private, return type, parameters, body