@specs-feup/kadabra
Version:
A Java source-to-source compiler written in Typescript
30 lines • 1.08 kB
TypeScript
import { Class } from "../Joinpoints.js";
/**
* Create an atomic field in the given class. This aspect provides outputs such as get and set of the field
*/
export declare function NewAtomic($class: Class, type: string, fieldName: string, initValue: string, isStatic?: boolean): {
reference: string;
name: string;
field: import("../Joinpoints.js").Field;
get: string;
set: (value: string) => string;
};
export declare function NewThread($class: Class, threadName?: string, adaptCode?: string): {
start: string;
stop: string;
running: string;
setCode: (code: string) => void;
name: string;
reference: string;
};
export declare function NewChannel(keyTypeI: string, valueTypeI: string, $class: Class, capacity: string, channelName?: string, isStatic?: boolean): {
$channel: import("../Joinpoints.js").Field;
reference: string;
offer: (key: string, value: string) => string;
take: string;
keyType: string;
valueType: string;
channelType: string;
productType: string;
};
//# sourceMappingURL=Concurrent.d.ts.map