BenchGen
BenchGen is a tool for generating benchmarks to stress-test a computing system.
|
Represents a block of statements in the AST. More...
#include <ast.h>
Public Member Functions | |
StatementCode (std::shared_ptr< Node > stmt, std::shared_ptr< Node > code) | |
void | gen (Generator &) override |
Generates code for this AST node. | |
void | print (int) override |
Prints the structure of this AST node. | |
![]() | |
virtual | ~Node ()=default |
Represents a block of statements in the AST.
Contains a statement and the following code block.
|
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.