yaksok.ts • Docs
yaksok.ts / Runtime
Class: Runtime
Constructors
new Runtime()
ts
new Runtime(codeTexts, config): Runtime
Parameters
• codeTexts: Record
<string
, string
>
• config: Partial
<RuntimeConfig
>
Returns
Defined in
Properties
entryPoint
ts
entryPoint: string;
Defined in
flags
ts
flags: Partial<Partial<Record<FUTURE_FUNCTION_INVOKE_SYNTAX, boolean>>> = {};
Defined in
runFFI()
ts
runFFI: (runtime, code, args) => ValueTypes;
Parameters
• runtime: string
• code: string
• args: FunctionParams
Returns
Defined in
stderr()
ts
stderr: (message) => void;
Parameters
• message: string
Returns
void
Defined in
stdout()
ts
stdout: (message) => void;
Parameters
• message: string
Returns
void
Defined in
Methods
getCodeFile()
ts
getCodeFile(fileName): CodeFile
Parameters
• fileName: string
= ...
Returns
Defined in
run()
ts
run(fileName): ExecuteResult<Block>
Parameters
• fileName: string
= ...
Returns
ExecuteResult
<Block
>