You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
480 B
17 lines
480 B
2 years ago
|
type GeneratedColumn = number;
|
||
|
type SourcesIndex = number;
|
||
|
type SourceLine = number;
|
||
|
type SourceColumn = number;
|
||
|
type NamesIndex = number;
|
||
|
|
||
|
export type SourceMapSegment =
|
||
|
| [GeneratedColumn]
|
||
|
| [GeneratedColumn, SourcesIndex, SourceLine, SourceColumn]
|
||
|
| [GeneratedColumn, SourcesIndex, SourceLine, SourceColumn, NamesIndex];
|
||
|
|
||
|
export const COLUMN = 0;
|
||
|
export const SOURCES_INDEX = 1;
|
||
|
export const SOURCE_LINE = 2;
|
||
|
export const SOURCE_COLUMN = 3;
|
||
|
export const NAMES_INDEX = 4;
|