MicroModelicaCCompiler  4.5.3
AST_Statement_OutputAssigment_ Class Reference

#include <statement.hpp>

Inheritance diagram for AST_Statement_OutputAssigment_:
Collaboration diagram for AST_Statement_OutputAssigment_:

Public Member Functions

 AST_Statement_OutputAssigment_ (AST_ExpressionList, AST_Expression_ComponentReference, AST_ExpressionList)
 
string print () const
 
AST_ExpressionList out_expressions () const
 
AST_Expression_ComponentReference function () const
 
AST_ExpressionList arguments () const
 
virtual StatementType statementType ()
 
std::string functionName ()
 
- Public Member Functions inherited from AST_Statement_
 DEFINE_CLASS_PRINTER (AST_Statement)
 
void accept (AST_Visitor *visitor)
 
 GET_AS (Statement, While)
 
 GET_AS (Statement, If)
 
 GET_AS (Statement, For)
 
 GET_AS (Statement, When)
 
 GET_AS (Statement, Assign)
 
 GET_AS (Statement, OutputAssigment)
 
- 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_ExpressionList _out_exps
 
AST_Expression_ComponentReference _func
 
AST_ExpressionList _args
 
std::string _function_name
 

Detailed Description

Definition at line 133 of file statement.hpp.

Constructor & Destructor Documentation

◆ AST_Statement_OutputAssigment_()

AST_Statement_OutputAssigment_::AST_Statement_OutputAssigment_ ( AST_ExpressionList  out_exps,
AST_Expression_ComponentReference  func,
AST_ExpressionList  args 
)

Definition at line 267 of file statement.cpp.

Member Function Documentation

◆ arguments()

AST_ExpressionList AST_Statement_OutputAssigment_::arguments ( ) const

Definition at line 303 of file statement.cpp.

References _args.

Referenced by print().

◆ function()

AST_Expression_ComponentReference AST_Statement_OutputAssigment_::function ( ) const

Definition at line 301 of file statement.cpp.

References _func.

◆ functionName()

string AST_Statement_OutputAssigment_::functionName ( )

Definition at line 307 of file statement.cpp.

References _function_name.

◆ out_expressions()

AST_ExpressionList AST_Statement_OutputAssigment_::out_expressions ( ) const

Definition at line 299 of file statement.cpp.

References _out_exps.

Referenced by print().

◆ print()

string AST_Statement_OutputAssigment_::print ( ) const
virtual

Implements AST_Statement_.

Definition at line 273 of file statement.cpp.

References arguments(), current_element, MAKE_SPACE, and out_expressions().

Here is the call graph for this function:

◆ statementType()

StatementType AST_Statement_OutputAssigment_::statementType ( )
virtual

Implements AST_Statement_.

Definition at line 305 of file statement.cpp.

References STOUTASSING.

Member Data Documentation

◆ _args

AST_ExpressionList AST_Statement_OutputAssigment_::_args
private

Definition at line 146 of file statement.hpp.

Referenced by arguments().

◆ _func

AST_Expression_ComponentReference AST_Statement_OutputAssigment_::_func
private

Definition at line 145 of file statement.hpp.

Referenced by function().

◆ _function_name

std::string AST_Statement_OutputAssigment_::_function_name
private

Definition at line 147 of file statement.hpp.

Referenced by functionName().

◆ _out_exps

AST_ExpressionList AST_Statement_OutputAssigment_::_out_exps
private

Definition at line 144 of file statement.hpp.

Referenced by out_expressions().


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