달빛약속 / core/mod / DeclareFunction
Class: DeclareFunction
Extends
Indexable
[key
: string
]: unknown
Constructors
new DeclareFunction()
new DeclareFunction(
props
,tokens
):DeclareFunction
Parameters
props
body
name
string
tokens
Token
[]
Returns
Overrides
Defined in
Properties
body
body:
Block
Defined in
name
name:
string
Defined in
tokens
tokens:
Token
[]
Inherited from
Defined in
friendlyName
static
friendlyName:string
='새 약속 만들기'
Overrides
Defined in
Methods
execute()
execute(
scope
):Promise
<void
>
Parameters
scope
Returns
Promise
<void
>
Overrides
Defined in
toJSON()
toJSON():
object
Returns
object
Inherited from
Defined in
toPrint()
toPrint():
string
Returns
string