MicroModelicaCCompiler  4.5.3
AST_Argument_Modification_ Class Reference

#include <modification.hpp>

Inheritance diagram for AST_Argument_Modification_:
Collaboration diagram for AST_Argument_Modification_:

Public Member Functions

 AST_Argument_Modification_ (AST_String name, AST_Modification m)
 
AST_String name () const
 
AST_Modification modification () const
 
bool hasModification ()
 
string print () const
 
ArgumentType argumentType () const
 
- Public Member Functions inherited from AST_Argument_
 DEFINE_CLASS_PRINTER (AST_Argument)
 
 AST_Argument_ ()
 
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

AST_String _name
 
AST_Modification _mod
 

Detailed Description

Definition at line 93 of file modification.hpp.

Constructor & Destructor Documentation

◆ AST_Argument_Modification_()

AST_Argument_Modification_::AST_Argument_Modification_ ( AST_String  name,
AST_Modification  m 
)
Parameters
name
m

Definition at line 116 of file modification.cpp.

Member Function Documentation

◆ argumentType()

ArgumentType AST_Argument_Modification_::argumentType ( ) const
virtual
Returns

Implements AST_Argument_.

Definition at line 136 of file modification.cpp.

References AR_MODIFICATION.

◆ hasModification()

bool AST_Argument_Modification_::hasModification ( )
Returns

Definition at line 138 of file modification.cpp.

References _mod.

◆ modification()

AST_Modification AST_Argument_Modification_::modification ( ) const
Returns

Definition at line 134 of file modification.cpp.

References _mod.

Referenced by print().

◆ name()

AST_String AST_Argument_Modification_::name ( ) const
Returns

Definition at line 132 of file modification.cpp.

References _name.

Referenced by print().

◆ print()

string AST_Argument_Modification_::print ( ) const
virtual
Returns

Implements AST_Argument_.

Definition at line 118 of file modification.cpp.

References AST_Argument_::hasEach(), modification(), and name().

Here is the call graph for this function:

Member Data Documentation

◆ _mod

AST_Modification AST_Argument_Modification_::_mod
private

Definition at line 129 of file modification.hpp.

Referenced by hasModification(), and modification().

◆ _name

AST_String AST_Argument_Modification_::_name
private

Definition at line 128 of file modification.hpp.

Referenced by name().


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