yaksok.ts • Docs
yaksok.ts / UnexpectedTokenError
Class: UnexpectedTokenError
Extends
YaksokError
Constructors
new UnexpectedTokenError()
ts
new UnexpectedTokenError(props): UnexpectedTokenError
Parameters
• props
• props.position?: Position
• props.resource
• props.resource.parts: string
• props.resource.token: Token
Returns
Overrides
YaksokError.constructor
Defined in
Properties
child?
ts
optional child: YaksokError<unknown>;
Inherited from
YaksokError.child
Defined in
codeFile?
ts
optional codeFile: CodeFile;
Inherited from
YaksokError.codeFile
Defined in
message
ts
message: string;
Inherited from
YaksokError.message
Defined in
node_modules/.deno/typescript@5.6.3/node_modules/typescript/lib/lib.es5.d.ts:1077
name
ts
name: string;
Inherited from
YaksokError.name
Defined in
node_modules/.deno/typescript@5.6.3/node_modules/typescript/lib/lib.es5.d.ts:1076
position?
ts
optional position: Position;
Inherited from
YaksokError.position
Defined in
resource?
ts
optional resource: unknown;
Inherited from
YaksokError.resource
Defined in
stack?
ts
optional stack: string;
Inherited from
YaksokError.stack
Defined in
node_modules/.deno/typescript@5.6.3/node_modules/typescript/lib/lib.es5.d.ts:1078