MicroModelicaCCompiler  4.5.3
AST_Comment_ Class Reference

#include <element.hpp>

Inheritance diagram for AST_Comment_:
Collaboration diagram for AST_Comment_:

Public Member Functions

 AST_Comment_ (AST_String st, AST_ArgumentList al)
 
AST_ArgumentList arguments () const
 
AST_String string () const
 
void setAnnotation (AST_ArgumentList al)
 
 DEFINE_CLASS_PRINTER (AST_Comment)
 
void accept (AST_Visitor *visitor)
 
- 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_String _st
 
AST_ArgumentList _al
 

Detailed Description

Definition at line 126 of file element.hpp.

Constructor & Destructor Documentation

◆ AST_Comment_()

AST_Comment_::AST_Comment_ ( AST_String  st,
AST_ArgumentList  al 
)

Definition at line 167 of file element.cpp.

Member Function Documentation

◆ accept()

void AST_Comment_::accept ( AST_Visitor visitor)
virtual

Implements AST_Node_.

Definition at line 194 of file element.cpp.

References AST_Visitor::visit().

Here is the call graph for this function:

◆ arguments()

AST_ArgumentList AST_Comment_::arguments ( ) const

Definition at line 169 of file element.cpp.

References _al.

Referenced by operator<<().

◆ DEFINE_CLASS_PRINTER()

AST_Comment_::DEFINE_CLASS_PRINTER ( AST_Comment  )

◆ setAnnotation()

void AST_Comment_::setAnnotation ( AST_ArgumentList  al)

Definition at line 173 of file element.cpp.

References _al.

◆ string()

AST_String AST_Comment_::string ( ) const

Definition at line 171 of file element.cpp.

References _st.

Referenced by operator<<().

Member Data Documentation

◆ _al

AST_ArgumentList AST_Comment_::_al
private

Definition at line 137 of file element.hpp.

Referenced by arguments(), and setAnnotation().

◆ _st

AST_String AST_Comment_::_st
private

Definition at line 136 of file element.hpp.

Referenced by string().


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