MicroModelicaCCompiler  4.5.3
AST_Statement_Visitor< F, R, V > Class Template Referenceabstract

#include <ast_util.hpp>

Public Member Functions

 AST_Statement_Visitor (V v, F c_init, bool lhs=true)
 
virtual ~AST_Statement_Visitor ()=default
 
apply (AST_Statement stm)
 

Private Member Functions

virtual F foldTraverse (R)=0
 
virtual F foldTraverse (F, F)=0
 

Private Attributes

_visitor
 
bool _lhs
 
_c_init
 

Detailed Description

template<class F, class R, class V>
class AST_Statement_Visitor< F, R, V >

Definition at line 119 of file ast_util.hpp.

Constructor & Destructor Documentation

◆ AST_Statement_Visitor()

template<class F , class R , class V >
AST_Statement_Visitor< F, R, V >::AST_Statement_Visitor ( v,
c_init,
bool  lhs = true 
)
inline

Definition at line 121 of file ast_util.hpp.

◆ ~AST_Statement_Visitor()

template<class F , class R , class V >
virtual AST_Statement_Visitor< F, R, V >::~AST_Statement_Visitor ( )
virtualdefault

Member Function Documentation

◆ apply()

template<class F , class R , class V >
F AST_Statement_Visitor< F, R, V >::apply ( AST_Statement  stm)
inline

◆ foldTraverse() [1/2]

template<class F , class R , class V >
virtual F AST_Statement_Visitor< F, R, V >::foldTraverse ( ,
 
)
privatepure virtual

◆ foldTraverse() [2/2]

template<class F , class R , class V >
virtual F AST_Statement_Visitor< F, R, V >::foldTraverse ( )
privatepure virtual

Member Data Documentation

◆ _c_init

template<class F , class R , class V >
F AST_Statement_Visitor< F, R, V >::_c_init
private

Definition at line 189 of file ast_util.hpp.

Referenced by AST_Statement_Visitor< F, R, V >::apply().

◆ _lhs

template<class F , class R , class V >
bool AST_Statement_Visitor< F, R, V >::_lhs
private

Definition at line 188 of file ast_util.hpp.

Referenced by AST_Statement_Visitor< F, R, V >::apply().

◆ _visitor

template<class F , class R , class V >
V AST_Statement_Visitor< F, R, V >::_visitor
private

Definition at line 184 of file ast_util.hpp.

Referenced by AST_Statement_Visitor< F, R, V >::apply().


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