달빛약속 / IfStatement
Class: IfStatement
Extends
Indexable
[key
: string
]: unknown
Constructors
new IfStatement()
new IfStatement(
cases
):IfStatement
Parameters
cases
Case
[]
Returns
Overrides
Defined in
Properties
cases
cases:
Case
[]
Defined in
position?
optional
position:Position
Inherited from
Defined in
friendlyName
static
friendlyName:string
='조건문(만약)'
Overrides
Defined in
Methods
execute()
execute(
scope
,_callFrame
):Promise
<void
>
Parameters
scope
_callFrame
CallFrame
Returns
Promise
<void
>
Overrides
Defined in
shouldStop()
shouldStop(
condition
,scope
,_callFrame
):Promise
<boolean
>
Parameters
condition
scope
_callFrame
CallFrame
Returns
Promise
<boolean
>
Defined in
toJSON()
toJSON():
object
Returns
object
Inherited from
Defined in
toPrint()
toPrint():
string
Returns
string