Skip to content

달빛약속 / core/mod / BooleanLiteral

Class: BooleanLiteral

Extends

Indexable

[key: string]: unknown

Constructors

new BooleanLiteral()

new BooleanLiteral(content, tokens): BooleanLiteral

Parameters

content

boolean

tokens

Token[]

Returns

BooleanLiteral

Overrides

Evaluable.constructor

Defined in

core/node/primitive-literal.ts:42

Properties

tokens

tokens: Token[]

Inherited from

Evaluable.tokens

Defined in

core/node/primitive-literal.ts:42


friendlyName

static friendlyName: string = '참거짓'

Overrides

Evaluable.friendlyName

Defined in

core/node/primitive-literal.ts:40

Methods

execute()

execute(_scope): Promise<BooleanValue>

Parameters

_scope

Scope

Returns

Promise<BooleanValue>

Overrides

Evaluable.execute

Defined in

core/node/primitive-literal.ts:46


toJSON()

toJSON(): object

Returns

object

Inherited from

Evaluable.toJSON

Defined in

core/node/base.ts:13


toPrint()

toPrint(): string

Returns

string

Overrides

Evaluable.toPrint

Defined in

core/node/primitive-literal.ts:50