GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "input.h"
Public Member Functions | |
octave_base_reader (octave_base_lexer *lxr) | |
octave_base_reader (const octave_base_reader &x) | |
virtual | ~octave_base_reader (void) |
void | decrement_promptflag (void) |
virtual std::string | get_input (bool &eof)=0 |
void | increment_promptflag (void) |
virtual bool | input_from_eval_string (void) const |
virtual bool | input_from_file (void) const |
virtual bool | input_from_terminal (void) const |
virtual std::string | input_source (void) const |
std::string | octave_gets (bool &eof) |
int | promptflag (void) const |
int | promptflag (int n) |
virtual bool | reading_classdef_file (void) const |
virtual bool | reading_fcn_file (void) const |
virtual bool | reading_script_file (void) const |
void | reset (void) |
Private Member Functions | |
void | do_input_echo (const std::string &) const |
Private Attributes | |
int | count |
octave_base_lexer * | lexer |
int | pflag |
Static Private Attributes | |
static const std::string | in_src |
Friends | |
class | octave_input_reader |
|
inline |
|
inline |
|
inlinevirtual |
Definition at line 109 of file input.h.
Referenced by octave_input_reader::decrement_promptflag().
|
private |
Definition at line 151 of file input.cc.
References command_editor::decode_prompt_string(), ECHO_CMD_LINE, ECHO_SCRIPTS, forced_interactive, octave_stdout, pflag, reading_script_file(), VPS1, VPS2, and VPS4.
Referenced by octave_gets().
|
pure virtual |
Implemented in octave_eval_string_reader, octave_file_reader, and octave_terminal_reader.
Referenced by octave_input_reader::get_input().
Definition at line 107 of file input.h.
Referenced by octave_input_reader::increment_promptflag().
Reimplemented in octave_eval_string_reader.
Definition at line 132 of file input.h.
Referenced by octave_input_reader::input_from_eval_string().
Reimplemented in octave_file_reader.
Definition at line 130 of file input.h.
Referenced by octave_input_reader::input_from_file().
Reimplemented in octave_terminal_reader.
Definition at line 128 of file input.h.
Referenced by octave_input_reader::input_from_terminal().
|
inlinevirtual |
Reimplemented in octave_eval_string_reader, octave_file_reader, and octave_terminal_reader.
Definition at line 103 of file input.h.
Referenced by octave_input_reader::input_source().
std::string octave_base_reader::octave_gets | ( | bool & | eof | ) |
Definition at line 218 of file input.cc.
References command_history::add(), octave_link::append_history(), command_editor::decode_prompt_string(), do_input_echo(), octave_link::exit_debugger_event(), flush_octave_stdout(), forced_interactive, interactive, interactive_input(), last_debugging_command, octave_diary, pflag, pipe_handler_error_count, octave_link::post_input_event(), octave_link::pre_input_event(), reset(), octave_link::set_workspace(), load_path::update(), Vdebugging, VPS1, and VPS2.
Referenced by octave_terminal_reader::get_input().
Definition at line 111 of file input.h.
Referenced by octave_input_reader::promptflag().
Definition at line 308 of file input.cc.
References lexer, and lexical_feedback::reading_classdef_file.
Definition at line 302 of file input.cc.
References lexer, and lexical_feedback::reading_fcn_file.
Definition at line 314 of file input.cc.
References lexer, and lexical_feedback::reading_script_file.
Referenced by do_input_echo().
Definition at line 105 of file input.h.
References octave_input_reader::promptflag().
Referenced by octave_gets(), and octave_input_reader::reset().
|
friend |
|
private |
Definition at line 136 of file input.h.
Referenced by octave_input_reader::octave_input_reader(), octave_input_reader::operator=(), and octave_input_reader::~octave_input_reader().
|
private |
Definition at line 140 of file input.h.
Referenced by reading_classdef_file(), reading_fcn_file(), and reading_script_file().
|
private |
Definition at line 138 of file input.h.
Referenced by do_input_echo(), and octave_gets().