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

GOOL.Drasil.LanguageRenderer.PythonRenderer

Description

The logic to render Python code is contained in this module

Synopsis

Python Code Configuration -- defines syntax of all Python code

newtype PythonCode a Source #

Constructors

PC 

Fields

Instances

Instances details
Applicative PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Methods

pure :: a -> PythonCode a #

(<*>) :: PythonCode (a -> b) -> PythonCode a -> PythonCode b #

liftA2 :: (a -> b -> c) -> PythonCode a -> PythonCode b -> PythonCode c #

(*>) :: PythonCode a -> PythonCode b -> PythonCode b #

(<*) :: PythonCode a -> PythonCode b -> PythonCode a #

Functor PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Methods

fmap :: (a -> b) -> PythonCode a -> PythonCode b #

(<$) :: a -> PythonCode b -> PythonCode a #

Monad PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Methods

(>>=) :: PythonCode a -> (a -> PythonCode b) -> PythonCode b #

(>>) :: PythonCode a -> PythonCode b -> PythonCode b #

return :: a -> PythonCode a #

Argument PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

AssignStatement PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

BlockSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type Block PythonCode Source #

BodySym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type Body PythonCode Source #

BooleanExpression PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

ClassSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type Class PythonCode Source #

CommandLineArgs PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

CommentStatement PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Comparison PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

ControlStatement PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

DeclStatement PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

FileSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type File PythonCode Source #

FuncAppStatement PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

FunctionSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type Function PythonCode Source #

GetSet PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

IOStatement PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

InternalList PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

InternalValueExp PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

List PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Literal PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

MathConstant PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

MethodSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type Method PythonCode Source #

ModuleSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type Module PythonCode Source #

NumericExpression PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

OOProg PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

ObserverPattern PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

ParameterSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type Parameter PythonCode Source #

PermanenceSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type Permanence PythonCode Source #

ProgramSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type Program PythonCode Source #

ScopeSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type Scope PythonCode Source #

StatePattern PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

StateVarSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type StateVar PythonCode Source #

StatementSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type Statement PythonCode Source #

StrategyPattern PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

StringStatement PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

ThunkAssign PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

ThunkSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type Thunk PythonCode Source #

TypeElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

TypeSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type Type PythonCode Source #

ValueExpression PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

ValueSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type Value PythonCode Source #

VariableElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

VariableSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type Variable PythonCode Source #

VariableValue PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

VectorDecl PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

VectorExpression PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

VectorThunk PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

VectorType PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

BinaryOpSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type BinaryOp PythonCode Source #

BlockCommentElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

BlockCommentSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type BlockComment PythonCode Source #

BlockElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

BodyElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

ClassElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

FunctionElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

ImportElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

ImportSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type Import PythonCode Source #

InternalAssignStmt PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

InternalControlStmt PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

InternalGetSet PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

InternalIOStmt PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

InternalListFunc PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

InternalTypeElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

InternalVarElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

MethodElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

MethodTypeSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type MethodType PythonCode Source #

ModuleElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

OpElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

ParamElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

PermElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderBlock PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderBody PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderClass PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderFile PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderFunction PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderMethod PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderMod PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderParam PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderScope PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderStatement PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderType PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderValue PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

RenderVariable PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

ScopeElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

StateVarElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

StatementElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

UnaryOpSym PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

Associated Types

type UnaryOp PythonCode Source #

ValueElim PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type Block PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type Body PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type Class PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type File PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type Function PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type Method PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type Module PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type Parameter PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type Permanence PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type Program PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type Scope PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type StateVar PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type Statement PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type Thunk PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type Type PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type Value PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type Variable PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type BinaryOp PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type BlockComment PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type Import PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type MethodType PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer

type UnaryOp PythonCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.PythonRenderer