MicroModelicaCCompiler  4.5.3
AST_Argument_ Class Referenceabstract

#include <modification.hpp>

Inheritance diagram for AST_Argument_:
Collaboration diagram for AST_Argument_:

Public Member Functions

 DEFINE_CLASS_PRINTER (AST_Argument)
 
 AST_Argument_ ()
 
virtual string print () const =0
 
virtual ArgumentType argumentType () const =0
 
void setFinal ()
 
void setEach ()
 
bool isFinal () const
 
bool hasEach () const
 
void accept (AST_Visitor *visitor)
 
 GET_AS (Argument, Modification)
 
 GET_AS (Argument, Redeclaration)
 
- 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

bool _final
 
bool _each
 

Detailed Description

Definition at line 33 of file modification.hpp.

Constructor & Destructor Documentation

◆ AST_Argument_()

AST_Argument_::AST_Argument_ ( )

Definition at line 30 of file modification.cpp.

Member Function Documentation

◆ accept()

void AST_Argument_::accept ( AST_Visitor visitor)
virtual
Parameters
visitor

Implements AST_Node_.

Definition at line 40 of file modification.cpp.

References AST_Visitor::visit().

Here is the call graph for this function:

◆ argumentType()

virtual ArgumentType AST_Argument_::argumentType ( ) const
pure virtual

◆ DEFINE_CLASS_PRINTER()

AST_Argument_::DEFINE_CLASS_PRINTER ( AST_Argument  )

◆ GET_AS() [1/2]

AST_Argument_::GET_AS ( Argument  ,
Modification   
)

◆ GET_AS() [2/2]

AST_Argument_::GET_AS ( Argument  ,
Redeclaration   
)

◆ hasEach()

bool AST_Argument_::hasEach ( ) const
Returns

Definition at line 36 of file modification.cpp.

References _each.

Referenced by AST_Argument_Modification_::print().

◆ isFinal()

bool AST_Argument_::isFinal ( ) const
Returns

Definition at line 38 of file modification.cpp.

References _final.

◆ print()

virtual string AST_Argument_::print ( ) const
pure virtual

◆ setEach()

void AST_Argument_::setEach ( )

Definition at line 34 of file modification.cpp.

References _each.

◆ setFinal()

void AST_Argument_::setFinal ( )

Definition at line 32 of file modification.cpp.

References _final.

Member Data Documentation

◆ _each

bool AST_Argument_::_each
private

Definition at line 104 of file modification.hpp.

Referenced by hasEach(), and setEach().

◆ _final

bool AST_Argument_::_final
private

Definition at line 103 of file modification.hpp.

Referenced by isFinal(), and setFinal().


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