UNPKG

scrypt-ts-transpiler

Version:

```bash npm i npx scryptlib download npm t ```

24 lines (23 loc) 659 B
import { Range } from './types'; import { Symbol, FilePath } from './indexerReader'; /** * @ignore */ export declare class IndexerWriter { filePath: string; scryptBasePath: string; symbolPaths: Map<Symbol, FilePath>; constructor(pathParam: { tsconfigDir: string; scryptOutDir: string; }); save(): void; load(): void; addSymbols(symbolsWithRange: { name: Symbol; srcRange: Range; }[], symbolPath: FilePath): void; getRelativePath(symbol: Symbol): FilePath; getFullPath(symbol: Symbol): FilePath | undefined; query(symbol: Symbol, includeBase?: boolean): FilePath | undefined; }