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

GOOL.Drasil.State

Documentation

type FS = State FileState Source #

type CS = State ClassState Source #

type MS = State MethodState Source #

type VS = State ValueState Source #

lensFStoGS :: Lens' FileState GOOLState Source #

lensGStoFS :: Lens' GOOLState FileState Source #

lensMStoGS :: Lens' MethodState GOOLState Source #

lensFStoCS :: Lens' FileState ClassState Source #

lensFStoMS :: Lens' FileState MethodState Source #

lensFStoVS :: Lens' FileState ValueState Source #

lensCStoMS :: Lens' ClassState MethodState Source #

lensMStoCS :: Lens' MethodState ClassState Source #

lensCStoVS :: Lens' ClassState ValueState Source #

lensMStoFS :: Lens' MethodState FileState Source #

lensMStoVS :: Lens' MethodState ValueState Source #

lensVStoFS :: Lens' ValueState FileState Source #

lensVStoMS :: Lens' ValueState MethodState Source #

lensCStoFS :: Lens' ClassState FileState Source #

currMain :: Lens' FileState Bool Source #

currFileType :: Lens' FileState FileType Source #

currParameters :: Lens' MethodState [String] Source #

initialFS :: FileState Source #

modifyReturn :: (s -> s) -> a -> State s a Source #

modifyReturnFunc :: (b -> s -> s) -> (b -> a) -> State s b -> State s a Source #

modifyReturnList :: [State s b] -> (s -> s) -> ([b] -> a) -> State s a Source #

addLangImport :: String -> MethodState -> MethodState Source #

addLangImportVS :: String -> ValueState -> ValueState Source #

addExceptionImports :: [Exception] -> MethodState -> MethodState Source #

addLibImport :: String -> MethodState -> MethodState Source #

addLibImportVS :: String -> ValueState -> ValueState Source #

addLibImports :: [String] -> MethodState -> MethodState Source #

addModuleImport :: String -> MethodState -> MethodState Source #

addModuleImportVS :: String -> ValueState -> ValueState Source #

addHeaderLangImport :: String -> ValueState -> ValueState Source #

addHeaderLibImport :: String -> MethodState -> MethodState Source #

addHeaderModImport :: String -> ValueState -> ValueState Source #

addDefine :: String -> ValueState -> ValueState Source #

addHeaderDefine :: String -> ValueState -> ValueState Source #

addUsing :: String -> ValueState -> ValueState Source #

addHeaderUsing :: String -> ValueState -> ValueState Source #

setFileType :: FileType -> FileState -> FileState Source #

setModuleName :: String -> FileState -> FileState Source #

setClassName :: String -> ClassState -> ClassState Source #

setCurrMain :: MethodState -> MethodState Source #

addClass :: String -> ClassState -> ClassState Source #

updateClassMap :: String -> FileState -> FileState Source #

updateMethodExcMap :: String -> MethodState -> MethodState Source #

updateCallMap :: String -> MethodState -> MethodState Source #

addParameter :: String -> MethodState -> MethodState Source #

setOutputsDeclared :: MethodState -> MethodState Source #

addException :: ExceptionType -> MethodState -> MethodState Source #

addExceptions :: [ExceptionType] -> ValueState -> ValueState Source #

addCall :: QualifiedName -> ValueState -> ValueState Source #

setMainDoc :: Doc -> MethodState -> MethodState Source #

setScope :: ScopeTag -> MethodState -> MethodState Source #

setCurrMainFunc :: Bool -> MethodState -> MethodState Source #

setThrowUsed :: MethodState -> MethodState Source #

setErrorDefined :: MethodState -> MethodState Source #

addIter :: String -> MethodState -> MethodState Source #

resetIter :: String -> MethodState -> MethodState Source #

incrementLine :: MethodState -> MethodState Source #

incrementWord :: MethodState -> MethodState Source #

resetIndices :: MethodState -> MethodState Source #

useVarName :: String -> MethodState -> MethodState Source #