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_eval_string_reader (const std::string &str, octave_base_lexer *lxr=0) | |
void | decrement_promptflag (void) |
std::string | get_input (bool &eof) |
void | increment_promptflag (void) |
bool | input_from_eval_string (void) const |
virtual bool | input_from_file (void) const |
virtual bool | input_from_terminal (void) const |
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 Attributes | |
std::string | eval_string |
Static Private Attributes | |
static const std::string | in_src |
|
inline |
Definition at line 109 of file input.h.
Referenced by octave_input_reader::decrement_promptflag().
|
virtual |
Definition at line 107 of file input.h.
Referenced by octave_input_reader::increment_promptflag().
Reimplemented from octave_base_reader.
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 from octave_base_reader.
|
inherited |
Definition at line 218 of file input.cc.
References command_history::add(), octave_link::append_history(), command_editor::decode_prompt_string(), octave_base_reader::do_input_echo(), octave_link::exit_debugger_event(), flush_octave_stdout(), forced_interactive, interactive, interactive_input(), last_debugging_command, octave_diary, octave_base_reader::pflag, pipe_handler_error_count, octave_link::post_input_event(), octave_link::pre_input_event(), octave_base_reader::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 octave_base_reader::lexer, and lexical_feedback::reading_classdef_file.
Definition at line 302 of file input.cc.
References octave_base_reader::lexer, and lexical_feedback::reading_fcn_file.
Definition at line 314 of file input.cc.
References octave_base_reader::lexer, and lexical_feedback::reading_script_file.
Referenced by octave_base_reader::do_input_echo().
Definition at line 105 of file input.h.
References octave_input_reader::promptflag().
Referenced by octave_base_reader::octave_gets(), and octave_input_reader::reset().
|
private |
Definition at line 206 of file input.h.
Referenced by get_input().
|
staticprivate |