MicroModelicaCCompiler  4.5.3
model.cpp
Go to the documentation of this file.
1 /*****************************************************************************
2 
3  This file is part of QSS Solver.
4 
5  QSS Solver is free software: you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation, either version 3 of the License, or
8  (at your option) any later version.
9 
10  QSS Solver is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with QSS Solver. If not, see <http://www.gnu.org/licenses/>.
17 
18  ******************************************************************************/
19 
20 #include "model.h"
21 #include "function.h"
22 
23 #include <iterator>
24 #include <sstream>
25 #include <utility>
26 
27 #include <ast/ast_builder.hpp>
28 #include "../ast/composition.hpp"
29 #include <ast/equation.hpp>
30 #include "../ast/expression.hpp"
31 #include <ast/modification.hpp>
32 #include <ast/statement.hpp>
33 #include "../util/ast_util.hpp"
34 #include "../util/symbol_table.hpppp"
35 
36 MMO_Model::MMO_Model(string name) {}
37 
39 
40 void MMO_Model::insert(VarName n, VarInfo vi, DEC_Type type) {}
41 
42 void MMO_Model::insert(VarName n, VarInfo vi) {}
43 
44 void MMO_Model::insert(AST_Equation eq) {}
45 
46 void MMO_Model::insert(AST_Statement stm) {}
47 
48 void MMO_Model::insert(AST_External_Function_Call efc) { return; }
49 
50 void MMO_Model::insert(AST_Statement stm, bool initial) {}
51 
52 void MMO_Model::insert(MMO_Function &f) {}
53 
54 void MMO_Model::insert(AST_Argument_Modification x) {}
55 
56 VarSymbolTable MMO_Model::varTable() { return nullptr; }
57 
58 void MMO_Model::insert(string n) {}
59 
60 string MMO_Model::name() const { return ""; }
61 
62 MMO_ImportTable MMO_Model::imports() {}
MMO_Model::~MMO_Model
~MMO_Model()
Definition: model.cpp:38
equation.hpp
ast_builder.hpp
MMO_Model::MMO_Model
MMO_Model()
Definition: model.hpp:58
MMO_Model::name
string name() const
Definition: model.cpp:60
MMO_Model::varTable
VarSymbolTable varTable()
Definition: model.cpp:56
MicroModelica::IR::DEC_Type
DEC_Type
Definition: class.hpp:75
VarName
std::string VarName
Definition: util_types.hpp:43
MMO_Model::insert
void insert(string n)
Definition: model.cpp:58
modification.hpp
MMO_Model::imports
MMO_ImportTable imports()
Definition: model.cpp:62
statement.hpp