MicroModelicaCCompiler  4.5.3
AST_Expression_Call_ Class Reference

#include <expression.hpp>

Inheritance diagram for AST_Expression_Call_:
Collaboration diagram for AST_Expression_Call_:

Public Member Functions

 AST_Expression_Call_ (AST_String name, AST_ExpressionList args)
 
 AST_Expression_Call_ (AST_String name, AST_ExpressionList args, AST_ExpressionList output_args)
 
string print () const
 
AST_String name () const
 
AST_ExpressionList arguments () const
 
AST_ExpressionList outputArguments () const
 
virtual ExpressionType expressionType ()
 
- Public Member Functions inherited from AST_Expression_
virtual ~AST_Expression_ ()
 
 DEFINE_CLASS_PRINTER (AST_Expression)
 
void accept (AST_Visitor *visitor)
 
 GET_AS (Expression, BinOp)
 
 GET_AS (Expression, Boolean)
 
 GET_AS (Expression, BooleanNot)
 
 GET_AS (Expression, Brace)
 
 GET_AS (Expression, Call)
 
 GET_AS (Expression, CallArgs)
 
 GET_AS (Expression, ComponentReference)
 
 GET_AS (Expression, Derivative)
 
 GET_AS (Expression, If)
 
 GET_AS (Expression, Integer)
 
 GET_AS (Expression, Output)
 
 GET_AS (Expression, Range)
 
 GET_AS (Expression, Real)
 
 GET_AS (Expression, UMinus)
 
 GET_AS (Expression, String)
 
 GET_AS (Expression, NamedArgument)
 
 GET_AS (Expression, ArrayIndex)
 
 GET_AS (Expression, Bracket)
 
AST_Expression_If_ElseIf getAsElseIf ()
 
- 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_ExpressionList _args
 
AST_ExpressionList _output_args
 

Detailed Description

Definition at line 135 of file expression.hpp.

Constructor & Destructor Documentation

◆ AST_Expression_Call_() [1/2]

AST_Expression_Call_::AST_Expression_Call_ ( AST_String  name,
AST_ExpressionList  args 
)

Definition at line 202 of file expression.cpp.

◆ AST_Expression_Call_() [2/2]

AST_Expression_Call_::AST_Expression_Call_ ( AST_String  name,
AST_ExpressionList  args,
AST_ExpressionList  output_args 
)

Definition at line 207 of file expression.cpp.

Member Function Documentation

◆ arguments()

AST_ExpressionList AST_Expression_Call_::arguments ( ) const

Definition at line 216 of file expression.cpp.

References _args.

Referenced by print().

◆ expressionType()

ExpressionType AST_Expression_Call_::expressionType ( )
virtual

Reimplemented from AST_Expression_.

Definition at line 212 of file expression.cpp.

References EXPCALL.

◆ name()

AST_String AST_Expression_Call_::name ( ) const

Definition at line 214 of file expression.cpp.

References _name.

Referenced by print().

◆ outputArguments()

AST_ExpressionList AST_Expression_Call_::outputArguments ( ) const

Definition at line 218 of file expression.cpp.

References _output_args.

◆ print()

string AST_Expression_Call_::print ( ) const
virtual

Implements AST_Expression_.

Definition at line 220 of file expression.cpp.

References arguments(), current_element, and name().

Here is the call graph for this function:

Member Data Documentation

◆ _args

AST_ExpressionList AST_Expression_Call_::_args
private

Definition at line 148 of file expression.hpp.

Referenced by arguments().

◆ _name

AST_String AST_Expression_Call_::_name
private

Definition at line 147 of file expression.hpp.

Referenced by name().

◆ _output_args

AST_ExpressionList AST_Expression_Call_::_output_args
private

Definition at line 149 of file expression.hpp.

Referenced by outputArguments().


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