GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
interpreter-private.h
Go to the documentation of this file.
1 /*
2 
3 Copyright (C) 2017-2018 John W. Eaton
4 
5 This file is part of Octave.
6 
7 Octave is free software: you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11 
12 Octave is distributed in the hope that it will be useful, but
13 WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16 
17 You should have received a copy of the GNU General Public License
18 along with Octave; see the file COPYING. If not, see
19 <https://www.gnu.org/licenses/>.
20 
21 */
22 
23 #if ! defined (octave_interpreter_private_h)
24 #define octave_interpreter_private_h 1
25 
26 #include "octave-config.h"
27 
28 #include <string>
29 
30 #include "symtab.h"
31 
32 class cdef_manager;
33 
34 namespace octave
35 {
36  class bp_table;
37  class call_stack;
38  class child_list;
39  class dynamic_loader;
40  class gtk_manager;
41  class help_system;
42  class interpreter;
43  class load_path;
44  class tree_evaluator;
45  class type_info;
46 
47  extern interpreter& __get_interpreter__ (const std::string& who);
48 
49  extern dynamic_loader& __get_dynamic_loader__ (const std::string& who);
50 
51  extern help_system& __get_help_system__ (const std::string& who);
52 
53  extern load_path& __get_load_path__ (const std::string& who);
54 
55  extern type_info& __get_type_info__ (const std::string& who);
56 
57  extern symbol_table& __get_symbol_table__ (const std::string& who);
58 
59  extern symbol_scope __get_current_scope__ (const std::string& who);
60 
61  extern symbol_scope __require_current_scope__ (const std::string& who);
62 
63  extern tree_evaluator& __get_evaluator__ (const std::string& who);
64 
65  extern bp_table& __get_bp_table__ (const std::string& who);
66 
67  extern call_stack& __get_call_stack__ (const std::string& who);
68 
69  extern child_list& __get_child_list__ (const std::string& who);
70 
71  extern cdef_manager& __get_cdef_manager__ (const std::string& who);
72 
73  extern gtk_manager& __get_gtk_manager__ (const std::string& who);
74 }
75 
76 #endif
interpreter & __get_interpreter__(const std::string &who)
child_list & __get_child_list__(const std::string &who)
symbol_scope __get_current_scope__(const std::string &who)
cdef_manager & __get_cdef_manager__(const std::string &who)
help_system & __get_help_system__(const std::string &who)
symbol_table & __get_symbol_table__(const std::string &who)
type_info & __get_type_info__(const std::string &who)
dynamic_loader & __get_dynamic_loader__(const std::string &who)
load_path & __get_load_path__(const std::string &who)
symbol_scope __require_current_scope__(const std::string &who)
bp_table & __get_bp_table__(const std::string &who)
call_stack & __get_call_stack__(const std::string &who)
gtk_manager & __get_gtk_manager__(const std::string &who)
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
Definition: utils.cc:888
tree_evaluator & __get_evaluator__(const std::string &who)