first commit

This commit is contained in:
Stefan Hacker
2026-04-03 09:38:48 +02:00
commit 37ad745546
47450 changed files with 3120798 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import { ObjAstNode } from './ast';
import { SymbolTable } from './types';
export declare class Import {
readonly parent: Import | null;
readonly symbols: SymbolTable;
readonly offset: number;
length: number;
protected readonly byText: Map<string, number>;
constructor(parent: Import | null, symbols: SymbolTable);
getId(symbol: string): number | undefined;
getText(id: number): string | undefined;
add(symbol: string): number;
toAst(): ObjAstNode;
}