BenchGen
BenchGen is a tool for generating benchmarks to stress-test a computing system.
|
Represents an identifier in the AST. More...
#include <ast.h>
Public Member Functions | |
Id (std::string id) | |
void | gen (Generator &) override |
Generates code for this AST node. | |
void | print (int indent) override |
Prints the structure of this AST node. | |
![]() | |
virtual | ~Node ()=default |
Represents an identifier in the AST.
Holds the name of the identifier.
|
inline |
|
overridevirtual |
Generates code for this AST node.
generator | The generator object used to manage code generation. |
Implements Node.
|
overridevirtual |
Prints the structure of this AST node.
indent | The number of spaces to indent the output. |
Implements Node.