20 #ifndef AST_COMPOSITION_H_
21 #define AST_COMPOSITION_H_
25 #include "../util/macros.hpp"
26 #include "../util/util_types.hpp"
38 AST_CompositionElementList compositionList()
const;
39 bool hasCompositionList();
40 AST_ElementList elementList()
const;
41 bool hasElementList();
42 void setExternalFunctionCall(AST_External_Function_Call);
43 AST_External_Function_Call externalCall()
const;
44 bool hasExternalFunctionCall();
45 void setAnnotation(AST_ArgumentList);
53 AST_External_Function_Call
_ext;
61 AST_CompositionEqsAlgs getEquationsAlgs();
62 AST_ElementList getElementList();
79 AST_EquationList getEquations();
80 AST_StatementList getAlgorithms();
89 AST_StatementList
_st;
96 string languageString();
97 AST_ArgumentList annotation();
98 AST_ExpressionList args();
100 AST_Expression exp();
101 AST_Expression_ComponentReference componentReference();
102 bool hasComponentReference();
110 AST_Expression_ComponentReference
_cr;