BenchGen
BenchGen is a tool for generating benchmarks to stress-test a computing system.
Loading...
Searching...
No Matches
LambdaCode Class Reference

Represents a lambda expression in the AST. More...

#include <ast.h>

Inheritance diagram for LambdaCode:
Collaboration diagram for LambdaCode:

Public Member Functions

void gen (Generator &) override
 Generates code for this AST node.
 
void print (int indent) override
 Prints the structure of this AST node.
 
- Public Member Functions inherited from Node
virtual ~Node ()=default
 

Detailed Description

Represents a lambda expression in the AST.

Currently, this class does not generate any code.

Member Function Documentation

◆ gen()

void LambdaCode::gen ( Generator & )
overridevirtual

Generates code for this AST node.

Parameters
generatorThe generator object used to manage code generation.

Implements Node.

◆ print()

void LambdaCode::print ( int indent)
overridevirtual

Prints the structure of this AST node.

Parameters
indentThe number of spaces to indent the output.

Implements Node.


The documentation for this class was generated from the following files: