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

Drasil.GOOL.RendererClassesCommon

Documentation

class (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, List r, InternalList r, VectorExpression r, TypeElim r, VariableElim r, RenderBlock r, BlockElim r, RenderBody r, BodyElim r, InternalListFunc r, RenderFunction r, FunctionElim r, OpElim r, RenderParam r, ParamElim r, RenderVisibility r, VisibilityElim r, InternalAssignStmt r, InternalIOStmt r, InternalControlStmt r, RenderStatement r, StatementElim r, RenderType r, InternalTypeElim r, RenderValue r, ValueElim r, RenderVariable r, InternalVarElim r, ImportSym r, ImportElim r, UnaryOpSym r, BinaryOpSym r, BlockCommentSym r, BlockCommentElim r, ValueExpression r, RenderMethod r, MethodElim r, ParameterSym r, ScopeElim r) => CommonRenderSym r Source #

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 Drasil.GOOL.LanguageRenderer.CSharpRenderer

Associated Types

type Import CSharpCode Source #

ImportSym CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

Associated Types

type Import CppHdrCode Source #

ImportSym CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

Associated Types

type Import CppSrcCode Source #

ImportSym JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

Associated Types

type Import JavaCode Source #

ImportSym JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

Associated Types

type Import JuliaCode Source #

ImportSym PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

Associated Types

type Import PythonCode Source #

ImportSym SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

Associated Types

type Import SwiftCode Source #

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

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

Associated Types

type Import (p CppSrcCode CppHdrCode) Source #

class RenderBody r where Source #

Methods

multiBody :: [MSBody r] -> MSBody r Source #

class RenderBlock r where Source #

Methods

multiBlock :: [MSBlock r] -> MSBlock r Source #

class RenderType r where Source #

Instances

Instances details
RenderType CSharpCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer

RenderType CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

RenderType CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

RenderType JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

RenderType JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

RenderType PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

RenderType SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

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

Defined in Drasil.GOOL.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 Drasil.GOOL.LanguageRenderer.CSharpRenderer

Associated Types

type UnaryOp CSharpCode Source #

UnaryOpSym CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

Associated Types

type UnaryOp CppHdrCode Source #

UnaryOpSym CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

Associated Types

type UnaryOp CppSrcCode Source #

UnaryOpSym JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

Associated Types

type UnaryOp JavaCode Source #

UnaryOpSym JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

Associated Types

type UnaryOp JuliaCode Source #

UnaryOpSym PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

Associated Types

type UnaryOp PythonCode Source #

UnaryOpSym SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

Associated Types

type UnaryOp SwiftCode Source #

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

Defined in Drasil.GOOL.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 Drasil.GOOL.LanguageRenderer.CSharpRenderer

Associated Types

type BinaryOp CSharpCode Source #

BinaryOpSym CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

Associated Types

type BinaryOp CppHdrCode Source #

BinaryOpSym CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

Associated Types

type BinaryOp CppSrcCode Source #

BinaryOpSym JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

Associated Types

type BinaryOp JavaCode Source #

BinaryOpSym JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

Associated Types

type BinaryOp JuliaCode Source #

BinaryOpSym PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

Associated Types

type BinaryOp PythonCode Source #

BinaryOpSym SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

Associated Types

type BinaryOp SwiftCode Source #

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

Defined in Drasil.GOOL.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 Drasil.GOOL.LanguageRenderer.CSharpRenderer

OpElim CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

OpElim CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

OpElim JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

OpElim JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

OpElim PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

OpElim SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

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

Defined in Drasil.GOOL.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 Drasil.GOOL.LanguageRenderer.CSharpRenderer

RenderVariable CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

RenderVariable CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

RenderVariable JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

RenderVariable JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

RenderVariable PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

RenderVariable SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

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

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

class InternalVarElim r where Source #

Instances

Instances details
InternalVarElim CSharpCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer

InternalVarElim CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

InternalVarElim CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

InternalVarElim JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

InternalVarElim JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

InternalVarElim PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

InternalVarElim SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

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

Defined in Drasil.GOOL.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 -> Maybe Integer -> VSType r -> Doc -> SValue r Source #

Instances

Instances details
RenderValue CSharpCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer

RenderValue CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

RenderValue CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

RenderValue JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

RenderValue JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

RenderValue PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

RenderValue SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

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

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

class ValueElim r where Source #

Methods

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

valueInt :: r (Value r) -> Maybe Integer Source #

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

Instances

Instances details
ValueElim CSharpCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer

ValueElim CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

ValueElim CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

ValueElim JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

ValueElim JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

ValueElim PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

ValueElim SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

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

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

class InternalListFunc r where Source #

Methods

listSizeFunc :: SValue r -> VSFunction r Source #

List

listAddFunc :: SValue r -> SValue r -> SValue r -> VSFunction r Source #

List, Index, Value

listAppendFunc :: SValue r -> SValue r -> VSFunction r Source #

List, Value

listAccessFunc :: VSType r -> SValue r -> VSFunction r Source #

List, Index

listSetFunc :: SValue r -> SValue r -> SValue r -> VSFunction r Source #

List, Index, Value

Instances

Instances details
InternalListFunc CSharpCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer

InternalListFunc CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

InternalListFunc CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

InternalListFunc JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

InternalListFunc JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

InternalListFunc PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

InternalListFunc SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

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

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

class RenderFunction r where Source #

Instances

Instances details
RenderFunction CSharpCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer

RenderFunction CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

RenderFunction CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

RenderFunction JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

RenderFunction JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

RenderFunction PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

RenderFunction SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

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

Defined in Drasil.GOOL.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 Drasil.GOOL.LanguageRenderer.CSharpRenderer

FunctionElim CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

FunctionElim CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

FunctionElim JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

FunctionElim JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

FunctionElim PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

FunctionElim SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

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

Defined in Drasil.GOOL.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 Drasil.GOOL.LanguageRenderer.CSharpRenderer

InternalAssignStmt CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

InternalAssignStmt CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

InternalAssignStmt JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

InternalAssignStmt JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

InternalAssignStmt PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

InternalAssignStmt SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

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

Defined in Drasil.GOOL.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 Drasil.GOOL.LanguageRenderer.CSharpRenderer

InternalIOStmt CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

InternalIOStmt CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

InternalIOStmt JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

InternalIOStmt JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

InternalIOStmt PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

InternalIOStmt SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

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

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

class InternalControlStmt r where Source #

Instances

Instances details
InternalControlStmt CSharpCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer

InternalControlStmt CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

InternalControlStmt CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

InternalControlStmt JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

InternalControlStmt JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

InternalControlStmt PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

InternalControlStmt SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

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

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

class RenderStatement r where Source #

Instances

Instances details
RenderStatement CSharpCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer

RenderStatement CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

RenderStatement CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

RenderStatement JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

RenderStatement JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

RenderStatement PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

RenderStatement SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

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

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

class StatementElim r where Source #

Instances

Instances details
StatementElim CSharpCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer

StatementElim CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

StatementElim CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

StatementElim JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

StatementElim JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

StatementElim PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

StatementElim SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

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

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

class RenderVisibility r where Source #

Instances

Instances details
RenderVisibility CSharpCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer

RenderVisibility CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

RenderVisibility CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

RenderVisibility JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

RenderVisibility JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

RenderVisibility PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

RenderVisibility SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

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

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

class VisibilityElim r where Source #

Methods

visibility :: r (Visibility r) -> Doc Source #

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

class TypeSym r => MethodTypeSym r where Source #

Associated Types

type MethodType r Source #

Methods

mType :: VSType r -> MSMthdType r Source #

Instances

Instances details
MethodTypeSym CSharpCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer

Associated Types

type MethodType CSharpCode Source #

MethodTypeSym CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

Associated Types

type MethodType CppHdrCode Source #

MethodTypeSym CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

Associated Types

type MethodType CppSrcCode Source #

MethodTypeSym JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

Associated Types

type MethodType JavaCode Source #

MethodTypeSym JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

Associated Types

type MethodType JuliaCode Source #

MethodTypeSym PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

Associated Types

type MethodType PythonCode Source #

MethodTypeSym SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

Associated Types

type MethodType SwiftCode Source #

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

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

Associated Types

type MethodType (p CppSrcCode CppHdrCode) Source #

class RenderParam r where Source #

Instances

Instances details
RenderParam CSharpCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer

RenderParam CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

RenderParam CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

RenderParam JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

RenderParam JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

RenderParam PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

RenderParam SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

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

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

class ParamElim r where Source #

Instances

Instances details
ParamElim CSharpCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer

ParamElim CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

ParamElim CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

ParamElim JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

ParamElim JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

ParamElim PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

ParamElim SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

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

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

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

Methods

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

Takes a BlockComment and a method and generates a function.

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

Instances

Instances details
RenderMethod CSharpCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer

RenderMethod CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

RenderMethod CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

RenderMethod JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

RenderMethod JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

RenderMethod PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

RenderMethod SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

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

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

class BlockCommentSym r where Source #

Associated Types

type BlockComment r Source #

Methods

blockComment :: [String] -> r (BlockComment r) Source #

docComment :: State a [String] -> State a (r (BlockComment r)) Source #

Converts a list of strings into a block comment

Instances

Instances details
BlockCommentSym CSharpCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer

Associated Types

type BlockComment CSharpCode Source #

BlockCommentSym CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

Associated Types

type BlockComment CppHdrCode Source #

BlockCommentSym CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

Associated Types

type BlockComment CppSrcCode Source #

BlockCommentSym JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

Associated Types

type BlockComment JavaCode Source #

BlockCommentSym JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

Associated Types

type BlockComment JuliaCode Source #

BlockCommentSym PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

Associated Types

type BlockComment PythonCode Source #

BlockCommentSym SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

Associated Types

type BlockComment SwiftCode Source #

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

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

Associated Types

type BlockComment (p CppSrcCode CppHdrCode) Source #

class BlockCommentElim r where Source #

Instances

Instances details
BlockCommentElim CSharpCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CSharpRenderer

BlockCommentElim CppHdrCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

BlockCommentElim CppSrcCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

BlockCommentElim JavaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JavaRenderer

BlockCommentElim JuliaCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.JuliaRenderer

BlockCommentElim PythonCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.PythonRenderer

BlockCommentElim SwiftCode Source # 
Instance details

Defined in Drasil.GOOL.LanguageRenderer.SwiftRenderer

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

Defined in Drasil.GOOL.LanguageRenderer.CppRenderer

class ScopeElim r where Source #

Methods

scopeData :: r (Scope r) -> ScopeData Source #