Skip to content

yaksok.tsDocs


yaksok.ts / FunctionInvoke

Class: FunctionInvoke

Extends

Constructors

new FunctionInvoke()

ts
new FunctionInvoke(props): FunctionInvoke

Parameters

props

props.name: string

props.params: FunctionParams

Returns

FunctionInvoke

Overrides

Evaluable.constructor

Defined in

src/node/function.ts:62

Properties

name

ts
name: string;

Defined in

src/node/function.ts:59


params

ts
params: FunctionParams;

Defined in

src/node/function.ts:60


position?

ts
optional position: Position;

Inherited from

Evaluable.position

Defined in

src/node/base.ts:16


friendlyName

ts
static friendlyName: string = '약속 사용하기';

Overrides

Evaluable.friendlyName

Defined in

src/node/function.ts:57

Methods

execute()

ts
execute(scope, _callFrame): ValueTypes

Parameters

scope: Scope

_callFrame: CallFrame

Returns

ValueTypes

Overrides

Evaluable.execute

Defined in

src/node/function.ts:69


invoke()

ts
invoke(
   scope, 
   callFrame, 
   args): ValueTypes

Parameters

scope: Scope

callFrame: CallFrame

args

Returns

ValueTypes

Defined in

src/node/function.ts:77


toJSON()

ts
toJSON(): object

Returns

object

Inherited from

Evaluable.toJSON

Defined in

src/node/base.ts:19


toPrint()

ts
toPrint(): string

Returns

string

Inherited from

Evaluable.toPrint

Defined in

src/node/base.ts:36