Skip to content

달빛약속 / core/mod / UnexpectedTokenError

Class: UnexpectedTokenError

Extends

  • YaksokError

Constructors

new UnexpectedTokenError()

new UnexpectedTokenError(props): UnexpectedTokenError

Parameters

props
position

Position

resource

{ parts: string; }

resource.parts

string

tokens

Token[]

Returns

UnexpectedTokenError

Overrides

YaksokError.constructor

Defined in

core/error/prepare.ts:98

Properties

child?

optional child: YaksokError<unknown>

Inherited from

YaksokError.child

Defined in

core/error/common.ts:12


codeFile?

optional codeFile: CodeFile

Inherited from

YaksokError.codeFile

Defined in

core/error/common.ts:11


message

message: string

Inherited from

YaksokError.message

Defined in

node_modules/.deno/typescript@5.7.2/node_modules/typescript/lib/lib.es5.d.ts:1077


name

name: string

Inherited from

YaksokError.name

Defined in

node_modules/.deno/typescript@5.7.2/node_modules/typescript/lib/lib.es5.d.ts:1076


position?

optional position: Position

Inherited from

YaksokError.position

Defined in

core/error/common.ts:8


resource?

optional resource: unknown

Inherited from

YaksokError.resource

Defined in

core/error/common.ts:10


stack?

optional stack: string

Inherited from

YaksokError.stack

Defined in

node_modules/.deno/typescript@5.7.2/node_modules/typescript/lib/lib.es5.d.ts:1078


tokens?

optional tokens: Token[]

Inherited from

YaksokError.tokens

Defined in

core/error/common.ts:9