@hadss/hmrouter-plugin
Version:
HMRouter Compiler Plugin
15 lines (14 loc) • 526 B
TypeScript
import { HMRouterExtensionContext } from '../HMRouterExtensionContext';
export declare class CodeGenerationProcessor {
private context;
private sdkVersion;
constructor(context: HMRouterExtensionContext);
execute(): void;
extractVersion(compatibleSdkVersion: string | number): number;
getCompileSdkVersion(): number;
getSdkVersion(json5FilePath: string, index: number): number;
private generatePageFile;
private deleteOtherFile;
private prepareTemplateModel;
private generateFile;
}