MicroModelicaCCompiler  4.5.3
AST_StoredDefinition_ Class Reference

#include <stored_definition.hpp>

Inheritance diagram for AST_StoredDefinition_:
Collaboration diagram for AST_StoredDefinition_:

Public Member Functions

 AST_StoredDefinition_ (AST_ClassList ml, AST_String within)
 
virtual ~AST_StoredDefinition_ ()
 
 DEFINE_CLASS_PRINTER (AST_StoredDefinition)
 
AST_ClassList models () const
 
AST_String within () const
 
void accept (AST_Visitor *visitor)
 
bool hasWithin ()
 
AST_StringList imports ()
 
- 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_ClassList _model_list
 
AST_String _within
 
AST_Imports_imports
 

Detailed Description

Definition at line 29 of file stored_definition.hpp.

Constructor & Destructor Documentation

◆ AST_StoredDefinition_()

AST_StoredDefinition_::AST_StoredDefinition_ ( AST_ClassList  ml,
AST_String  within 
)

Definition at line 29 of file stored_definition.cpp.

References _imports.

◆ ~AST_StoredDefinition_()

virtual AST_StoredDefinition_::~AST_StoredDefinition_ ( )
inlinevirtual

Definition at line 32 of file stored_definition.hpp.

Member Function Documentation

◆ accept()

void AST_StoredDefinition_::accept ( AST_Visitor visitor)
virtual

Implements AST_Node_.

Definition at line 51 of file stored_definition.cpp.

References _model_list, CP_FUNCTION, CP_IMPURE, CP_MODEL, CP_PACKAGE, CP_PURE, current_element, AST_Visitor::leave(), and AST_Visitor::visit().

Here is the call graph for this function:

◆ DEFINE_CLASS_PRINTER()

AST_StoredDefinition_::DEFINE_CLASS_PRINTER ( AST_StoredDefinition  )

◆ hasWithin()

bool AST_StoredDefinition_::hasWithin ( )

Definition at line 72 of file stored_definition.cpp.

References _within.

◆ imports()

AST_StringList AST_StoredDefinition_::imports ( )

Definition at line 74 of file stored_definition.cpp.

References _imports, AST_Imports::apply(), and AST_Imports::imports().

Here is the call graph for this function:

◆ models()

AST_ClassList AST_StoredDefinition_::models ( ) const

Definition at line 36 of file stored_definition.cpp.

References _model_list.

Referenced by operator<<().

◆ within()

AST_String AST_StoredDefinition_::within ( ) const

Definition at line 38 of file stored_definition.cpp.

References _within.

Referenced by operator<<().

Member Data Documentation

◆ _imports

AST_Imports* AST_StoredDefinition_::_imports
private

Definition at line 43 of file stored_definition.hpp.

Referenced by AST_StoredDefinition_(), and imports().

◆ _model_list

AST_ClassList AST_StoredDefinition_::_model_list
private

Definition at line 41 of file stored_definition.hpp.

Referenced by accept(), and models().

◆ _within

AST_String AST_StoredDefinition_::_within
private

Definition at line 42 of file stored_definition.hpp.

Referenced by hasWithin(), and within().


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