GOOL.Drasil.CodeInfo
newtype CodeInfo a Source #
Constructors
Fields
Defined in GOOL.Drasil.CodeInfo
Methods
pure :: a -> CodeInfo a #
(<*>) :: CodeInfo (a -> b) -> CodeInfo a -> CodeInfo b #
liftA2 :: (a -> b -> c) -> CodeInfo a -> CodeInfo b -> CodeInfo c #
(*>) :: CodeInfo a -> CodeInfo b -> CodeInfo b #
(<*) :: CodeInfo a -> CodeInfo b -> CodeInfo a #
fmap :: (a -> b) -> CodeInfo a -> CodeInfo b #
(<$) :: a -> CodeInfo b -> CodeInfo a #
(>>=) :: CodeInfo a -> (a -> CodeInfo b) -> CodeInfo b #
(>>) :: CodeInfo a -> CodeInfo b -> CodeInfo b #
return :: a -> CodeInfo a #
pointerArg :: SValue CodeInfo -> SValue CodeInfo Source #
(&-=) :: SVariable CodeInfo -> SValue CodeInfo -> MSStatement CodeInfo Source #
(&+=) :: SVariable CodeInfo -> SValue CodeInfo -> MSStatement CodeInfo Source #
(&++) :: SVariable CodeInfo -> MSStatement CodeInfo Source #
(&--) :: SVariable CodeInfo -> MSStatement CodeInfo Source #
assign :: SVariable CodeInfo -> SValue CodeInfo -> MSStatement CodeInfo Source #
Associated Types
type Block CodeInfo Source #
block :: [MSStatement CodeInfo] -> MSBlock CodeInfo Source #
type Body CodeInfo Source #
body :: [MSBlock CodeInfo] -> MSBody CodeInfo Source #
addComments :: Label -> MSBody CodeInfo -> MSBody CodeInfo Source #
(?!) :: SValue CodeInfo -> SValue CodeInfo Source #
(?&&) :: SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
(?||) :: SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
type Class CodeInfo Source #
buildClass :: Maybe Label -> [CSStateVar CodeInfo] -> [SMethod CodeInfo] -> SClass CodeInfo Source #
extraClass :: Label -> Maybe Label -> [CSStateVar CodeInfo] -> [SMethod CodeInfo] -> SClass CodeInfo Source #
implementingClass :: Label -> [Label] -> [CSStateVar CodeInfo] -> [SMethod CodeInfo] -> SClass CodeInfo Source #
docClass :: String -> SClass CodeInfo -> SClass CodeInfo Source #
arg :: Integer -> SValue CodeInfo Source #
argsList :: SValue CodeInfo Source #
argExists :: Integer -> SValue CodeInfo Source #
comment :: Comment -> MSStatement CodeInfo Source #
(?<) :: SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
(?<=) :: SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
(?>) :: SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
(?>=) :: SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
(?==) :: SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
(?!=) :: SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
break :: MSStatement CodeInfo Source #
continue :: MSStatement CodeInfo Source #
returnStmt :: SValue CodeInfo -> MSStatement CodeInfo Source #
throw :: Label -> MSStatement CodeInfo Source #
ifCond :: [(SValue CodeInfo, MSBody CodeInfo)] -> MSBody CodeInfo -> MSStatement CodeInfo Source #
switch :: SValue CodeInfo -> [(SValue CodeInfo, MSBody CodeInfo)] -> MSBody CodeInfo -> MSStatement CodeInfo Source #
ifExists :: SValue CodeInfo -> MSBody CodeInfo -> MSBody CodeInfo -> MSStatement CodeInfo Source #
for :: MSStatement CodeInfo -> SValue CodeInfo -> MSStatement CodeInfo -> MSBody CodeInfo -> MSStatement CodeInfo Source #
forRange :: SVariable CodeInfo -> SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo -> MSBody CodeInfo -> MSStatement CodeInfo Source #
forEach :: SVariable CodeInfo -> SValue CodeInfo -> MSBody CodeInfo -> MSStatement CodeInfo Source #
while :: SValue CodeInfo -> MSBody CodeInfo -> MSStatement CodeInfo Source #
tryCatch :: MSBody CodeInfo -> MSBody CodeInfo -> MSStatement CodeInfo Source #
varDec :: SVariable CodeInfo -> MSStatement CodeInfo Source #
varDecDef :: SVariable CodeInfo -> SValue CodeInfo -> MSStatement CodeInfo Source #
listDec :: Integer -> SVariable CodeInfo -> MSStatement CodeInfo Source #
listDecDef :: SVariable CodeInfo -> [SValue CodeInfo] -> MSStatement CodeInfo Source #
arrayDec :: Integer -> SVariable CodeInfo -> MSStatement CodeInfo Source #
arrayDecDef :: SVariable CodeInfo -> [SValue CodeInfo] -> MSStatement CodeInfo Source #
objDecDef :: SVariable CodeInfo -> SValue CodeInfo -> MSStatement CodeInfo Source #
objDecNew :: SVariable CodeInfo -> [SValue CodeInfo] -> MSStatement CodeInfo Source #
extObjDecNew :: Library -> SVariable CodeInfo -> [SValue CodeInfo] -> MSStatement CodeInfo Source #
constDecDef :: SVariable CodeInfo -> SValue CodeInfo -> MSStatement CodeInfo Source #
funcDecDef :: SVariable CodeInfo -> [SVariable CodeInfo] -> MSBody CodeInfo -> MSStatement CodeInfo Source #
type File CodeInfo Source #
fileDoc :: FSModule CodeInfo -> SFile CodeInfo Source #
docMod :: String -> [String] -> String -> SFile CodeInfo -> SFile CodeInfo Source #
inOutCall :: InOutCall CodeInfo Source #
selfInOutCall :: InOutCall CodeInfo Source #
extInOutCall :: Library -> InOutCall CodeInfo Source #
type Function CodeInfo Source #
func :: Label -> VSType CodeInfo -> [SValue CodeInfo] -> VSFunction CodeInfo Source #
objAccess :: SValue CodeInfo -> VSFunction CodeInfo -> SValue CodeInfo Source #
get :: SValue CodeInfo -> SVariable CodeInfo -> SValue CodeInfo Source #
set :: SValue CodeInfo -> SVariable CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
print :: SValue CodeInfo -> MSStatement CodeInfo Source #
printLn :: SValue CodeInfo -> MSStatement CodeInfo Source #
printStr :: String -> MSStatement CodeInfo Source #
printStrLn :: String -> MSStatement CodeInfo Source #
printFile :: SValue CodeInfo -> SValue CodeInfo -> MSStatement CodeInfo Source #
printFileLn :: SValue CodeInfo -> SValue CodeInfo -> MSStatement CodeInfo Source #
printFileStr :: SValue CodeInfo -> String -> MSStatement CodeInfo Source #
printFileStrLn :: SValue CodeInfo -> String -> MSStatement CodeInfo Source #
getInput :: SVariable CodeInfo -> MSStatement CodeInfo Source #
discardInput :: MSStatement CodeInfo Source #
getFileInput :: SValue CodeInfo -> SVariable CodeInfo -> MSStatement CodeInfo Source #
discardFileInput :: SValue CodeInfo -> MSStatement CodeInfo Source #
openFileR :: SVariable CodeInfo -> SValue CodeInfo -> MSStatement CodeInfo Source #
openFileW :: SVariable CodeInfo -> SValue CodeInfo -> MSStatement CodeInfo Source #
openFileA :: SVariable CodeInfo -> SValue CodeInfo -> MSStatement CodeInfo Source #
closeFile :: SValue CodeInfo -> MSStatement CodeInfo Source #
getFileInputLine :: SValue CodeInfo -> SVariable CodeInfo -> MSStatement CodeInfo Source #
discardFileLine :: SValue CodeInfo -> MSStatement CodeInfo Source #
getFileInputAll :: SValue CodeInfo -> SVariable CodeInfo -> MSStatement CodeInfo Source #
listSlice' :: Maybe (SValue CodeInfo) -> Maybe (SValue CodeInfo) -> Maybe (SValue CodeInfo) -> SVariable CodeInfo -> SValue CodeInfo -> MSBlock CodeInfo Source #
objMethodCallMixedArgs' :: Label -> VSType CodeInfo -> SValue CodeInfo -> [SValue CodeInfo] -> NamedArgs CodeInfo -> SValue CodeInfo Source #
listSize :: SValue CodeInfo -> SValue CodeInfo Source #
listAdd :: SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
listAppend :: SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
listAccess :: SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
listSet :: SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
indexOf :: SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
litTrue :: SValue CodeInfo Source #
litFalse :: SValue CodeInfo Source #
litChar :: Char -> SValue CodeInfo Source #
litDouble :: Double -> SValue CodeInfo Source #
litFloat :: Float -> SValue CodeInfo Source #
litInt :: Integer -> SValue CodeInfo Source #
litString :: String -> SValue CodeInfo Source #
litArray :: VSType CodeInfo -> [SValue CodeInfo] -> SValue CodeInfo Source #
litList :: VSType CodeInfo -> [SValue CodeInfo] -> SValue CodeInfo Source #
pi :: SValue CodeInfo Source #
type Method CodeInfo Source #
method :: Label -> CodeInfo (Scope CodeInfo) -> CodeInfo (Permanence CodeInfo) -> VSType CodeInfo -> [MSParameter CodeInfo] -> MSBody CodeInfo -> SMethod CodeInfo Source #
getMethod :: SVariable CodeInfo -> SMethod CodeInfo Source #
setMethod :: SVariable CodeInfo -> SMethod CodeInfo Source #
constructor :: [MSParameter CodeInfo] -> Initializers CodeInfo -> MSBody CodeInfo -> SMethod CodeInfo Source #
docMain :: MSBody CodeInfo -> SMethod CodeInfo Source #
function :: Label -> CodeInfo (Scope CodeInfo) -> VSType CodeInfo -> [MSParameter CodeInfo] -> MSBody CodeInfo -> SMethod CodeInfo Source #
mainFunction :: MSBody CodeInfo -> SMethod CodeInfo Source #
docFunc :: String -> [String] -> Maybe String -> SMethod CodeInfo -> SMethod CodeInfo Source #
inOutMethod :: Label -> CodeInfo (Scope CodeInfo) -> CodeInfo (Permanence CodeInfo) -> InOutFunc CodeInfo Source #
docInOutMethod :: Label -> CodeInfo (Scope CodeInfo) -> CodeInfo (Permanence CodeInfo) -> DocInOutFunc CodeInfo Source #
inOutFunc :: Label -> CodeInfo (Scope CodeInfo) -> InOutFunc CodeInfo Source #
docInOutFunc :: Label -> CodeInfo (Scope CodeInfo) -> DocInOutFunc CodeInfo Source #
type Module CodeInfo Source #
buildModule :: Label -> [Label] -> [SMethod CodeInfo] -> [SClass CodeInfo] -> FSModule CodeInfo Source #
(#~) :: SValue CodeInfo -> SValue CodeInfo Source #
(#/^) :: SValue CodeInfo -> SValue CodeInfo Source #
(#|) :: SValue CodeInfo -> SValue CodeInfo Source #
(#+) :: SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
(#-) :: SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
(#*) :: SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
(#/) :: SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
(#%) :: SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
(#^) :: SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
log :: SValue CodeInfo -> SValue CodeInfo Source #
ln :: SValue CodeInfo -> SValue CodeInfo Source #
exp :: SValue CodeInfo -> SValue CodeInfo Source #
sin :: SValue CodeInfo -> SValue CodeInfo Source #
cos :: SValue CodeInfo -> SValue CodeInfo Source #
tan :: SValue CodeInfo -> SValue CodeInfo Source #
csc :: SValue CodeInfo -> SValue CodeInfo Source #
sec :: SValue CodeInfo -> SValue CodeInfo Source #
cot :: SValue CodeInfo -> SValue CodeInfo Source #
arcsin :: SValue CodeInfo -> SValue CodeInfo Source #
arccos :: SValue CodeInfo -> SValue CodeInfo Source #
arctan :: SValue CodeInfo -> SValue CodeInfo Source #
floor :: SValue CodeInfo -> SValue CodeInfo Source #
ceil :: SValue CodeInfo -> SValue CodeInfo Source #
notifyObservers :: VSFunction CodeInfo -> VSType CodeInfo -> MSStatement CodeInfo Source #
type Parameter CodeInfo Source #
param :: SVariable CodeInfo -> MSParameter CodeInfo Source #
pointerParam :: SVariable CodeInfo -> MSParameter CodeInfo Source #
type Permanence CodeInfo Source #
static :: CodeInfo (Permanence CodeInfo) Source #
dynamic :: CodeInfo (Permanence CodeInfo) Source #
type Program CodeInfo Source #
prog :: Label -> Label -> [SFile CodeInfo] -> GSProgram CodeInfo Source #
type Scope CodeInfo Source #
private :: CodeInfo (Scope CodeInfo) Source #
public :: CodeInfo (Scope CodeInfo) Source #
checkState :: Label -> [(SValue CodeInfo, MSBody CodeInfo)] -> MSBody CodeInfo -> MSStatement CodeInfo Source #
type StateVar CodeInfo Source #
stateVar :: CodeInfo (Scope CodeInfo) -> CodeInfo (Permanence CodeInfo) -> SVariable CodeInfo -> CSStateVar CodeInfo Source #
stateVarDef :: CodeInfo (Scope CodeInfo) -> CodeInfo (Permanence CodeInfo) -> SVariable CodeInfo -> SValue CodeInfo -> CSStateVar CodeInfo Source #
constVar :: CodeInfo (Scope CodeInfo) -> SVariable CodeInfo -> SValue CodeInfo -> CSStateVar CodeInfo Source #
type Statement CodeInfo Source #
valStmt :: SValue CodeInfo -> MSStatement CodeInfo Source #
multi :: [MSStatement CodeInfo] -> MSStatement CodeInfo Source #
runStrategy :: Label -> [(Label, MSBody CodeInfo)] -> Maybe (SValue CodeInfo) -> Maybe (SVariable CodeInfo) -> MSBlock CodeInfo Source #
stringSplit :: Char -> SVariable CodeInfo -> SValue CodeInfo -> MSStatement CodeInfo Source #
stringListVals :: [SVariable CodeInfo] -> SValue CodeInfo -> MSStatement CodeInfo Source #
stringListLists :: [SVariable CodeInfo] -> SValue CodeInfo -> MSStatement CodeInfo Source #
thunkAssign :: SVariable CodeInfo -> VSThunk CodeInfo -> MSStatement CodeInfo Source #
type Thunk CodeInfo Source #
getType :: CodeInfo (Type CodeInfo) -> CodeType Source #
getTypeString :: CodeInfo (Type CodeInfo) -> String Source #
type Type CodeInfo Source #
bool :: VSType CodeInfo Source #
int :: VSType CodeInfo Source #
float :: VSType CodeInfo Source #
double :: VSType CodeInfo Source #
char :: VSType CodeInfo Source #
string :: VSType CodeInfo Source #
infile :: VSType CodeInfo Source #
outfile :: VSType CodeInfo Source #
listType :: VSType CodeInfo -> VSType CodeInfo Source #
arrayType :: VSType CodeInfo -> VSType CodeInfo Source #
listInnerType :: VSType CodeInfo -> VSType CodeInfo Source #
obj :: ClassName -> VSType CodeInfo Source #
funcType :: [VSType CodeInfo] -> VSType CodeInfo -> VSType CodeInfo Source #
void :: VSType CodeInfo Source #
inlineIf :: SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo -> SValue CodeInfo Source #
funcAppMixedArgs :: MixedCall CodeInfo Source #
selfFuncAppMixedArgs :: MixedCall CodeInfo Source #
extFuncAppMixedArgs :: Library -> MixedCall CodeInfo Source #
libFuncAppMixedArgs :: Library -> MixedCall CodeInfo Source #
newObjMixedArgs :: MixedCtorCall CodeInfo Source #
extNewObjMixedArgs :: Library -> MixedCtorCall CodeInfo Source #
libNewObjMixedArgs :: Library -> MixedCtorCall CodeInfo Source #
lambda :: [SVariable CodeInfo] -> SValue CodeInfo -> SValue CodeInfo Source #
notNull :: SValue CodeInfo -> SValue CodeInfo Source #
type Value CodeInfo Source #
valueType :: CodeInfo (Value CodeInfo) -> CodeInfo (Type CodeInfo) Source #
variableName :: CodeInfo (Variable CodeInfo) -> String Source #
variableType :: CodeInfo (Variable CodeInfo) -> CodeInfo (Type CodeInfo) Source #
type Variable CodeInfo Source #
var :: Label -> VSType CodeInfo -> SVariable CodeInfo Source #
staticVar :: Label -> VSType CodeInfo -> SVariable CodeInfo Source #
constant :: Label -> VSType CodeInfo -> SVariable CodeInfo Source #
extVar :: Library -> Label -> VSType CodeInfo -> SVariable CodeInfo Source #
self :: SVariable CodeInfo Source #
classVar :: VSType CodeInfo -> SVariable CodeInfo -> SVariable CodeInfo Source #
extClassVar :: VSType CodeInfo -> SVariable CodeInfo -> SVariable CodeInfo Source #
objVar :: SVariable CodeInfo -> SVariable CodeInfo -> SVariable CodeInfo Source #
objVarSelf :: SVariable CodeInfo -> SVariable CodeInfo Source #
arrayElem :: Integer -> SVariable CodeInfo -> SVariable CodeInfo Source #
valueOf :: SVariable CodeInfo -> SValue CodeInfo Source #
vecDec :: Integer -> SVariable CodeInfo -> MSStatement CodeInfo Source #
vecDecDef :: SVariable CodeInfo -> [SValue CodeInfo] -> MSStatement CodeInfo Source #
vecScale :: SValue CodeInfo -> VSThunk CodeInfo -> VSThunk CodeInfo Source #
vecAdd :: VSThunk CodeInfo -> VSThunk CodeInfo -> VSThunk CodeInfo Source #
vecIndex :: SValue CodeInfo -> VSThunk CodeInfo -> SValue CodeInfo Source #
vecDot :: VSThunk CodeInfo -> VSThunk CodeInfo -> VSThunk CodeInfo Source #
vecThunk :: SVariable CodeInfo -> VSThunk CodeInfo Source #
vecType :: VSType CodeInfo -> VSType CodeInfo Source #
(==) :: CodeInfo a -> CodeInfo a -> Bool #
(/=) :: CodeInfo a -> CodeInfo a -> Bool #