2023-02-10 01:14:22 +08:00

27 lines
593 B
TypeScript

import { RawHdlModule, Macro, RawSymbol } from '../../src/hdlParser/common';
import { HdlLangID } from '../../src/global/enum';
type AbsPath = string;
type RelPath = string;
type Path = AbsPath | RelPath;
interface Fast {
content: {
error : string[]
modules: RawHdlModule[]
}
languageId: HdlLangID
macro: Macro
}
interface All {
content: {
error: string[]
symbols: RawSymbol[]
}
languageId: HdlLangID
macro: Macro
}
export function vlogFast(path: AbsPath): Promise<Fast>;
export function vlogAll(path: AbsPath): Promise<All>;