Skip to content

yaksok.tsDocs


yaksok.ts / DeclareFFI

Class: DeclareFFI

Extends

Constructors

new DeclareFFI()

ts
new DeclareFFI(props): DeclareFFI

Parameters

props

props.body: string

props.name: string

props.paramNames: string[]

props.position?: Position

props.runtime: string

Returns

DeclareFFI

Overrides

Executable.constructor

Defined in

src/node/ffi.ts:24

Properties

body

ts
body: string;

Defined in

src/node/ffi.ts:20


name

ts
name: string;

Defined in

src/node/ffi.ts:19


paramNames

ts
paramNames: string[];

Defined in

src/node/ffi.ts:22


position?

ts
optional position: Position;

Inherited from

Executable.position

Defined in

src/node/base.ts:16


runtime

ts
runtime: string;

Defined in

src/node/ffi.ts:21


friendlyName

ts
static friendlyName: string = '번역 만들기';

Overrides

Executable.friendlyName

Defined in

src/node/ffi.ts:17

Methods

assertEvaluable()

ts
assertEvaluable(value): asserts value is Evaluable

Parameters

value: unknown

Returns

asserts value is Evaluable

Defined in

src/node/ffi.ts:65


execute()

ts
execute(scope): void

Parameters

scope: Scope

Returns

void

Overrides

Executable.execute

Defined in

src/node/ffi.ts:39


getParams()

ts
getParams(scope): FunctionParams

Parameters

scope: Scope

Returns

FunctionParams

Defined in

src/node/ffi.ts:57


run()

ts
run(scope, _callFrame): ValueTypes

Parameters

scope: Scope

_callFrame: CallFrame

Returns

ValueTypes

Defined in

src/node/ffi.ts:43


toJSON()

ts
toJSON(): object

Returns

object

Inherited from

Executable.toJSON

Defined in

src/node/base.ts:19


toPrint()

ts
toPrint(): string

Returns

string

Inherited from

Executable.toPrint

Defined in

src/node/base.ts:36