Skip to content

달빛약속 / core/mod / Indent

Class: Indent

Extends

Indexable

[key: string]: unknown

Constructors

new Indent()

new Indent(size, tokens): Indent

Parameters

size

number

tokens

Token[]

Returns

Indent

Overrides

Node.constructor

Defined in

core/node/misc.ts:17

Properties

size

size: number

Defined in

core/node/misc.ts:17


tokens

tokens: Token[]

Inherited from

Node.tokens

Defined in

core/node/misc.ts:17


friendlyName

static friendlyName: string = '들여쓰기'

Overrides

Node.friendlyName

Defined in

core/node/misc.ts:15

Methods

toJSON()

toJSON(): object

Returns

object

Inherited from

Node.toJSON

Defined in

core/node/base.ts:13


toPrint()

toPrint(): string

Returns

string

Inherited from

Node.toPrint

Defined in

core/node/base.ts:20