uae-dap
Version:
Debug Adapter Protocol for Amiga development with FS-UAE or WinUAE
35 lines (34 loc) • 1.04 kB
TypeScript
import { SourceConstantResolver } from "./variableManager";
export interface VasmOptions {
/** Enable extracting constants from source files using vasm */
parseSource?: boolean;
/** vasm binary - will use wasm if not set */
binaryPath?: string;
/** additional cli args for vasm - add include paths etc */
args?: string[];
}
/**
* Wrapper for vasm assembler
*/
export default class Vasm {
private binPath?;
constructor(binPath?: string | undefined);
/**
* RUn assembler
*
* @param args CLI arguments to pass to process
* @param cwd Current directory to execute process in
*/
run(args: string[], cwd?: string): Promise<string>;
}
/**
* Uses vasm to assemble the process in 'test' mode to list definitions
*/
export declare class VasmSourceConstantResolver implements SourceConstantResolver {
private vasmOptions;
constructor(vasmOptions?: VasmOptions);
/**
* @inheritdoc
*/
getSourceConstants(sourceFiles: string[]): Promise<Record<string, number>>;
}