AutoPas  3.0.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
autopas::RuleSyntax::RuleBasedProgramTree Struct Reference

The AST of a rule program. More...

#include <RuleBasedProgramTree.h>

Public Member Functions

RuleVM::Program generateCode (CodeGenerationContext &context) const
 Generates code for the whole program described by this AST.
 

Public Attributes

std::vector< std::shared_ptr< Statement > > statements
 All statements in the program.
 

Detailed Description

The AST of a rule program.

Member Function Documentation

◆ generateCode()

RuleVM::Program autopas::RuleSyntax::RuleBasedProgramTree::generateCode ( CodeGenerationContext context) const

Generates code for the whole program described by this AST.

Parameters
contextThe context to generate in the code in.
Returns
The program for this AST.

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