MicroModelicaCCompiler
4.5.3
|
#include <composition.hpp>
Public Member Functions | |
AST_Composition_ (AST_ElementList el, AST_CompositionElementList cl) | |
DEFINE_CLASS_PRINTER (AST_Composition) | |
AST_CompositionElementList | compositionList () const |
bool | hasCompositionList () |
AST_ElementList | elementList () const |
bool | hasElementList () |
void | setExternalFunctionCall (AST_External_Function_Call) |
AST_External_Function_Call | externalCall () const |
bool | hasExternalFunctionCall () |
void | setAnnotation (AST_ArgumentList) |
bool | hasAnnotation () |
void | accept (AST_Visitor *visitor) |
![]() | |
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_CompositionElementList | _composition_list |
AST_ElementList | _element_list |
AST_ArgumentList | _annot |
AST_External_Function_Call | _ext |
Definition at line 34 of file composition.hpp.
AST_Composition_::AST_Composition_ | ( | AST_ElementList | el, |
AST_CompositionElementList | cl | ||
) |
Definition at line 35 of file composition.cpp.
|
virtual |
Implements AST_Node_.
Definition at line 74 of file composition.cpp.
References _annot, _composition_list, _element_list, _ext, current_element, AST_Visitor::leave(), and AST_Visitor::visit().
AST_CompositionElementList AST_Composition_::compositionList | ( | ) | const |
Definition at line 44 of file composition.cpp.
References _composition_list.
Referenced by operator<<().
AST_Composition_::DEFINE_CLASS_PRINTER | ( | AST_Composition | ) |
AST_ElementList AST_Composition_::elementList | ( | ) | const |
Definition at line 42 of file composition.cpp.
References _element_list.
Referenced by operator<<().
AST_External_Function_Call AST_Composition_::externalCall | ( | ) | const |
bool AST_Composition_::hasAnnotation | ( | ) |
Definition at line 123 of file composition.cpp.
References _annot.
bool AST_Composition_::hasCompositionList | ( | ) |
Definition at line 107 of file composition.cpp.
References _composition_list.
bool AST_Composition_::hasElementList | ( | ) |
bool AST_Composition_::hasExternalFunctionCall | ( | ) |
Definition at line 115 of file composition.cpp.
References _ext.
void AST_Composition_::setAnnotation | ( | AST_ArgumentList | al | ) |
Definition at line 72 of file composition.cpp.
References _annot.
void AST_Composition_::setExternalFunctionCall | ( | AST_External_Function_Call | ext | ) |
Definition at line 68 of file composition.cpp.
References _ext.
|
private |
Definition at line 52 of file composition.hpp.
Referenced by accept(), hasAnnotation(), and setAnnotation().
|
private |
Definition at line 50 of file composition.hpp.
Referenced by accept(), compositionList(), and hasCompositionList().
|
private |
Definition at line 51 of file composition.hpp.
Referenced by accept(), and elementList().
|
private |
Definition at line 53 of file composition.hpp.
Referenced by accept(), externalCall(), hasExternalFunctionCall(), and setExternalFunctionCall().