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:39

Properties ​

child ​

child: Identifier | FunctionInvoke

Defined in ​

core/node/mention.ts:41


fileName ​

fileName: string

Defined in ​

core/node/mention.ts:40


tokens ​

tokens: Token[]

Inherited from ​

Evaluable.tokens

Defined in ​

core/node/mention.ts:42


friendlyName ​

static friendlyName: string = '불러오기'

Overrides ​

Evaluable.friendlyName

Defined in ​

core/node/mention.ts:37

Methods ​

execute() ​

execute(scope): Promise<ValueType>

Parameters ​

scope ​

Scope

Returns ​

Promise<ValueType>

Overrides ​

Evaluable.execute

Defined in ​

core/node/mention.ts:47


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:85


validate() ​

validate(scope): YaksokError<unknown>[]

Parameters ​

scope ​

Scope

Returns ​

YaksokError<unknown>[]

Overrides ​

Evaluable.validate

Defined in ​

core/node/mention.ts:89