Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class (CommonRenderSym r, FileSym r, InternalValueExp r, GetSet r, ObserverPattern r, StrategyPattern r, OOVariableValue r, OOValueExpression r, RenderClass r, ClassElim r, RenderFile r, InternalGetSet r, OORenderMethod r, RenderMod r, ModuleElim r, StateVarElim r, PermElim r) => OORenderSym r Source #
Instances
class BlockCommentSym r => RenderFile r where Source #
top :: r (Module r) -> r (Block r) Source #
bottom :: r (Block r) Source #
commentedMod :: SFile r -> FS (r (BlockComment r)) -> SFile r Source #
Instances
class PermElim r where Source #
perm :: r (Permanence r) -> Doc Source #
binding :: r (Permanence r) -> Binding Source #
Instances
class InternalGetSet r where Source #
getFunc :: SVariable r -> VSFunction r Source #
setFunc :: VSType r -> SVariable r -> SValue r -> VSFunction r Source #
Instances
InternalGetSet CSharpCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer | |
InternalGetSet CppHdrCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.CppRenderer | |
InternalGetSet CppSrcCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.CppRenderer | |
InternalGetSet JavaCode Source # | |
InternalGetSet PythonCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer | |
InternalGetSet SwiftCode Source # | |
Pair p => InternalGetSet (p CppSrcCode CppHdrCode) Source # | |
Defined in Drasil.GOOL.LanguageRenderer.CppRenderer getFunc :: SVariable (p CppSrcCode CppHdrCode) -> VSFunction (p CppSrcCode CppHdrCode) Source # setFunc :: VSType (p CppSrcCode CppHdrCode) -> SVariable (p CppSrcCode CppHdrCode) -> SValue (p CppSrcCode CppHdrCode) -> VSFunction (p CppSrcCode CppHdrCode) Source # |
class StateVarElim r where Source #
Instances
StateVarElim CSharpCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer stateVar :: CSharpCode (StateVar CSharpCode) -> Doc Source # | |
StateVarElim CppHdrCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.CppRenderer stateVar :: CppHdrCode (StateVar CppHdrCode) -> Doc Source # | |
StateVarElim CppSrcCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.CppRenderer stateVar :: CppSrcCode (StateVar CppSrcCode) -> Doc Source # | |
StateVarElim JavaCode Source # | |
StateVarElim PythonCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer stateVar :: PythonCode (StateVar PythonCode) -> Doc Source # | |
StateVarElim SwiftCode Source # | |
Pair p => StateVarElim (p CppSrcCode CppHdrCode) Source # | |
Defined in Drasil.GOOL.LanguageRenderer.CppRenderer stateVar :: p CppSrcCode CppHdrCode (StateVar (p CppSrcCode CppHdrCode)) -> Doc Source # |
type ParentSpec = Doc Source #
class BlockCommentSym r => RenderClass r where Source #
intClass :: Label -> r (Visibility r) -> r ParentSpec -> [CSStateVar r] -> [SMethod r] -> [SMethod r] -> SClass r Source #
inherit :: Maybe Label -> r ParentSpec Source #
implements :: [Label] -> r ParentSpec Source #
commentedClass :: CS (r (BlockComment r)) -> SClass r -> SClass r Source #
Instances
class ClassElim r where Source #
Instances
ClassElim CSharpCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer class' :: CSharpCode (Class CSharpCode) -> Doc Source # | |
ClassElim CppHdrCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.CppRenderer class' :: CppHdrCode (Class CppHdrCode) -> Doc Source # | |
ClassElim CppSrcCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.CppRenderer class' :: CppSrcCode (Class CppSrcCode) -> Doc Source # | |
ClassElim JavaCode Source # | |
ClassElim PythonCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer class' :: PythonCode (Class PythonCode) -> Doc Source # | |
ClassElim SwiftCode Source # | |
Pair p => ClassElim (p CppSrcCode CppHdrCode) Source # | |
Defined in Drasil.GOOL.LanguageRenderer.CppRenderer class' :: p CppSrcCode CppHdrCode (Class (p CppSrcCode CppHdrCode)) -> Doc Source # |
class RenderMod r where Source #
modFromData :: String -> FS Doc -> FSModule r Source #
updateModuleDoc :: (Doc -> Doc) -> r (Module r) -> r (Module r) Source #
Instances
class ModuleElim r where Source #
Instances
ModuleElim CSharpCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer module' :: CSharpCode (Module CSharpCode) -> Doc Source # | |
ModuleElim CppHdrCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.CppRenderer module' :: CppHdrCode (Module CppHdrCode) -> Doc Source # | |
ModuleElim CppSrcCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.CppRenderer module' :: CppSrcCode (Module CppSrcCode) -> Doc Source # | |
ModuleElim JavaCode Source # | |
ModuleElim PythonCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer module' :: PythonCode (Module PythonCode) -> Doc Source # | |
ModuleElim SwiftCode Source # | |
Pair p => ModuleElim (p CppSrcCode CppHdrCode) Source # | |
Defined in Drasil.GOOL.LanguageRenderer.CppRenderer module' :: p CppSrcCode CppHdrCode (Module (p CppSrcCode CppHdrCode)) -> Doc Source # |
class (RenderMethod r, OOMethodTypeSym r) => OORenderMethod r where Source #
intMethod :: Bool -> Label -> r (Visibility r) -> r (Permanence r) -> MSMthdType r -> [MSParameter r] -> MSBody r -> SMethod r Source #
Main method?, name, publicprivate, staticdynamic, return type, parameters, body
intFunc :: Bool -> Label -> r (Visibility r) -> r (Permanence r) -> MSMthdType r -> [MSParameter r] -> MSBody r -> SMethod r Source #
True for main function, name, publicprivate, staticdynamic, return type, parameters, body
destructor :: [CSStateVar r] -> SMethod r Source #
Instances
class MethodTypeSym r => OOMethodTypeSym r where Source #
construct :: Label -> MSMthdType r Source #
Instances
OOMethodTypeSym CSharpCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer construct :: Label -> MSMthdType CSharpCode Source # | |
OOMethodTypeSym CppHdrCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.CppRenderer construct :: Label -> MSMthdType CppHdrCode Source # | |
OOMethodTypeSym CppSrcCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.CppRenderer construct :: Label -> MSMthdType CppSrcCode Source # | |
OOMethodTypeSym JavaCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer | |
OOMethodTypeSym PythonCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer construct :: Label -> MSMthdType PythonCode Source # | |
OOMethodTypeSym SwiftCode Source # | |
Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer | |
Pair p => OOMethodTypeSym (p CppSrcCode CppHdrCode) Source # | |
Defined in Drasil.GOOL.LanguageRenderer.CppRenderer construct :: Label -> MSMthdType (p CppSrcCode CppHdrCode) Source # |