UNPKG

@specs-feup/clava

Version:

A C/C++ source-to-source compiler written in Typescript

51 lines 1.6 kB
import WeaverDataStore from "@specs-feup/lara/api/weaver/util/WeaverDataStore.js"; import { JavaClasses } from "@specs-feup/lara/api/lara/util/JavaTypes.js"; import DataStore from "@specs-feup/lara/api/lara/util/DataStore.js"; /** * DataStore used in Clava. * */ export default class ClavaDataStore extends WeaverDataStore { constructor(data?: string | DataStore | JavaClasses.DataStore, definition?: any); /** * Wraps a Java DataStore around a Lara DataStore. */ protected dataStoreWrapper(javaDataStore: JavaClasses.DataStore): ClavaDataStore; /** * @returns A string with the current C/C++ compiler flags. */ getFlags(): string; /** * @param flags - A string with C/C++ compiler flags. * */ setFlags(flags: string): void; /** * @returns A list with the current extra system includes. */ getSystemIncludes(): string[]; /** * @returns A list with the current user includes. */ getUserIncludes(): string[]; /** * @param arguments - A variable number of strings with the extra system includes. * */ setSystemIncludes(...args: string[]): void; /** * @param arguments - A variable number of strings with the user includes. * */ setUserIncludes(...args: string[]): void; /** * @returns A string with the current compilation standard. */ getStandard(): string; /** * @param flags - A string with a C/C++/OpenCL compilation standard. * */ setStandard(standard: string): void; } //# sourceMappingURL=ClavaDataStore.d.ts.map