MicroModelicaCCompiler  4.5.3
AST_CompositionElement_ Class Reference

#include <composition.hpp>

Inheritance diagram for AST_CompositionElement_:
Collaboration diagram for AST_CompositionElement_:

Public Member Functions

 AST_CompositionElement_ (AST_CompositionEqsAlgs eqs_algs)
 
 AST_CompositionElement_ (AST_ElementList el)
 
 DEFINE_CLASS_PRINTER (AST_CompositionElement)
 
AST_CompositionEqsAlgs getEquationsAlgs ()
 
AST_ElementList getElementList ()
 
bool hasEquations ()
 
bool hasStatements ()
 
bool hasElements ()
 
void accept (AST_Visitor *visitor)
 
- 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_CompositionEqsAlgs _eqs_algs
 
AST_ElementList _el
 

Detailed Description

Definition at line 56 of file composition.hpp.

Constructor & Destructor Documentation

◆ AST_CompositionElement_() [1/2]

AST_CompositionElement_::AST_CompositionElement_ ( AST_CompositionEqsAlgs  eqs_algs)

Definition at line 133 of file composition.cpp.

◆ AST_CompositionElement_() [2/2]

AST_CompositionElement_::AST_CompositionElement_ ( AST_ElementList  el)

Definition at line 135 of file composition.cpp.

Member Function Documentation

◆ accept()

void AST_CompositionElement_::accept ( AST_Visitor visitor)
virtual

Implements AST_Node_.

Definition at line 183 of file composition.cpp.

References _el, _eqs_algs, current_element, AST_Visitor::leave(), and AST_Visitor::visit().

Here is the call graph for this function:

◆ DEFINE_CLASS_PRINTER()

AST_CompositionElement_::DEFINE_CLASS_PRINTER ( AST_CompositionElement  )

◆ getElementList()

AST_ElementList AST_CompositionElement_::getElementList ( )

Definition at line 142 of file composition.cpp.

References _el.

◆ getEquationsAlgs()

AST_CompositionEqsAlgs AST_CompositionElement_::getEquationsAlgs ( )

Definition at line 140 of file composition.cpp.

References _eqs_algs.

◆ hasElements()

bool AST_CompositionElement_::hasElements ( )

Definition at line 212 of file composition.cpp.

References _el.

◆ hasEquations()

bool AST_CompositionElement_::hasEquations ( )

Definition at line 196 of file composition.cpp.

References _eqs_algs.

◆ hasStatements()

bool AST_CompositionElement_::hasStatements ( )

Definition at line 204 of file composition.cpp.

References _eqs_algs.

Member Data Documentation

◆ _el

AST_ElementList AST_CompositionElement_::_el
private

Definition at line 70 of file composition.hpp.

Referenced by accept(), getElementList(), hasElements(), and operator<<().

◆ _eqs_algs

AST_CompositionEqsAlgs AST_CompositionElement_::_eqs_algs
private

Definition at line 69 of file composition.hpp.

Referenced by accept(), getEquationsAlgs(), hasEquations(), hasStatements(), and operator<<().


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