GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "input.h"
Public Member Functions | |
octave_file_reader (FILE *f_arg, octave_base_lexer *lxr=0) | |
void | decrement_promptflag (void) |
std::string | get_input (bool &eof) |
void | increment_promptflag (void) |
virtual bool | input_from_eval_string (void) const |
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 | |
FILE * | file |
Static Private Attributes | |
static const std::string | in_src |
|
inline |
|
inlineinherited |
Definition at line 110 of file input.h.
Referenced by octave_input_reader::decrement_promptflag().
|
virtual |
Implements octave_base_reader.
Definition at line 645 of file input.cc.
References file, and octave_fgets().
|
inlineinherited |
Definition at line 108 of file input.h.
Referenced by octave_input_reader::increment_promptflag().
|
inlinevirtualinherited |
Reimplemented in octave_eval_string_reader.
Definition at line 133 of file input.h.
Referenced by octave_input_reader::input_from_eval_string().
|
inlinevirtual |
Reimplemented from octave_base_reader.
|
inlinevirtualinherited |
Reimplemented in octave_terminal_reader.
Definition at line 129 of file input.h.
Referenced by octave_input_reader::input_from_terminal().
|
inlinevirtual |
Reimplemented from octave_base_reader.
|
inherited |
Definition at line 219 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(), 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_pager_stream::reset(), octave_diary_stream::reset(), octave_link::set_workspace(), load_path::update(), Vdebugging, VPS1, and VPS2.
Referenced by octave_terminal_reader::get_input().
|
inlineinherited |
Definition at line 112 of file input.h.
Referenced by octave_input_reader::promptflag().
|
virtualinherited |
Definition at line 309 of file input.cc.
References octave_base_reader::lexer, and lexical_feedback::reading_classdef_file.
|
virtualinherited |
Definition at line 303 of file input.cc.
References octave_base_reader::lexer, and lexical_feedback::reading_fcn_file.
|
virtualinherited |
Definition at line 315 of file input.cc.
References octave_base_reader::lexer, and lexical_feedback::reading_script_file.
Referenced by octave_base_reader::do_input_echo().
|
inlineinherited |
Definition at line 106 of file input.h.
References octave_input_reader::promptflag().
Referenced by octave_input_reader::reset().
|
private |
Definition at line 184 of file input.h.
Referenced by get_input().