#include "input.h"
Public Member Functions | |
base_reader (base_lexer *lxr) | |
base_reader (const base_reader &x) | |
virtual | ~base_reader (void)=default |
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 Attributes | |
refcount< int > | m_count |
base_lexer * | m_lexer |
int | m_pflag |
Static Private Attributes | |
static const std::string | s_in_src |
Friends | |
class | input_reader |
|
inline |
|
inline |
|
virtualdefault |
|
inline |
|
pure virtual |
Implemented in octave::eval_string_reader, octave::file_reader, and octave::terminal_reader.
|
inline |
|
inlinevirtual |
Reimplemented in octave::eval_string_reader.
|
inlinevirtual |
Reimplemented in octave::file_reader.
|
inlinevirtual |
Reimplemented in octave::terminal_reader.
|
inlinevirtual |
Reimplemented in octave::eval_string_reader, octave::file_reader, and octave::terminal_reader.
std::string octave::base_reader::octave_gets | ( | bool & | eof | ) |
Definition at line 190 of file input.cc.
References octave::__get_load_path__(), octave::command_history::add(), octave_link::append_history(), octave::command_editor::decode_prompt_string(), octave_link::exit_debugger_event(), octave::flush_stdout(), interactive_input(), last_debugging_command, m_pflag, octave_diary, octave::pipe_handler_error_count, octave_link::post_input_event(), octave_link::pre_input_event(), octave::pager_stream::reset(), octave::diary_stream::reset(), retval, octave_link::set_workspace(), string, octave::load_path::update(), Vdebugging, VPS1, and VPS2.
|
inline |
|
virtual |
Definition at line 278 of file input.cc.
References m_lexer, and octave::lexical_feedback::m_reading_classdef_file.
|
virtual |
Definition at line 273 of file input.cc.
References m_lexer, and octave::lexical_feedback::m_reading_fcn_file.
|
virtual |
Definition at line 283 of file input.cc.
References m_lexer, and octave::lexical_feedback::m_reading_script_file.
|
friend |
|
private |
Definition at line 129 of file input.h.
Referenced by octave::input_reader::input_reader(), and octave::input_reader::operator=().
|
private |
Definition at line 133 of file input.h.
Referenced by reading_classdef_file(), reading_fcn_file(), and reading_script_file().
|
private |
Definition at line 131 of file input.h.
Referenced by octave_gets().
|
staticprivate |