@specs-feup/clava
Version:
A C/C++ source-to-source compiler written in Typescript
39 lines • 1.07 kB
TypeScript
/**
* Enumeration of CFG node types.
*/
export default class CfgNodeType {
static START: CfgNodeType;
static END: CfgNodeType;
static IF: CfgNodeType;
static THEN: CfgNodeType;
static ELSE: CfgNodeType;
static LOOP: CfgNodeType;
static COND: CfgNodeType;
static INIT: CfgNodeType;
static STEP: CfgNodeType;
static SCOPE: CfgNodeType;
static INST_LIST: CfgNodeType;
static BREAK: CfgNodeType;
static CONTINUE: CfgNodeType;
static SWITCH: CfgNodeType;
static CASE: CfgNodeType;
static GOTO: CfgNodeType;
static LABEL: CfgNodeType;
static RETURN: CfgNodeType;
private nameStr;
/**
* Creates a new instance of the CfgNodeType class
* @param name - The name of the CFG node type
*/
constructor(name: string);
/**
* @returns The name of the CFG node type
*/
get name(): string;
/**
*
* @returns String representation of the CFG node type, which corresponds to its name
*/
toString(): string;
}
//# sourceMappingURL=CfgNodeType.d.ts.map