GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
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 |
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()) |
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() | ) |
Definition at line 859 of file input.cc.
References action_container::add_fcn(), octave_call_stack::current_frame(), error_state, get_debug_input(), command_history::ignore_entries(), command_history::ignoring_entries(), octave_value_list::length(), action_container::protect_var(), octave_call_stack::restore_frame(), and Vdebugging.
Referenced by tree_evaluator::do_keyboard(), error_2(), Fkeyboard(), and warning_1().
OCTINTERP_API FILE* get_input_from_stdin | ( | void | ) |
Definition at line 325 of file input.cc.
References command_editor::get_input_stream(), and command_editor::set_input_stream().
void initialize_command_input | ( | void | ) |
Definition at line 475 of file input.cc.
References generate_completion(), quoting_filename(), command_editor::set_basic_quote_characters(), command_editor::set_basic_word_break_characters(), command_editor::set_completer_quote_characters(), command_editor::set_completer_word_break_characters(), command_editor::set_completion_function(), command_editor::set_filename_quote_characters(), command_editor::set_name(), and command_editor::set_quoting_function().
Referenced by octave_initialize_interpreter().
bool octave_yes_or_no | ( | const std::string & | prompt | ) |
Definition at line 798 of file input.cc.
References interactive_input(), and message().
Referenced by Frmdir(), and Fyes_or_no().
void remove_input_event_hook_functions | ( | void | ) |
Definition at line 133 of file input.cc.
References hook_function_list::clear().
Referenced by do_octave_atexit().
void set_default_prompts | ( | void | ) |
Definition at line 139 of file input.cc.
References octave_link::set_default_prompts(), VPS1, VPS2, and VPS4.
Referenced by octave_initialize_interpreter().
bool forced_interactive |
Definition at line 107 of file input.cc.
Referenced by octave_base_reader::do_input_echo(), octave_base_stream::do_oscanf(), octave_base_stream::do_scanf(), Frmdir(), get_debug_input(), octave_execute_interpreter(), octave_initialize_interpreter(), octave_process_command_line(), raw_mode(), octave_pager_buf::sync(), user_abort(), and warning_1().
bool interactive |
Definition at line 103 of file input.cc.
Referenced by octave_base_stream::do_gets(), do_octave_atexit(), octave_base_stream::do_oscanf(), octave_base_stream::do_scanf(), error_2(), execute_command_line_file(), execute_eval_option_code(), Fkbhit(), Fpopen2(), Frmdir(), get_debug_input(), interactive_input(), main_loop(), octave_base_reader::octave_gets(), octave_initialize_interpreter(), octave_syscalls::popen2(), raw_mode(), octave_base_lexer::reset(), octave_base_stream::skipl(), octave_pager_buf::sync(), user_abort(), and warning_1().
bool octave_completion_matches_called |
Definition at line 110 of file input.cc.
Referenced by Fcompletion_matches(), get_debug_input(), and main_loop().
OCTINTERP_API bool Vdebugging |
Definition at line 117 of file input.cc.
Referenced by bp_table::do_add_breakpoint(), do_keyboard(), bp_table::do_remove_all_breakpoints(), bp_table::do_remove_all_breakpoints_in_file(), bp_table::do_remove_breakpoint(), Fdbcont(), Fdbquit(), Fdbstatus(), Fdbstep(), Fisdebugmode(), get_debug_input(), get_user_input(), octave_base_reader::octave_gets(), parse_dbfunction_params(), tree_evaluator::reset_debug_state(), user_abort(), tree_evaluator::visit_return_command(), and tree_evaluator::visit_statement().
OCTINTERP_API bool Vdrawnow_requested |
Definition at line 114 of file input.cc.
Referenced by delete_graphics_object(), gh_manager::do_process_events(), F__request_drawnow__(), F__zoom__(), Fdrawnow(), Fset(), G__fltk_check__(), interactive_input(), and make_graphics_object().
int Vecho_executing_commands |
Definition at line 94 of file input.cc.
Referenced by do_edit_history(), octave_user_function::do_multi_index_op(), do_run_history(), and tree_evaluator::visit_statement().
char Vfilemarker |
Definition at line 127 of file input.cc.
Referenced by fcn_file_in_path(), octave_call_stack::stack_frame::fcn_name(), Ffilemarker(), and symbol_table::find_function().
octave_time Vlast_prompt_time |
Definition at line 97 of file input.cc.
Referenced by out_of_date_check(), and rehash_internal().
std::string VPS4 |
Definition at line 85 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().