MicroModelicaCCompiler  4.5.3
AST_Element_ImportClause_ Class Reference

#include <element.hpp>

Inheritance diagram for AST_Element_ImportClause_:
Collaboration diagram for AST_Element_ImportClause_:

Public Member Functions

 AST_Element_ImportClause_ (string name)
 
virtual ElementType elementType ()
 
string name () const
 
string print () const
 
- Public Member Functions inherited from AST_Element_
 DEFINE_CLASS_PRINTER (AST_Element)
 
void accept (AST_Visitor *visitor)
 
 GET_AS (Element, Component)
 
 GET_AS (Element, ExtendsClause)
 
 GET_AS (Element, ImportClause)
 
 GET_AS (Element, ClassWrapper)
 
- 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

string _name
 

Detailed Description

Definition at line 53 of file element.hpp.

Constructor & Destructor Documentation

◆ AST_Element_ImportClause_()

AST_Element_ImportClause_::AST_Element_ImportClause_ ( string  name)

Definition at line 152 of file element.cpp.

Member Function Documentation

◆ elementType()

ElementType AST_Element_ImportClause_::elementType ( )
virtual

Reimplemented from AST_Element_.

Definition at line 163 of file element.cpp.

References IMPORT.

◆ name()

string AST_Element_ImportClause_::name ( ) const

Definition at line 161 of file element.cpp.

References _name.

◆ print()

string AST_Element_ImportClause_::print ( ) const
virtual

Implements AST_Element_.

Definition at line 154 of file element.cpp.

References _name.

Member Data Documentation

◆ _name

string AST_Element_ImportClause_::_name
private

Definition at line 61 of file element.hpp.

Referenced by name(), and print().


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