GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "octave-config.h"
#include <cstdio>
#include <string>
#include "oct-refcount.h"
#include "oct-time.h"
#include "ovl.h"
#include "pager.h"
Go to the source code of this file.
Classes | |
class | octave_base_reader |
class | octave_eval_string_reader |
class | octave_file_reader |
class | octave_input_reader |
class | octave_terminal_reader |
Namespaces | |
octave | |
Octave interface to the compression and uncompression libraries. | |
Enumerations | |
enum | echo_state { ECHO_OFF = 0, ECHO_SCRIPTS = 1, ECHO_FUNCTIONS = 2, ECHO_CMD_LINE = 4 } |
Functions | |
octave_value | do_keyboard (const octave_value_list &args=octave_value_list()) |
std::string | find_indexed_expression (const std::string &text) |
OCTINTERP_API FILE * | get_input_from_stdin (void) |
void | initialize_command_input (void) |
bool | octave_yes_or_no (const std::string &prompt) |
void | remove_input_event_hook_functions (void) |
void | set_default_prompts (void) |
enum echo_state |
octave_value do_keyboard | ( | const octave_value_list & | args = octave_value_list() | ) |
Referenced by octave::tree_evaluator::do_keyboard(), maybe_enter_debugger(), and warning_1().
std::string find_indexed_expression | ( | const std::string & | text | ) |
Definition at line 509 of file input.cc.
References octave::command_editor::get_line_buffer(), and string.
Referenced by generate_struct_completions().
OCTINTERP_API FILE* get_input_from_stdin | ( | void | ) |
Definition at line 341 of file input.cc.
References octave::command_editor::get_input_stream(), and octave::command_editor::set_input_stream().
void initialize_command_input | ( | void | ) |
Definition at line 552 of file input.cc.
References generate_completion(), quoting_filename(), s, octave::command_editor::set_basic_quote_characters(), octave::command_editor::set_basic_word_break_characters(), octave::command_editor::set_completer_quote_characters(), octave::command_editor::set_completer_word_break_characters(), octave::command_editor::set_completion_function(), octave::command_editor::set_filename_quote_characters(), octave::command_editor::set_name(), and octave::command_editor::set_quoting_function().
bool octave_yes_or_no | ( | const std::string & | prompt | ) |
void remove_input_event_hook_functions | ( | void | ) |
Definition at line 130 of file input.cc.
References hook_function_list::clear().
void set_default_prompts | ( | void | ) |
enum echo_state fflush |
Referenced by octave::default_command_editor::do_readline(), c_file_ptr_buf::flush(), SparseCholPrint(), and verror().
OCTINTERP_API bool Vdebugging |
Definition at line 109 of file input.cc.
Referenced by bp_table::do_add_breakpoint(), bp_table::do_remove_all_breakpoints(), bp_table::do_remove_all_breakpoints_in_file(), bp_table::do_remove_breakpoint(), parse_dbfunction_params(), octave::tree_evaluator::reset_debug_state(), octave::user_abort(), and octave::tree_evaluator::visit_return_command().
OCTINTERP_API bool Vdrawnow_requested |
Definition at line 106 of file input.cc.
Referenced by delete_graphics_object(), gh_manager::do_execute_callback(), gh_manager::do_process_events(), F__zoom__(), Fdrawnow(), and G__fltk_check__().
int Vecho_executing_commands |
Definition at line 93 of file input.cc.
Referenced by do_edit_history(), octave_user_function::do_multi_index_op(), do_run_history(), and octave::tree_evaluator::visit_statement().
char Vfilemarker |
Definition at line 124 of file input.cc.
Referenced by bp_table::do_add_breakpoint_1(), bp_table::do_get_breakpoint_list(), octave_call_stack::stack_frame::fcn_name(), symbol_table::find_function(), and symbol_table::find_submethod().
octave::sys::time Vlast_prompt_time |
Definition at line 96 of file input.cc.
Referenced by out_of_date_check(), and rehash_internal().
std::string VPS4 |
Definition at line 84 of file input.cc.
Referenced by octave_base_reader::do_input_echo(), tree_statement::echo_code(), octave_user_function::print_code_function_header(), octave_user_function::print_code_function_trailer(), and set_default_prompts().
OCTINTERP_API bool Vtrack_line_num |
Definition at line 114 of file input.cc.
Referenced by octave_user_script::do_multi_index_op(), octave_user_function::do_multi_index_op(), and octave::tree_evaluator::visit_statement().