Skip to content

달빛약속 / Mention

Class: Mention ​

Extends ​

Constructors ​

Mention() ​

Mention(value, tokens): Mention

Parameters ​

• value: string

• tokens: Token[]

Returns ​

Mention

Overrides ​

Node.constructor

Defined in ​

core/node/mention.ts:16

Properties ​

subnode ​

subnode: unknown

Inherited from ​

Node.subnode

Defined in ​

core/node/base.ts:29


tokens ​

tokens: Token[]

Inherited from ​

Node.tokens

Defined in ​

core/node/mention.ts:18


value ​

value: string

Inherited from ​

Node.value

Defined in ​

core/node/mention.ts:17


accepts ​

static accepts: NodeCapability[] = []

Inherited from ​

Node.accepts

Defined in ​

core/node/base.ts:33


friendlyName ​

static friendlyName: string = '불러올 파일 이름'

Overrides ​

Node.friendlyName

Defined in ​

core/node/mention.ts:14

Methods ​

getNodeTypeName() ​

protected getNodeTypeName(): string

Returns ​

string

Inherited from ​

Node.getNodeTypeName

Defined in ​

core/node/base.ts:45


toPrint() ​

toPrint(): string

Returns ​

string

Overrides ​

Node.toPrint

Defined in ​

core/node/mention.ts:23


validate() ​

validate(scope): YaksokError<unknown>[]

Parameters ​

• scope: Scope

Returns ​

YaksokError<unknown>[]

Overrides ​

Node.validate

Defined in ​

core/node/mention.ts:27