import BinarySerializer from '../BinarySerializer'; import Logger from '../Logger'; import ILinkSection from './ILinkSection'; import IObjectPatch from './IObjectPatch'; import IObjectSection from './IObjectSection'; import IRegionTypeMap from './IRegionTypeMap'; import LinkerContext from './LinkerContext'; export default class Linker { logger: Logger; constructor(logger: Logger); link(ctx: LinkerContext): Promise; parseNumber(str: string | undefined): number; getRegionTypes(ctx: LinkerContext): IRegionTypeMap; getAllSections(ctx: LinkerContext): IObjectSection[]; getSymbolFile(ctx: LinkerContext): string; getMapFile(ctx: LinkerContext): string; calcPatchValue(patch: IObjectPatch, link: ILinkSection, ctx: LinkerContext): number; fillSection(link: ILinkSection, bs: BinarySerializer, ctx: LinkerContext): void; fillPatch(patch: IObjectPatch, link: ILinkSection, bs: BinarySerializer, ctx: LinkerContext): void; applyLinkerScript(sections: IObjectSection[], ctx: LinkerContext): void; allocate(section: IObjectSection, ctx: LinkerContext): ILinkSection | undefined; error(msg: string, section: IObjectSection | undefined, ctx: LinkerContext): void; private hexString; }