MicroModelicaCCompiler  4.5.3
AST_Equation_For_ Class Reference

#include <equation.hpp>

Inheritance diagram for AST_Equation_For_:
Collaboration diagram for AST_Equation_For_:

Public Member Functions

 AST_Equation_For_ (AST_ForIndexList ind, AST_EquationList eql)
 
string print () const
 
AST_EquationList equationList () const
 
AST_ForIndexList forIndexList () const
 
EquationType equationType ()
 
- Public Member Functions inherited from AST_Equation_
 DEFINE_CLASS_PRINTER (AST_Equation)
 
void accept (AST_Visitor *visitor)
 
 GET_AS (Equation, Call)
 
 GET_AS (Equation, Connect)
 
 GET_AS (Equation, Equality)
 
 GET_AS (Equation, For)
 
 GET_AS (Equation, If)
 
 GET_AS (Equation, When)
 
- Public Member Functions inherited from AST_Node_
 AST_Node_ ()
 
virtual ~AST_Node_ ()
 
 DEFINE_CLASS_PRINTER (AST_Node)
 
 DEFINE_ORDER_REL (AST_Node)
 
void setLineNum (int linenum)
 
int lineNum () const
 

Private Attributes

AST_EquationList _eql
 
AST_ForIndexList _ind
 

Detailed Description

Definition at line 101 of file equation.hpp.

Constructor & Destructor Documentation

◆ AST_Equation_For_()

AST_Equation_For_::AST_Equation_For_ ( AST_ForIndexList  ind,
AST_EquationList  eql 
)

Definition at line 157 of file equation.cpp.

Member Function Documentation

◆ equationList()

AST_EquationList AST_Equation_For_::equationList ( ) const

Definition at line 176 of file equation.cpp.

References _eql.

Referenced by print().

◆ equationType()

EquationType AST_Equation_For_::equationType ( )
virtual

Implements AST_Equation_.

Definition at line 180 of file equation.cpp.

References EQFOR.

◆ forIndexList()

AST_ForIndexList AST_Equation_For_::forIndexList ( ) const

Definition at line 178 of file equation.cpp.

References _ind.

Referenced by print().

◆ print()

string AST_Equation_For_::print ( ) const
virtual

Implements AST_Equation_.

Definition at line 159 of file equation.cpp.

References AST_ListPrint(), BEGIN_BLOCK, current_element, END_BLOCK, equationList(), forIndexList(), and MAKE_SPACE.

Here is the call graph for this function:

Member Data Documentation

◆ _eql

AST_EquationList AST_Equation_For_::_eql
private

Definition at line 110 of file equation.hpp.

Referenced by equationList().

◆ _ind

AST_ForIndexList AST_Equation_For_::_ind
private

Definition at line 111 of file equation.hpp.

Referenced by forIndexList().


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