@reyalp/debug-utils
Version:
ts transformers for debug
26 lines (25 loc) • 646 B
TypeScript
export interface SourceLocation {
line: number;
column: number;
sympath: string;
full: string;
file: SourceLocationFileInfo;
symbols: SourceLocationSymbol[];
up: SourceLocation;
}
export interface SourceLocationFileInfo {
ext: string;
name: string;
fullname: string;
rel_dir: string;
rel_path: string;
full_dir: string;
full_path: string;
}
export type SourceLocationSymbol = {
kind: 'var' | 'call' | 'class' | 'func' | 'elem' | 'prop' | 'expr' | 'namespace' | 'toplevel';
name: string;
line: number;
column: number;
};
export declare const source_location: SourceLocation;