MicroModelicaCCompiler
4.5.3
|
Go to the source code of this file.
Macros | |
#define | DEFINE_TYPE(X) |
#define | DEFINE_LIST(X) |
#define | _MMOC_S(s) newAST_String(s) |
#define | GET_AS(X, Y) AST_##X##_##Y getAs##Y(); |
#define | GET_AS_IMP(X, Y) AST_##X##_##Y AST_##X##_::getAs##Y() { return dynamic_cast<AST_##X##_##Y>(this); } |
#define | DEFINE_PRINTER(X) ostream &operator<<(ostream &os, const X &x); |
#define | DEFINE_CLASS_PRINTER(X) friend ostream &operator<<(ostream &os, const X##_ &x); |
#define | CLASSP_PRINTER_IMP(X) |
#define | CLASS_PRINTER_IMP(X) |
#define | DEFINE_ORDER_REL(X) bool operator<(const X##_ &other) const; |
#define | ORDER_REL_IMP(X) |
#define _MMOC_S | ( | s | ) | newAST_String(s) |
Definition at line 32 of file macros.hpp.
#define CLASS_PRINTER_IMP | ( | X | ) |
Definition at line 46 of file macros.hpp.
#define CLASSP_PRINTER_IMP | ( | X | ) |
Definition at line 40 of file macros.hpp.
#define DEFINE_CLASS_PRINTER | ( | X | ) | friend ostream &operator<<(ostream &os, const X##_ &x); |
Definition at line 39 of file macros.hpp.
#define DEFINE_LIST | ( | X | ) |
Definition at line 28 of file macros.hpp.
#define DEFINE_ORDER_REL | ( | X | ) | bool operator<(const X##_ &other) const; |
Definition at line 55 of file macros.hpp.
#define DEFINE_PRINTER | ( | X | ) | ostream &operator<<(ostream &os, const X &x); |
Definition at line 38 of file macros.hpp.
#define DEFINE_TYPE | ( | X | ) |
Definition at line 25 of file macros.hpp.
#define GET_AS | ( | X, | |
Y | |||
) | AST_##X##_##Y getAs##Y(); |
Definition at line 33 of file macros.hpp.
#define GET_AS_IMP | ( | X, | |
Y | |||
) | AST_##X##_##Y AST_##X##_::getAs##Y() { return dynamic_cast<AST_##X##_##Y>(this); } |
Definition at line 34 of file macros.hpp.
#define ORDER_REL_IMP | ( | X | ) |
Definition at line 56 of file macros.hpp.