Skip to content

IfStatement

Defined in: core/node/IfStatement.ts:30

new IfStatement(cases, tokens): IfStatement

Defined in: core/node/IfStatement.ts:33

Case[]

Token[]

IfStatement

Executable.constructor

cases: Case[]

Defined in: core/node/IfStatement.ts:34


subnode: SubnodeScheme

Defined in: core/node/base.ts:29

Executable.subnode


tokens: Token[]

Defined in: core/node/IfStatement.ts:35

Executable.tokens


optional value?: string

Defined in: core/node/base.ts:30

Executable.value


static accepts: NodeCapability[] = []

Defined in: core/node/base.ts:33

Executable.accepts


static friendlyName: string = '조건문(만약)'

Defined in: core/node/IfStatement.ts:31

Executable.friendlyName

execute(scope): Promise<void>

Defined in: core/node/IfStatement.ts:40

Scope

Promise<void>

Executable.execute


shouldStop(condition, scope): Promise<boolean>

Defined in: core/node/IfStatement.ts:50

Evaluable<SubnodeScheme, ValueType> | undefined

Scope

Promise<boolean>


toPrint(): string

Defined in: core/node/base.ts:63

string

Executable.toPrint


validate(scope): YaksokError<unknown>[]

Defined in: core/node/IfStatement.ts:57

Scope

YaksokError<unknown>[]

Executable.validate