mirror of
https://git.sfja.dk/Mikkel/slige.git
synced 2025-01-18 19:36:32 +00:00
15 lines
229 B
TypeScript
15 lines
229 B
TypeScript
|
export type Token = {
|
||
|
type: string;
|
||
|
pos: Pos;
|
||
|
length: number;
|
||
|
identValue?: string;
|
||
|
intValue?: number;
|
||
|
stringValue?: string;
|
||
|
};
|
||
|
|
||
|
export type Pos = {
|
||
|
index: number;
|
||
|
line: number;
|
||
|
col: number;
|
||
|
};
|