@specs-feup/clava
Version:
A C/C++ source-to-source compiler written in Typescript
16 lines • 485 B
TypeScript
import { Joinpoint, Type, Varref } from "../../Joinpoints.js";
/**
* Adds and manages global variables.
*/
export default class GlobalVariable {
private filesWithGlobal;
private varName;
private $type;
private initValue;
constructor(varName: string, $type: Type, initValue: string);
/**
* @returns A reference to the global variable defined by this object.
*/
getRef($reference: Joinpoint): Varref;
}
//# sourceMappingURL=GlobalVariable.d.ts.map