MicroModelicaCCompiler
4.5.3
|
Go to the documentation of this file.
20 #ifndef AST_ELEMENT_H_
21 #define AST_ELEMENT_H_
25 #include "../util/macros.hpp"
26 #include "../util/util_types.hpp"
33 virtual string print()
const = 0;
37 GET_AS(Element, ExtendsClause);
38 GET_AS(Element, ImportClause);
39 GET_AS(Element, ClassWrapper);
69 AST_ExpressionList
indexes()
const;
101 AST_ExpressionList
indexes()
const;
118 string print()
const;
AST_ExpressionList _indexes
AST_Modification modification() const
virtual ElementType elementType()
void setOrigin(AST_Class c)
AST_Element_ExtendsClause_(string name)
GET_AS(Element, Component)
virtual string print() const =0
AST_DeclarationList nameList()
virtual ElementType elementType()
virtual ElementType elementType()
virtual ElementType elementType()
AST_DeclarationList _decl_list
AST_Element_ClassWrapper_(AST_Class c)
AST_Element_Component_(AST_DeclarationList decl_list, string type, AST_TypePrefix tp, AST_ExpressionList index)
AST_TypePrefix typePrefix()
AST_Comment comment() const
void setComment(AST_Comment c)
virtual ElementType elementType()
AST_Declaration_(string name, AST_ExpressionList indexes, AST_Modification)
DEFINE_CLASS_PRINTER(AST_Element)
AST_ExpressionList indexes() const
AST_ExpressionList _indexes
void accept(AST_Visitor *visitor)
AST_Element_ImportClause_(string name)
AST_ExpressionList indexes() const