Skip to content

달빛약속 / core/mod / MentionScope

Class: MentionScope

Extends

Indexable

[key: string]: unknown

Constructors

new MentionScope()

new MentionScope(fileName, child, tokens): MentionScope

Parameters

fileName

string

child

Identifier | FunctionInvoke

tokens

Token[]

Returns

MentionScope

Overrides

Evaluable.constructor

Defined in

core/node/mention.ts:40

Properties

child

child: Identifier | FunctionInvoke

Defined in

core/node/mention.ts:42


fileName

fileName: string

Defined in

core/node/mention.ts:41


tokens

tokens: Token[]

Inherited from

Evaluable.tokens

Defined in

core/node/mention.ts:43


friendlyName

static friendlyName: string = '불러오기'

Overrides

Evaluable.friendlyName

Defined in

core/node/mention.ts:38

Methods

execute()

execute(scope): Promise<ValueType>

Parameters

scope

Scope

Returns

Promise<ValueType>

Overrides

Evaluable.execute

Defined in

core/node/mention.ts:48


toJSON()

toJSON(): object

Returns

object

Inherited from

Evaluable.toJSON

Defined in

core/node/base.ts:20


toPrint()

toPrint(): string

Returns

string

Overrides

Evaluable.toPrint

Defined in

core/node/mention.ts:88


validate()

validate(scope): YaksokError<unknown>[]

Parameters

scope

Scope

Returns

YaksokError<unknown>[]

Overrides

Evaluable.validate

Defined in

core/node/mention.ts:92