GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab File Reference
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cassert>
#include <iostream>
#include <sstream>
#include <string>
#include "cmd-edit.h"
#include "file-ops.h"
#include "quit.h"
#include "str-vec.h"
#include "bp-table.h"
#include "builtin-defun-decls.h"
#include "call-stack.h"
#include "defun.h"
#include "dirfns.h"
#include "error.h"
#include "errwarn.h"
#include "help.h"
#include "hook-fcn.h"
#include "input.h"
#include "interpreter-private.h"
#include "interpreter.h"
#include "lex.h"
#include "load-path.h"
#include "octave.h"
#include "octave-link.h"
#include "oct-map.h"
#include "oct-hist.h"
#include "ovl.h"
#include "ov-fcn-handle.h"
#include "ov-usr-fcn.h"
#include "pager.h"
#include "parse.h"
#include "pt-eval.h"
#include "pt-stmt.h"
#include "sighandlers.h"
#include "sysdep.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
Include dependency graph for

Go to the source code of this file.


class  octave::eval_string_reader
class  octave::file_reader
class  octave::terminal_reader




std::string find_indexed_expression (const std::string &text)
static std::string generate_completion (const std::string &text, int state)
static string_vector generate_possible_completions (const std::string &text, std::string &prefix, std::string &hint, bool &deemed_struct)
FILE * get_input_from_stdin (void)
static std::string gnu_readline (const std::string &s, bool &eof)
void initialize_command_input (void)
static std::string interactive_input (const std::string &s, bool &eof)
static bool is_completing_dirfns (void)
static std::string quoting_filename (const std::string &text, int, char quote)
void remove_input_event_hook_functions (void)
void set_default_prompts (void)


static hook_function_list input_event_hook_functions
static std::string last_debugging_command = "\n"
bool octave_completion_matches_called = false
static char Vcompletion_append_char = ' '
bool Vdebugging = false
bool Vdrawnow_requested = false
static bool Vgud_mode = false
octave::sys::time Vlast_prompt_time = 0.0
static std::string VPS1
static std::string VPS2
bool Vtrack_line_num = true

Function Documentation

◆ find_indexed_expression()

std::string find_indexed_expression ( const std::string text)

Definition at line 537 of file

References octave::command_editor::get_line_buffer(), and string.

Referenced by generate_struct_completions().

◆ generate_completion()

◆ generate_possible_completions()

static string_vector generate_possible_completions ( const std::string text,
std::string prefix,
std::string hint,
bool deemed_struct 

◆ get_input_from_stdin()

FILE* get_input_from_stdin ( void  )

◆ gnu_readline()

static std::string gnu_readline ( const std::string s,
bool eof 

◆ initialize_command_input()

◆ interactive_input()

◆ is_completing_dirfns()

static bool is_completing_dirfns ( void  )

Definition at line 401 of file

References octave::command_editor::get_line_buffer(), i, retval, and string.

Referenced by generate_completion().

◆ quoting_filename()

static std::string quoting_filename ( const std::string text,
int  ,
char  quote 

Definition at line 524 of file

References text.

Referenced by initialize_command_input().

◆ remove_input_event_hook_functions()

void remove_input_event_hook_functions ( void  )

Definition at line 115 of file

References hook_function_list::clear(), and input_event_hook_functions.

◆ set_default_prompts()

void set_default_prompts ( void  )

Definition at line 121 of file

References octave_link::set_default_prompts(), string, VPS1, and VPS2.

Variable Documentation

◆ input_event_hook_functions

hook_function_list input_event_hook_functions

Definition at line 111 of file

Referenced by remove_input_event_hook_functions().

◆ last_debugging_command

std::string last_debugging_command = "\n"

Definition at line 106 of file

Referenced by octave::base_reader::octave_gets().

◆ octave_completion_matches_called

bool octave_completion_matches_called = false

Definition at line 90 of file

◆ Vcompletion_append_char

char Vcompletion_append_char = ' '

Definition at line 87 of file

Referenced by generate_completion().

◆ Vdebugging

◆ Vdrawnow_requested

◆ Vgud_mode

bool Vgud_mode = false

Definition at line 109 of file

◆ Vlast_prompt_time

octave::sys::time Vlast_prompt_time = 0.0

Definition at line 84 of file

Referenced by interactive_input(), octave::out_of_date_check(), and rehash_internal().

◆ VPS1

std::string VPS1

Definition at line 78 of file

Referenced by octave::base_reader::octave_gets(), and set_default_prompts().

◆ VPS2

std::string VPS2

Definition at line 81 of file

Referenced by octave::base_reader::octave_gets(), and set_default_prompts().

◆ Vtrack_line_num

bool Vtrack_line_num = true