yaksok.ts • Docs
yaksok.ts / DeclareFunction
Class: DeclareFunction
Extends
Constructors
new DeclareFunction()
ts
new DeclareFunction(props): DeclareFunction
Parameters
• props
• props.body: Block
• props.name: string
Returns
Overrides
Defined in
Properties
body
ts
body: Block;
Defined in
name
ts
name: string;
Defined in
position?
ts
optional position: Position;
Inherited from
Defined in
friendlyName
ts
static friendlyName: string = '새 약속 만들기';
Overrides
Defined in
Methods
execute()
ts
execute(scope): void
Parameters
• scope: Scope
Returns
void
Overrides
Defined in
getReturnValue()
ts
getReturnValue(scope): ValueTypes
Parameters
• scope: Scope
Returns
Defined in
run()
ts
run(scope, _callFrame): ValueTypes
Parameters
• scope: Scope
• _callFrame: CallFrame
Returns
Defined in
toJSON()
ts
toJSON(): object
Returns
object
Inherited from
Defined in
toPrint()
ts
toPrint(): string
Returns
string