Static
AnyStatic
BaseStatic
BoolStatic
CharStatic
CoreStatic
Float16Static
Float32Static
Float64Static
FunctionStatic
Int16Static
Int32Static
Int64Static
Int8Static
MainStatic
NothingStatic
PkgStatic
StringStatic
SymbolStatic
UInt16Static
UInt32Static
UInt64Static
UInt8Static
Private
globalsStatic
nthreadsStatic
Private
optionsStatic
autoValue to be wrapped.
Static
callCall a Julia function with variable arguments.
The Julia function to be called.
Rest
...args: any[]The arguments to be passed to the function. Non-JuliaValue
objects will be automatically wrapped by Julia.autoWrap
. Since the automatic wrapping does not work perfectly all the time, be sure to wrap the objects yourself in order to feed the function with the exact types.
Static
callCall a Julia function with keyword arguments and variable arguments.
The Julia function to be called.
Keyword arguments to be passed to the function. If a plain object is provided, it will be automatically wrapped as a JuliaNamedTuple
. Be sure to wrap it yourself to get exact typing.
Rest
...args: any[]Variable arguments to be passed to the function. Non-JuliaValue
objects will be automatically wrapped by. Be sure to wrap it yourself to get exact typing.
Static
closeStatic
deleteStatic
evalEvaluate a Julia code fragment and get the result as a JuliaValue
.
Julia code to be evaluated.
Static
getFetch a Julia function from the given module.
Module to be fetched from.
Name of the function to be fetched.
Static
getRetrieve an object from the global scope maintained by jlbun
.
Name of the object to be retrieved.
Static
Private
getStatic
getGet the string representation of a Julia value's type.
Pointer to a Julia object, or a JuliaValue
object.
Static
handleStatic
Private
handleStatic
importImport a module and get a JuliaModule
object referring to that module.
Name of the module to be imported.
Static
includeShortcut for Julia.Base.include
.
Relative path of the file to be included.
Module to include the file. Default to Main
.
Optional
mapFn: JuliaFunctionMapping function that will be applied to each Expr
in the included file.
Static
includeShortcut for Julia.Base.include_string
.
Code string to be included.
Module to include the file. Default to Main
.
Optional
mapFn: JuliaFunctionMapping function that will be applied to each Expr
in the included code string.
Static
initInitialize the Julia runtime. All other methods need to be called after this.
Extra options for initialization.
Static
Private
prefetchStatic
printShortcut for Julia.Base.print()
.
Object to be printed.
Static
printlnShortcut for Julia.Base.println()
.
Object to be printed.
Static
reprGet a string representation of a JuliaValue
using Julia's repr()
function, with the given MIME.
Object to be represented.
The MIME to use. Default to MIME.Default
.
Static
setSava an object to the global scope maintained by jlbun
.
Name to use.
Object to be saved.
Static
stringStringify a JuliaValue
using Julia's string()
function,
Object to be stringified.
Static
tagEvaluate a Julia code fragment and get the result as a JuliaValue
.
This method supports value-interpolation, meaning that the tagged
values will be automatically wrapped and interpolated into the code.
Strings separated by tagged values
Rest
...values: any[]Tagged values to be interpolated
Static
wrapWrap a function with several arguments so that it can be run in a JuliaTask
.
Function to be wrapped.
Keyword arguments.
Rest
...args: any[]Variable arguments.
Static
wrapWrap a pointer as a JuliaValue
object.
Pointer to the Julia object.
Generated using TypeDoc
Wrap a JS value as a
JuliaValue
object.