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.
 
 
 
 
 

14 lines
491 B

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;
}