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

GOOL.Drasil.RendererClasses

Documentation

class (FileSym r, AssignStatement r, DeclStatement r, IOStatement r, StringStatement r, FuncAppStatement r, CommentStatement r, ControlStatement r, Argument r, Literal r, MathConstant r, VariableValue r, CommandLineArgs r, NumericExpression r, BooleanExpression r, Comparison r, ValueExpression r, InternalValueExp r, GetSet r, List r, InternalList r, VectorExpression r, StatePattern r, ObserverPattern r, StrategyPattern r, TypeElim r, VariableElim r, RenderBlock r, BlockElim r, RenderBody r, BodyElim r, RenderClass r, ClassElim r, RenderFile r, InternalGetSet r, InternalListFunc r, RenderFunction r, FunctionElim r, RenderMethod r, MethodElim r, RenderMod r, ModuleElim r, OpElim r, RenderParam r, ParamElim r, PermElim r, RenderScope r, ScopeElim r, InternalAssignStmt r, InternalIOStmt r, InternalControlStmt r, RenderStatement r, StatementElim r, StateVarElim r, RenderType r, InternalTypeElim r, RenderValue r, ValueElim r, RenderVariable r, InternalVarElim r, ImportSym r, ImportElim r, UnaryOpSym r, BinaryOpSym r, BlockCommentElim r) => RenderSym r Source #

class BlockCommentSym r => RenderFile r where Source #

Methods

top :: r (Module r) -> r (Block r) Source #

bottom :: r (Block r) Source #

commentedMod :: SFile r -> FS (r (BlockComment r)) -> SFile r Source #

fileFromData :: FilePath -> FSModule r -> SFile r Source #

Instances

Instances details
RenderFile CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

RenderFile CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

RenderFile CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

RenderFile JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

RenderFile PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderFile SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Pair p => RenderFile (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

class ImportSym r where Source #

Associated Types

type Import r Source #

Methods

langImport :: Label -> r (Import r) Source #

modImport :: Label -> r (Import r) Source #

Instances

Instances details
ImportSym CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

Associated Types

type Import CSharpCode Source #

ImportSym CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

Associated Types

type Import CppHdrCode Source #

ImportSym CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

Associated Types

type Import CppSrcCode Source #

ImportSym JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

Associated Types

type Import JavaCode Source #

ImportSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type Import PythonCode Source #

ImportSym SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Associated Types

type Import SwiftCode Source #

Pair p => ImportSym (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

Associated Types

type Import (p CppSrcCode CppHdrCode) Source #

class PermElim r where Source #

Methods

perm :: r (Permanence r) -> Doc Source #

binding :: r (Permanence r) -> Binding Source #

Instances

Instances details
PermElim CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

PermElim CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

PermElim CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

PermElim JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

PermElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

PermElim SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Pair p => PermElim (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

class RenderType r where Source #

Instances

Instances details
RenderType CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

RenderType CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

RenderType CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

RenderType JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

RenderType PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderType SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Pair p => RenderType (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

type VSUnOp a = VS (a (UnaryOp a)) Source #

class UnaryOpSym r where Source #

Associated Types

type UnaryOp r Source #

Instances

Instances details
UnaryOpSym CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

Associated Types

type UnaryOp CSharpCode Source #

UnaryOpSym CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

Associated Types

type UnaryOp CppHdrCode Source #

UnaryOpSym CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

Associated Types

type UnaryOp CppSrcCode Source #

UnaryOpSym JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

Associated Types

type UnaryOp JavaCode Source #

UnaryOpSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type UnaryOp PythonCode Source #

UnaryOpSym SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Associated Types

type UnaryOp SwiftCode Source #

Pair p => UnaryOpSym (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

Associated Types

type UnaryOp (p CppSrcCode CppHdrCode) Source #

type VSBinOp a = VS (a (BinaryOp a)) Source #

class BinaryOpSym r where Source #

Associated Types

type BinaryOp r Source #

Instances

Instances details
BinaryOpSym CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

Associated Types

type BinaryOp CSharpCode Source #

BinaryOpSym CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

Associated Types

type BinaryOp CppHdrCode Source #

BinaryOpSym CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

Associated Types

type BinaryOp CppSrcCode Source #

BinaryOpSym JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

Associated Types

type BinaryOp JavaCode Source #

BinaryOpSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type BinaryOp PythonCode Source #

BinaryOpSym SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Associated Types

type BinaryOp SwiftCode Source #

Pair p => BinaryOpSym (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

Associated Types

type BinaryOp (p CppSrcCode CppHdrCode) Source #

class OpElim r where Source #

Methods

uOp :: r (UnaryOp r) -> Doc Source #

bOp :: r (BinaryOp r) -> Doc Source #

uOpPrec :: r (UnaryOp r) -> Int Source #

bOpPrec :: r (BinaryOp r) -> Int Source #

Instances

Instances details
OpElim CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

OpElim CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

OpElim CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

OpElim JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

OpElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

OpElim SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Pair p => OpElim (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

class RenderVariable r where Source #

Methods

varFromData :: Binding -> String -> VSType r -> Doc -> SVariable r Source #

Instances

Instances details
RenderVariable CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

RenderVariable CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

RenderVariable CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

RenderVariable JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

RenderVariable PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderVariable SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Pair p => RenderVariable (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

class InternalVarElim r where Source #

Instances

Instances details
InternalVarElim CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

InternalVarElim CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

InternalVarElim CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

InternalVarElim JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

InternalVarElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

InternalVarElim SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Pair p => InternalVarElim (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

class RenderValue r where Source #

Methods

inputFunc :: SValue r Source #

printFunc :: SValue r Source #

printLnFunc :: SValue r Source #

printFileFunc :: SValue r -> SValue r Source #

printFileLnFunc :: SValue r -> SValue r Source #

cast :: VSType r -> SValue r -> SValue r Source #

call :: Maybe Library -> Maybe Doc -> MixedCall r Source #

Very generic internal function for generating calls, to reduce repeated code throughout generators. Parameters are: maybe name of external module, maybe Doc for object variable (including separator between object and function) for method calls.

valFromData :: Maybe Int -> VSType r -> Doc -> SValue r Source #

Instances

Instances details
RenderValue CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

RenderValue CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

RenderValue CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

RenderValue JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

RenderValue PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderValue SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Pair p => RenderValue (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

class ValueElim r where Source #

Methods

valuePrec :: r (Value r) -> Maybe Int Source #

value :: r (Value r) -> Doc Source #

Instances

Instances details
ValueElim CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

ValueElim CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

ValueElim CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

ValueElim JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

ValueElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

ValueElim SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Pair p => ValueElim (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

class InternalGetSet r where Source #

Instances

Instances details
InternalGetSet CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

InternalGetSet CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

InternalGetSet CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

InternalGetSet JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

InternalGetSet PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

InternalGetSet SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Pair p => InternalGetSet (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

class InternalListFunc r where Source #

Instances

Instances details
InternalListFunc CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

InternalListFunc CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

InternalListFunc CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

InternalListFunc JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

InternalListFunc PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

InternalListFunc SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Pair p => InternalListFunc (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

class FunctionElim r where Source #

Methods

functionType :: r (Function r) -> r (Type r) Source #

function :: r (Function r) -> Doc Source #

Instances

Instances details
FunctionElim CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

FunctionElim CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

FunctionElim CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

FunctionElim JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

FunctionElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

FunctionElim SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Pair p => FunctionElim (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

class InternalAssignStmt r where Source #

Methods

multiAssign :: [SVariable r] -> [SValue r] -> MSStatement r Source #

Instances

Instances details
InternalAssignStmt CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

InternalAssignStmt CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

InternalAssignStmt CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

InternalAssignStmt JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

InternalAssignStmt PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

InternalAssignStmt SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Pair p => InternalAssignStmt (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

class InternalIOStmt r where Source #

Methods

printSt :: Bool -> Maybe (SValue r) -> SValue r -> SValue r -> MSStatement r Source #

Instances

Instances details
InternalIOStmt CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

InternalIOStmt CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

InternalIOStmt CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

InternalIOStmt JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

InternalIOStmt PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

InternalIOStmt SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Pair p => InternalIOStmt (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

class RenderStatement r where Source #

Instances

Instances details
RenderStatement CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

RenderStatement CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

RenderStatement CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

RenderStatement JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

RenderStatement PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderStatement SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Pair p => RenderStatement (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

class StatementElim r where Source #

Instances

Instances details
StatementElim CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

StatementElim CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

StatementElim CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

StatementElim JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

StatementElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

StatementElim SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Pair p => StatementElim (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

type MSMthdType a = MS (a (MethodType a)) Source #

class TypeSym r => MethodTypeSym r where Source #

Associated Types

type MethodType r Source #

Instances

Instances details
MethodTypeSym CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

Associated Types

type MethodType CSharpCode Source #

MethodTypeSym CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

Associated Types

type MethodType CppHdrCode Source #

MethodTypeSym CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

Associated Types

type MethodType CppSrcCode Source #

MethodTypeSym JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

Associated Types

type MethodType JavaCode Source #

MethodTypeSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type MethodType PythonCode Source #

MethodTypeSym SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Associated Types

type MethodType SwiftCode Source #

Pair p => MethodTypeSym (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

Associated Types

type MethodType (p CppSrcCode CppHdrCode) Source #

class ParamElim r where Source #

Instances

Instances details
ParamElim CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

ParamElim CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

ParamElim CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

ParamElim JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

ParamElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

ParamElim SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Pair p => ParamElim (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

class (MethodTypeSym r, BlockCommentSym r) => RenderMethod r where Source #

Methods

intMethod :: Bool -> Label -> r (Scope r) -> r (Permanence r) -> MSMthdType r -> [MSParameter r] -> MSBody r -> SMethod r Source #

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

commentedFunc :: MS (r (BlockComment r)) -> SMethod r -> SMethod r Source #

destructor :: [CSStateVar r] -> SMethod r Source #

mthdFromData :: ScopeTag -> Doc -> SMethod r Source #

Instances

Instances details
RenderMethod CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

RenderMethod CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

RenderMethod CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

RenderMethod JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

RenderMethod PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderMethod SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Pair p => RenderMethod (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

class BlockCommentSym r => RenderClass r where Source #

Instances

Instances details
RenderClass CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

RenderClass CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

RenderClass CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

RenderClass JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

RenderClass PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderClass SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Pair p => RenderClass (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

class RenderMod r where Source #

Methods

modFromData :: String -> FS Doc -> FSModule r Source #

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

Instances

Instances details
RenderMod CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

RenderMod CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

RenderMod CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

RenderMod JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

RenderMod PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderMod SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Pair p => RenderMod (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

class BlockCommentSym r where Source #

Associated Types

type BlockComment r Source #

Instances

Instances details
BlockCommentSym CSharpCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CSharpRenderer

Associated Types

type BlockComment CSharpCode Source #

BlockCommentSym CppHdrCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

Associated Types

type BlockComment CppHdrCode Source #

BlockCommentSym CppSrcCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

Associated Types

type BlockComment CppSrcCode Source #

BlockCommentSym JavaCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.JavaRenderer

Associated Types

type BlockComment JavaCode Source #

BlockCommentSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type BlockComment PythonCode Source #

BlockCommentSym SwiftCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.SwiftRenderer

Associated Types

type BlockComment SwiftCode Source #

Pair p => BlockCommentSym (p CppSrcCode CppHdrCode) Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

Associated Types

type BlockComment (p CppSrcCode CppHdrCode) Source #