UNPKG

@specs-feup/lara

Version:

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

44 lines 1.51 kB
/** * Prints a message to the standard output. * * @deprecated Use console.log instead */ export declare function print(message?: string): void; /** * Prints a message to the standard output. * * @deprecated Use console.log instead */ export declare function println(message?: string): void; /** * Prints a message to the standard error. * * @deprecated Use console.error instead */ export declare function error(message?: string): void; /** * Prints a message to the standard error. * * @deprecated Use console.error instead */ export declare function errorln(message?: string): void; export declare const INDENT_CHAR = " "; export declare const JAVA_OBJECT_ANNOTATION = "[@Java Object] "; /** * @deprecated Use object2string() with console.log() instead */ export declare function printObject(obj: any, space?: string): void; /** * @deprecated Use object2string() with console.log() instead */ export declare function printlnObject(obj: any, space?: string): void; export declare function object2string(obj: any, space?: string, ommitFunctions?: boolean): string; /** * @deprecated Use the regular object2string() instead */ export declare function object2stringSimple(obj: any, space?: string): void; export declare function writeFile(path: string, content: string): any; export declare function JSONtoFile(path: string, object: any): void; export declare function fileToJSON(path: string): any; export declare function readFile(path: string): any; //# sourceMappingURL=output.d.ts.map