Drasil.GOOL.CodeInfoOO
newtype CodeInfoOO a Source #
Constructors
Fields
Defined in Drasil.GOOL.CodeInfoOO
Methods
pure :: a -> CodeInfoOO a #
(<*>) :: CodeInfoOO (a -> b) -> CodeInfoOO a -> CodeInfoOO b #
liftA2 :: (a -> b -> c) -> CodeInfoOO a -> CodeInfoOO b -> CodeInfoOO c #
(*>) :: CodeInfoOO a -> CodeInfoOO b -> CodeInfoOO b #
(<*) :: CodeInfoOO a -> CodeInfoOO b -> CodeInfoOO a #
fmap :: (a -> b) -> CodeInfoOO a -> CodeInfoOO b #
(<$) :: a -> CodeInfoOO b -> CodeInfoOO a #
(>>=) :: CodeInfoOO a -> (a -> CodeInfoOO b) -> CodeInfoOO b #
(>>) :: CodeInfoOO a -> CodeInfoOO b -> CodeInfoOO b #
return :: a -> CodeInfoOO a #
get :: SValue CodeInfoOO -> SVariable CodeInfoOO -> SValue CodeInfoOO Source #
set :: SValue CodeInfoOO -> SVariable CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
objMethodCallMixedArgs' :: Label -> VS (CodeInfoOO TypeData) -> SValue CodeInfoOO -> [SValue CodeInfoOO] -> NamedArgs CodeInfoOO -> SValue CodeInfoOO Source #
classMethodCallMixedArgs' :: Label -> VS (CodeInfoOO TypeData) -> VS (CodeInfoOO TypeData) -> [SValue CodeInfoOO] -> NamedArgs CodeInfoOO -> SValue CodeInfoOO Source #
func :: Label -> VS (CodeInfoOO TypeData) -> [SValue CodeInfoOO] -> VS (CodeInfoOO FuncData) Source #
objAccess :: SValue CodeInfoOO -> VS (CodeInfoOO FuncData) -> SValue CodeInfoOO Source #
obj :: ClassName -> VS (CodeInfoOO TypeData) Source #
newObjMixedArgs :: MixedCtorCall CodeInfoOO Source #
extNewObjMixedArgs :: Library -> MixedCtorCall CodeInfoOO Source #
libNewObjMixedArgs :: Library -> MixedCtorCall CodeInfoOO Source #
classVar :: Label -> VS (CodeInfoOO TypeData) -> SVariable CodeInfoOO Source #
classConst :: Label -> VS (CodeInfoOO TypeData) -> SVariable CodeInfoOO Source #
classVarAccess :: VS (CodeInfoOO TypeData) -> SVariable CodeInfoOO -> SVariable CodeInfoOO Source #
extClassVarAccess :: VS (CodeInfoOO TypeData) -> SVariable CodeInfoOO -> SVariable CodeInfoOO Source #
instanceVarAccess :: SValue CodeInfoOO -> SVariable CodeInfoOO -> SVariable CodeInfoOO Source #
self :: SVariable CodeInfoOO Source #
pointerArg :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
arrayElem :: SValue CodeInfoOO -> SValue CodeInfoOO -> SVariable CodeInfoOO Source #
arrayLength :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
arrayCopy :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
binder :: Label -> VS (CodeInfoOO TypeData) -> VSBinder CodeInfoOO Source #
(?!) :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
(?&&) :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
(?||) :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
arg :: Integer -> SValue CodeInfoOO Source #
argsList :: SValue CodeInfoOO Source #
argExists :: Integer -> SValue CodeInfoOO Source #
(?<) :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
(?<=) :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
(?>) :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
(?>=) :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
(?==) :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
(?!=) :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
intToIndex :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
indexToInt :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
listSlice' :: Maybe (SValue CodeInfoOO) -> Maybe (SValue CodeInfoOO) -> Maybe (SValue CodeInfoOO) -> SVariable CodeInfoOO -> SValue CodeInfoOO -> MS (CodeInfoOO Block) Source #
litTrue :: SValue CodeInfoOO Source #
litFalse :: SValue CodeInfoOO Source #
litChar :: Char -> SValue CodeInfoOO Source #
litDouble :: Double -> SValue CodeInfoOO Source #
litFloat :: Float -> SValue CodeInfoOO Source #
litInt :: Integer -> SValue CodeInfoOO Source #
litString :: String -> SValue CodeInfoOO Source #
litArray :: VS (CodeInfoOO TypeData) -> [SValue CodeInfoOO] -> SValue CodeInfoOO Source #
litList :: VS (CodeInfoOO TypeData) -> [SValue CodeInfoOO] -> SValue CodeInfoOO Source #
litSet :: VS (CodeInfoOO TypeData) -> [SValue CodeInfoOO] -> SValue CodeInfoOO Source #
pi :: SValue CodeInfoOO Source #
(#~) :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
(#/^) :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
(#|) :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
(#+) :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
(#-) :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
(#*) :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
(#/) :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
(#%) :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
(#^) :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
log :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
ln :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
exp :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
sin :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
cos :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
tan :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
csc :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
sec :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
cot :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
arcsin :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
arccos :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
arctan :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
floor :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
ceil :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
param :: SVariable CodeInfoOO -> MS (CodeInfoOO ParamData) Source #
pointerParam :: SVariable CodeInfoOO -> MS (CodeInfoOO ParamData) Source #
makeRef :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
maybeDeref :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
global :: CodeInfoOO ScopeData Source #
mainFn :: CodeInfoOO ScopeData Source #
local :: CodeInfoOO ScopeData Source #
contains :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
setAdd :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
setRemove :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
setUnion :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
getCodeType :: CodeInfoOO TypeData -> CodeType Source #
bool :: VS (CodeInfoOO TypeData) Source #
int :: VS (CodeInfoOO TypeData) Source #
float :: VS (CodeInfoOO TypeData) Source #
double :: VS (CodeInfoOO TypeData) Source #
char :: VS (CodeInfoOO TypeData) Source #
string :: VS (CodeInfoOO TypeData) Source #
infile :: VS (CodeInfoOO TypeData) Source #
outfile :: VS (CodeInfoOO TypeData) Source #
referenceType :: VS (CodeInfoOO TypeData) -> VS (CodeInfoOO TypeData) Source #
listType :: VS (CodeInfoOO TypeData) -> VS (CodeInfoOO TypeData) Source #
setType :: VS (CodeInfoOO TypeData) -> VS (CodeInfoOO TypeData) Source #
arrayType :: VS (CodeInfoOO TypeData) -> VS (CodeInfoOO TypeData) Source #
innerType :: VS (CodeInfoOO TypeData) -> VS (CodeInfoOO TypeData) Source #
funcType :: [VS (CodeInfoOO TypeData)] -> VS (CodeInfoOO TypeData) -> VS (CodeInfoOO TypeData) Source #
void :: VS (CodeInfoOO TypeData) Source #
inlineIf :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
funcAppMixedArgs :: MixedCall CodeInfoOO Source #
extFuncAppMixedArgs :: Library -> MixedCall CodeInfoOO Source #
libFuncAppMixedArgs :: Library -> MixedCall CodeInfoOO Source #
lambda :: [VSBinder CodeInfoOO] -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
notNull :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
valueType :: CodeInfoOO Value -> CodeInfoOO TypeData Source #
variableName :: CodeInfoOO Variable -> String Source #
variableType :: CodeInfoOO Variable -> CodeInfoOO TypeData Source #
var :: Label -> VS (CodeInfoOO TypeData) -> SVariable CodeInfoOO Source #
constant :: Label -> VS (CodeInfoOO TypeData) -> SVariable CodeInfoOO Source #
extVar :: Library -> Label -> VS (CodeInfoOO TypeData) -> SVariable CodeInfoOO Source #
valueOf :: SVariable CodeInfoOO -> SValue CodeInfoOO Source #
classLevel :: CodeInfoOO () Source #
instanceLevel :: CodeInfoOO () Source #
objDecDef :: SVariable CodeInfoOO -> CodeInfoOO ScopeData -> SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
objDecNew :: SVariable CodeInfoOO -> CodeInfoOO ScopeData -> [SValue CodeInfoOO] -> MS (CodeInfoOO ()) Source #
extObjDecNew :: Library -> SVariable CodeInfoOO -> CodeInfoOO ScopeData -> [SValue CodeInfoOO] -> MS (CodeInfoOO ()) Source #
selfInOutCall :: InOutCall CodeInfoOO () Source #
notifyObservers :: VS (CodeInfoOO FuncData) -> VS (CodeInfoOO TypeData) -> MS (CodeInfoOO ()) Source #
runStrategy :: Label -> [(Label, MS (CodeInfoOO Body))] -> Maybe (SValue CodeInfoOO) -> Maybe (SVariable CodeInfoOO) -> MS (CodeInfoOO Block) Source #
(&-=) :: SVariable CodeInfoOO -> SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
(&+=) :: SVariable CodeInfoOO -> SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
(&++) :: SVariable CodeInfoOO -> MS (CodeInfoOO ()) Source #
(&--) :: SVariable CodeInfoOO -> MS (CodeInfoOO ()) Source #
assign :: SVariable CodeInfoOO -> SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
block :: [MS (CodeInfoOO ())] -> MS (CodeInfoOO Block) Source #
body :: [MS (CodeInfoOO Block)] -> MS (CodeInfoOO Body) Source #
addComments :: Label -> MS (CodeInfoOO Body) -> MS (CodeInfoOO Body) Source #
comment :: String -> MS (CodeInfoOO ()) Source #
break :: MS (CodeInfoOO ()) Source #
continue :: MS (CodeInfoOO ()) Source #
returnStmt :: SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
throw :: Label -> MS (CodeInfoOO ()) Source #
ifCond :: [(SValue CodeInfoOO, MS (CodeInfoOO Body))] -> MS (CodeInfoOO Body) -> MS (CodeInfoOO ()) Source #
switch :: SValue CodeInfoOO -> [(SValue CodeInfoOO, MS (CodeInfoOO Body))] -> MS (CodeInfoOO Body) -> MS (CodeInfoOO ()) Source #
ifExists :: SValue CodeInfoOO -> MS (CodeInfoOO Body) -> MS (CodeInfoOO Body) -> MS (CodeInfoOO ()) Source #
for :: MS (CodeInfoOO ()) -> SValue CodeInfoOO -> MS (CodeInfoOO ()) -> MS (CodeInfoOO Body) -> MS (CodeInfoOO ()) Source #
forRange :: SVariable CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO -> MS (CodeInfoOO Body) -> MS (CodeInfoOO ()) Source #
forEach :: SVariable CodeInfoOO -> SValue CodeInfoOO -> MS (CodeInfoOO Body) -> MS (CodeInfoOO ()) Source #
while :: SValue CodeInfoOO -> MS (CodeInfoOO Body) -> MS (CodeInfoOO ()) Source #
tryCatch :: MS (CodeInfoOO Body) -> MS (CodeInfoOO Body) -> MS (CodeInfoOO ()) Source #
assert :: SValue CodeInfoOO -> SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
varDec :: SVariable CodeInfoOO -> CodeInfoOO ScopeData -> MS (CodeInfoOO ()) Source #
varDecDef :: SVariable CodeInfoOO -> CodeInfoOO ScopeData -> SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
listDec :: Integer -> SVariable CodeInfoOO -> CodeInfoOO ScopeData -> MS (CodeInfoOO ()) Source #
listDecDef :: SVariable CodeInfoOO -> CodeInfoOO ScopeData -> [SValue CodeInfoOO] -> MS (CodeInfoOO ()) Source #
setDec :: SVariable CodeInfoOO -> CodeInfoOO ScopeData -> MS (CodeInfoOO ()) Source #
setDecDef :: SVariable CodeInfoOO -> CodeInfoOO ScopeData -> SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
arrayDec :: Integer -> SValue CodeInfoOO -> SVariable CodeInfoOO -> CodeInfoOO ScopeData -> MS (CodeInfoOO ()) Source #
arrayDecDef :: SVariable CodeInfoOO -> CodeInfoOO ScopeData -> [SValue CodeInfoOO] -> MS (CodeInfoOO ()) Source #
constDecDef :: SVariable CodeInfoOO -> CodeInfoOO ScopeData -> SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
funcDecDef :: SVariable CodeInfoOO -> CodeInfoOO ScopeData -> [SVariable CodeInfoOO] -> MS (CodeInfoOO Body) -> MS (CodeInfoOO ()) Source #
inOutCall :: InOutCall CodeInfoOO () Source #
extInOutCall :: Library -> InOutCall CodeInfoOO () Source #
print :: SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
printLn :: SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
printStr :: String -> MS (CodeInfoOO ()) Source #
printStrLn :: String -> MS (CodeInfoOO ()) Source #
printFile :: SValue CodeInfoOO -> SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
printFileLn :: SValue CodeInfoOO -> SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
printFileStr :: SValue CodeInfoOO -> String -> MS (CodeInfoOO ()) Source #
printFileStrLn :: SValue CodeInfoOO -> String -> MS (CodeInfoOO ()) Source #
getInput :: SVariable CodeInfoOO -> MS (CodeInfoOO ()) Source #
discardInput :: MS (CodeInfoOO ()) Source #
getFileInput :: SValue CodeInfoOO -> SVariable CodeInfoOO -> MS (CodeInfoOO ()) Source #
discardFileInput :: SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
openFileR :: SVariable CodeInfoOO -> SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
openFileW :: SVariable CodeInfoOO -> SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
openFileA :: SVariable CodeInfoOO -> SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
closeFile :: SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
getFileInputLine :: SValue CodeInfoOO -> SVariable CodeInfoOO -> MS (CodeInfoOO ()) Source #
discardFileLine :: SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
getFileInputAll :: SValue CodeInfoOO -> SVariable CodeInfoOO -> MS (CodeInfoOO ()) Source #
listSize :: SValue CodeInfoOO -> SValue CodeInfoOO Source #
listAdd :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
listAppend :: SValue CodeInfoOO -> SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
listAccess :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
listSet :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
indexOf :: SValue CodeInfoOO -> SValue CodeInfoOO -> SValue CodeInfoOO Source #
valStmt :: SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
emptyStmt :: MS (CodeInfoOO ()) Source #
multi :: [MS (CodeInfoOO ())] -> MS (CodeInfoOO ()) Source #
stringSplit :: Char -> SVariable CodeInfoOO -> SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
stringListVals :: [SVariable CodeInfoOO] -> SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
stringListLists :: [SVariable CodeInfoOO] -> SValue CodeInfoOO -> MS (CodeInfoOO ()) Source #
unRepr :: CodeInfoOO contents -> contents Source #
private :: CodeInfoOO () Source #
public :: CodeInfoOO () Source #
stateVar :: CodeInfoOO () -> CodeInfoOO () -> SVariable CodeInfoOO -> CSStateVar CodeInfoOO () Source #
stateVarDef :: CodeInfoOO () -> CodeInfoOO () -> SVariable CodeInfoOO -> SValue CodeInfoOO -> CSStateVar CodeInfoOO () Source #
constVar :: CodeInfoOO () -> SVariable CodeInfoOO -> SValue CodeInfoOO -> CSStateVar CodeInfoOO () Source #
docMain :: MS (CodeInfoOO Body) -> MS (CodeInfoOO ()) Source #
function :: Label -> CodeInfoOO () -> VS (CodeInfoOO TypeData) -> [MS (CodeInfoOO ParamData)] -> MS (CodeInfoOO Body) -> MS (CodeInfoOO ()) Source #
mainFunction :: MS (CodeInfoOO Body) -> MS (CodeInfoOO ()) Source #
docFunc :: String -> [String] -> Maybe String -> MS (CodeInfoOO ()) -> MS (CodeInfoOO ()) Source #
inOutFunc :: Label -> CodeInfoOO () -> InOutFunc CodeInfoOO () Source #
docInOutFunc :: Label -> CodeInfoOO () -> DocInOutFunc CodeInfoOO () Source #
method :: Label -> CodeInfoOO () -> CodeInfoOO () -> VS (CodeInfoOO TypeData) -> [MS (CodeInfoOO ParamData)] -> MS (CodeInfoOO Body) -> MS (CodeInfoOO ()) Source #
getMethod :: SVariable CodeInfoOO -> MS (CodeInfoOO ()) Source #
setMethod :: SVariable CodeInfoOO -> MS (CodeInfoOO ()) Source #
constructor :: [MS (CodeInfoOO ParamData)] -> Initializers CodeInfoOO -> MS (CodeInfoOO Body) -> MS (CodeInfoOO ()) Source #
inOutMethod :: Label -> CodeInfoOO () -> CodeInfoOO () -> InOutFunc CodeInfoOO () Source #
docInOutMethod :: Label -> CodeInfoOO () -> CodeInfoOO () -> DocInOutFunc CodeInfoOO () Source #
buildClass :: Maybe Label -> [CSStateVar CodeInfoOO ()] -> [MS (CodeInfoOO ())] -> [MS (CodeInfoOO ())] -> CS (CodeInfoOO Class) Source #
extraClass :: Label -> Maybe Label -> [CSStateVar CodeInfoOO ()] -> [MS (CodeInfoOO ())] -> [MS (CodeInfoOO ())] -> CS (CodeInfoOO Class) Source #
implementingClass :: Label -> [Label] -> [CSStateVar CodeInfoOO ()] -> [MS (CodeInfoOO ())] -> [MS (CodeInfoOO ())] -> CS (CodeInfoOO Class) Source #
docClass :: String -> CS (CodeInfoOO Class) -> CS (CodeInfoOO Class) Source #
fileDoc :: FS (CodeInfoOO Module) -> FS (CodeInfoOO File) Source #
docMod :: String -> String -> [String] -> String -> FS (CodeInfoOO File) -> FS (CodeInfoOO File) Source #
buildModule :: Label -> [Label] -> [MS (CodeInfoOO ())] -> [CS (CodeInfoOO Class)] -> FS (CodeInfoOO Module) Source #
prog :: Label -> Label -> [FS (CodeInfoOO File)] -> GSProgram CodeInfoOO GOOLState Source #
(==) :: CodeInfoOO a -> CodeInfoOO a -> Bool #
(/=) :: CodeInfoOO a -> CodeInfoOO a -> Bool #