yaksok.ts • Docs
yaksok.ts / IfStatement
Class: IfStatement
Extends
Constructors
new IfStatement()
ts
new IfStatement(cases): IfStatement
Parameters
• cases: Case
[]
Returns
Overrides
Defined in
Properties
cases
ts
cases: Case[];
Defined in
position?
ts
optional position: Position;
Inherited from
Defined in
friendlyName
ts
static friendlyName: string = '조건문(만약)';
Overrides
Defined in
Methods
execute()
ts
execute(scope, _callFrame): void
Parameters
• scope: Scope
• _callFrame: CallFrame
Returns
void
Overrides
Defined in
shouldStop()
ts
shouldStop(
condition,
scope,
_callFrame): boolean
Parameters
• condition: Evaluable
• scope: Scope
• _callFrame: CallFrame
Returns
boolean
Defined in
toJSON()
ts
toJSON(): object
Returns
object
Inherited from
Defined in
toPrint()
ts
toPrint(): string
Returns
string