MicroModelicaCCompiler  4.5.3
AST_External_Function_Call_ Class Reference

#include <composition.hpp>

Inheritance diagram for AST_External_Function_Call_:
Collaboration diagram for AST_External_Function_Call_:

Public Member Functions

 AST_External_Function_Call_ (AST_String, AST_Expression_ComponentReference, AST_Expression, AST_ArgumentList)
 
AST_String language ()
 
string languageString ()
 
AST_ArgumentList annotation ()
 
AST_ExpressionList args ()
 
string name ()
 
AST_Expression exp ()
 
AST_Expression_ComponentReference componentReference ()
 
bool hasComponentReference ()
 
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 _lang
 
AST_ArgumentList _annot
 
AST_Expression_Call _call
 
AST_Expression _exp
 
AST_Expression_ComponentReference _cr
 

Detailed Description

Definition at line 92 of file composition.hpp.

Constructor & Destructor Documentation

◆ AST_External_Function_Call_()

AST_External_Function_Call_::AST_External_Function_Call_ ( AST_String  lang,
AST_Expression_ComponentReference  cr,
AST_Expression  args,
AST_ArgumentList  annot 
)

Definition at line 274 of file composition.cpp.

References _call, and args().

Here is the call graph for this function:

Member Function Documentation

◆ accept()

void AST_External_Function_Call_::accept ( AST_Visitor visitor)
virtual

Implements AST_Node_.

Definition at line 289 of file composition.cpp.

References _annot, current_element, and AST_Visitor::visit().

Here is the call graph for this function:

◆ annotation()

AST_ArgumentList AST_External_Function_Call_::annotation ( )

Definition at line 272 of file composition.cpp.

References _annot.

◆ args()

AST_ExpressionList AST_External_Function_Call_::args ( )

Definition at line 281 of file composition.cpp.

References _call.

Referenced by AST_External_Function_Call_().

◆ componentReference()

AST_Expression_ComponentReference AST_External_Function_Call_::componentReference ( )

Definition at line 285 of file composition.cpp.

References _cr.

◆ exp()

AST_Expression AST_External_Function_Call_::exp ( )

◆ hasComponentReference()

bool AST_External_Function_Call_::hasComponentReference ( )

Definition at line 287 of file composition.cpp.

References _cr.

◆ language()

AST_String AST_External_Function_Call_::language ( )

Definition at line 268 of file composition.cpp.

References _lang.

◆ languageString()

string AST_External_Function_Call_::languageString ( )

Definition at line 270 of file composition.cpp.

References _lang.

◆ name()

string AST_External_Function_Call_::name ( )

Definition at line 283 of file composition.cpp.

References _call.

Member Data Documentation

◆ _annot

AST_ArgumentList AST_External_Function_Call_::_annot
private

Definition at line 107 of file composition.hpp.

Referenced by accept(), and annotation().

◆ _call

AST_Expression_Call AST_External_Function_Call_::_call
private

Definition at line 108 of file composition.hpp.

Referenced by args(), AST_External_Function_Call_(), and name().

◆ _cr

AST_Expression_ComponentReference AST_External_Function_Call_::_cr
private

Definition at line 110 of file composition.hpp.

Referenced by componentReference(), and hasComponentReference().

◆ _exp

AST_Expression AST_External_Function_Call_::_exp
private

Definition at line 109 of file composition.hpp.

◆ _lang

AST_String AST_External_Function_Call_::_lang
private

Definition at line 106 of file composition.hpp.

Referenced by language(), and languageString().


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