Skip to content

달빛약속 / Indent

Class: Indent ​

Extends ​

Constructors ​

Indent() ​

Indent(token): Indent

Parameters ​

• token: Token

Returns ​

Indent

Overrides ​

Node.constructor

Defined in ​

core/node/misc.ts:30

Properties ​

parsingErrors ​

parsingErrors: YaksokError<unknown>[] = []

Defined in ​

core/node/misc.ts:28


size ​

size: number

Defined in ​

core/node/misc.ts:25


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/base.ts:27


value? ​

optional value: string

Inherited from ​

Node.value

Defined in ​

core/node/base.ts:30


width ​

width: number

Defined in ​

core/node/misc.ts:26


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/misc.ts:23

Methods ​

getNodeTypeName() ​

protected getNodeTypeName(): string

Returns ​

string

Inherited from ​

Node.getNodeTypeName

Defined in ​

core/node/base.ts:45


injectParsingError() ​

injectParsingError(parsingError): void

Parameters ​

• parsingError: YaksokError<unknown>

Returns ​

void

Defined in ​

core/node/misc.ts:67


toPrint() ​

toPrint(): string

Returns ​

string

Inherited from ​

Node.toPrint

Defined in ​

core/node/base.ts:41


validate() ​

validate(scope?): YaksokError<unknown>[]

Parameters ​

• scope?: Scope

Returns ​

YaksokError<unknown>[]

Overrides ​

Node.validate

Defined in ​

core/node/misc.ts:42