Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- codeType :: HasSpace c => c -> GenState CodeType
- spaceCodeType :: Space -> GenState CodeType
- publicFunc :: OOProg r => Label -> VSType r -> Description -> [ParameterChunk] -> Maybe Description -> [MSBlock r] -> GenState (SMethod r)
- publicFuncProc :: SharedProg r => Label -> VSType r -> Description -> [ParameterChunk] -> Maybe Description -> [MSBlock r] -> GenState (SMethod r)
- privateMethod :: OOProg r => Label -> VSType r -> Description -> [ParameterChunk] -> Maybe Description -> [MSBlock r] -> GenState (SMethod r)
- privateFuncProc :: SharedProg r => Label -> VSType r -> Description -> [ParameterChunk] -> Maybe Description -> [MSBlock r] -> GenState (SMethod r)
- publicInOutFunc :: OOProg r => Label -> Description -> [CodeVarChunk] -> [CodeVarChunk] -> [MSBlock r] -> GenState (SMethod r)
- publicInOutFuncProc :: SharedProg r => Label -> Description -> [CodeVarChunk] -> [CodeVarChunk] -> [MSBlock r] -> GenState (SMethod r)
- privateInOutMethod :: OOProg r => Label -> Description -> [CodeVarChunk] -> [CodeVarChunk] -> [MSBlock r] -> GenState (SMethod r)
- privateInOutFuncProc :: SharedProg r => Label -> Description -> [CodeVarChunk] -> [CodeVarChunk] -> [MSBlock r] -> GenState (SMethod r)
- genConstructor :: OOProg r => Label -> Description -> [ParameterChunk] -> [MSBlock r] -> GenState (SMethod r)
- mkVar :: OOProg r => CodeVarChunk -> GenState (SVariable r)
- mkVarProc :: SharedProg r => CodeVarChunk -> GenState (SVariable r)
- mkVal :: OOProg r => CodeVarChunk -> GenState (SValue r)
- mkValProc :: SharedProg r => CodeVarChunk -> GenState (SValue r)
- convExpr :: OOProg r => CodeExpr -> GenState (SValue r)
- convExprProc :: SharedProg r => CodeExpr -> GenState (SValue r)
- convStmt :: OOProg r => FuncStmt -> GenState (MSStatement r)
- convStmtProc :: SharedProg r => FuncStmt -> GenState (MSStatement r)
- genModDef :: OOProg r => Mod -> GenState (SFile r)
- genModDefProc :: ProcProg r => Mod -> GenState (SFile r)
- genModFuncs :: OOProg r => Mod -> [GenState (SMethod r)]
- genModFuncsProc :: SharedProg r => Mod -> [GenState (SMethod r)]
- genModClasses :: OOProg r => Mod -> [GenState (SClass r)]
- readData :: OOProg r => DataDesc -> GenState [MSBlock r]
- readDataProc :: SharedProg r => DataDesc -> GenState [MSBlock r]
- renderC :: (HasUID c, HasSymbol c) => c -> Constraint CodeExpr -> CodeExpr
Documentation
publicFunc :: OOProg r => Label -> VSType r -> Description -> [ParameterChunk] -> Maybe Description -> [MSBlock r] -> GenState (SMethod r) Source #
Generates a public function.
publicFuncProc :: SharedProg r => Label -> VSType r -> Description -> [ParameterChunk] -> Maybe Description -> [MSBlock r] -> GenState (SMethod r) Source #
Generates a public function.
privateMethod :: OOProg r => Label -> VSType r -> Description -> [ParameterChunk] -> Maybe Description -> [MSBlock r] -> GenState (SMethod r) Source #
Generates a private method.
privateFuncProc :: SharedProg r => Label -> VSType r -> Description -> [ParameterChunk] -> Maybe Description -> [MSBlock r] -> GenState (SMethod r) Source #
Generates a private function.
publicInOutFunc :: OOProg r => Label -> Description -> [CodeVarChunk] -> [CodeVarChunk] -> [MSBlock r] -> GenState (SMethod r) Source #
Generates a public function, defined by its inputs and outputs.
publicInOutFuncProc :: SharedProg r => Label -> Description -> [CodeVarChunk] -> [CodeVarChunk] -> [MSBlock r] -> GenState (SMethod r) Source #
Generates a public function, defined by its inputs and outputs.
privateInOutMethod :: OOProg r => Label -> Description -> [CodeVarChunk] -> [CodeVarChunk] -> [MSBlock r] -> GenState (SMethod r) Source #
Generates a private method, defined by its inputs and outputs.
privateInOutFuncProc :: SharedProg r => Label -> Description -> [CodeVarChunk] -> [CodeVarChunk] -> [MSBlock r] -> GenState (SMethod r) Source #
Generates a private function, defined by its inputs and outputs.
genConstructor :: OOProg r => Label -> Description -> [ParameterChunk] -> [MSBlock r] -> GenState (SMethod r) Source #
Generates a constructor.
mkVar :: OOProg r => CodeVarChunk -> GenState (SVariable r) Source #
Generates a GOOL Variable for a variable represented by a CodeVarChunk
.
mkVarProc :: SharedProg r => CodeVarChunk -> GenState (SVariable r) Source #
Generates a GOOL Variable for a variable represented by a CodeVarChunk
.
mkVal :: OOProg r => CodeVarChunk -> GenState (SValue r) Source #
Generates a GOOL Value for a variable represented by a CodeVarChunk
.
mkValProc :: SharedProg r => CodeVarChunk -> GenState (SValue r) Source #
Generates a GOOL Value for a variable represented by a CodeVarChunk
.
convExprProc :: SharedProg r => CodeExpr -> GenState (SValue r) Source #
Converts an Expr
to a GOOL Value.
convStmt :: OOProg r => FuncStmt -> GenState (MSStatement r) Source #
Converts a FuncStmt
to a GOOL Statement.
convStmtProc :: SharedProg r => FuncStmt -> GenState (MSStatement r) Source #
Converts a FuncStmt
to a GOOL Statement.
genModFuncs :: OOProg r => Mod -> [GenState (SMethod r)] Source #
Converts a Mod
's functions to GOOL.
genModFuncsProc :: SharedProg r => Mod -> [GenState (SMethod r)] Source #
Converts a Mod
's functions to GOOL.
readData :: OOProg r => DataDesc -> GenState [MSBlock r] Source #
Read from a data description into a MSBlock
of MSStatement
s.
readDataProc :: SharedProg r => DataDesc -> GenState [MSBlock r] Source #
Read from a data description into a MSBlock
of MSStatement
s.
renderC :: (HasUID c, HasSymbol c) => c -> Constraint CodeExpr -> CodeExpr Source #
Converts a Constraint
to a CodeExpr
.