MicroModelicaCCompiler  4.5.3
PreChange Class Reference

#include <ast_util.hpp>

Inheritance diagram for PreChange:
Collaboration diagram for PreChange:

Public Member Functions

 PreChange (PreSet)
 
- Public Member Functions inherited from AST_Expression_Fold< AST_Expression >
virtual ~AST_Expression_Fold ()=default
 
AST_Expression apply (AST_Expression e)
 

Private Member Functions

AST_Expression foldTraverseElement (AST_Expression)
 
AST_Expression foldTraverseElement (AST_Expression, AST_Expression, BinOpType)
 
AST_Expression foldTraverseElementUMinus (AST_Expression)
 

Private Attributes

PreSet _pre
 

Detailed Description

Definition at line 307 of file ast_util.hpp.

Constructor & Destructor Documentation

◆ PreChange()

PreChange::PreChange ( PreSet  p)

Definition at line 367 of file ast_util.cpp.

Member Function Documentation

◆ foldTraverseElement() [1/2]

AST_Expression PreChange::foldTraverseElement ( AST_Expression  e)
privatevirtual

◆ foldTraverseElement() [2/2]

AST_Expression PreChange::foldTraverseElement ( AST_Expression  b1,
AST_Expression  b2,
BinOpType  t 
)
privatevirtual

Implements AST_Expression_Fold< AST_Expression >.

Definition at line 369 of file ast_util.cpp.

References newAST_Expression_BinOp().

Here is the call graph for this function:

◆ foldTraverseElementUMinus()

AST_Expression PreChange::foldTraverseElementUMinus ( AST_Expression  u)
privatevirtual

Implements AST_Expression_Fold< AST_Expression >.

Definition at line 374 of file ast_util.cpp.

References newAST_Expression_UnaryMinus().

Here is the call graph for this function:

Member Data Documentation

◆ _pre

PreSet PreChange::_pre
private

Definition at line 312 of file ast_util.hpp.


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