UNPKG

@hadss/hmrouter-plugin

Version:

HMRouter Compiler Plugin

23 lines (22 loc) 789 B
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 matchedPath; private prepareTemplateModel; private determineTemplatePath; private determineTemplateType; private generateFile; private detectLibraryVersion; private detectLibraryVersion2; private extractHMRouterVersion; private getLibraryPossiblePaths; private parseVersion; private compareVersions; }