MicroModelicaCCompiler  4.5.3
AST_Statement_ Class Referenceabstract

#include <statement.hpp>

Inheritance diagram for AST_Statement_:
Collaboration diagram for AST_Statement_:

Public Member Functions

 DEFINE_CLASS_PRINTER (AST_Statement)
 
virtual string print () const =0
 
virtual StatementType statementType ()=0
 
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
 

Detailed Description

Definition at line 30 of file statement.hpp.

Member Function Documentation

◆ accept()

void AST_Statement_::accept ( AST_Visitor visitor)
virtual

Implements AST_Node_.

Definition at line 40 of file statement.cpp.

References AST_Visitor::leave(), and AST_Visitor::visit().

Here is the call graph for this function:

◆ DEFINE_CLASS_PRINTER()

AST_Statement_::DEFINE_CLASS_PRINTER ( AST_Statement  )

◆ GET_AS() [1/6]

AST_Statement_::GET_AS ( Statement  ,
Assign   
)

◆ GET_AS() [2/6]

AST_Statement_::GET_AS ( Statement  ,
For   
)

◆ GET_AS() [3/6]

AST_Statement_::GET_AS ( Statement  ,
If   
)

◆ GET_AS() [4/6]

AST_Statement_::GET_AS ( Statement  ,
OutputAssigment   
)

◆ GET_AS() [5/6]

AST_Statement_::GET_AS ( Statement  ,
When   
)

◆ GET_AS() [6/6]

AST_Statement_::GET_AS ( Statement  ,
While   
)

◆ print()

◆ statementType()


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