UNPKG

@specs-feup/lara

Version:

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

25 lines 739 B
/** * Information about the current platform (e.g., if it is Linux, Windows or Mac) * */ export default class Platforms { private static customPlatform; private static LINUX; private static UNIX; private static WINDOWS; private static MAC; static isWindows(): boolean; static isLinux(): boolean; static isUnix(): boolean; static isMac(): boolean; static getPlatformName(): string; static setLinux(): void; static setWindows(): void; static setMac(): void; private static testCustomPlatform; /** * If platform has been previously set to a custom one, resets setting. Otherwise, does nothing. */ static setCurrent(): void; } //# sourceMappingURL=Platforms.d.ts.map