UNPKG

@specs-feup/lara

Version:

A js port of the popular framework for building source-to-source compilers

21 lines 872 B
import UnitModifier from "./UnitModifier.js"; /** * ! If you are ever in need of using this class, please PLEASE refactor it. * ! Just do it. I did not have the time to do it myself and did not want to break compatibility with the old Margot APIs. */ export default class SiModifier extends UnitModifier { protected static _unitModifier: UnitModifier; static GIGA: string; static MEGA: string; static KILO: string; static BASE: string; static MILLI: string; static MICRO: string; static NANO: string; static getUnitModifier(): UnitModifier; static convert(value: number, fromModifier: string, toModifier: string): number; static checkModifier(modifier: string, source: string): void; static isValid(modifier: string): boolean; static getModifierByName(name: string): string; } //# sourceMappingURL=SiModifier.d.ts.map