Functions | Variables

parse.h File Reference

#include <cstdio>
#include <string>
#include <stack>
#include "oct-obj.h"
Include dependency graph for parse.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

OCTINTERP_API string_vector autoloaded_functions (void)
OCTINTERP_API void cleanup_statement_list (tree_statement_list **lst)
OCTINTERP_API octave_value_list eval_string (const std::string &, bool silent, int &parse_status, int hargout)
OCTINTERP_API octave_value eval_string (const std::string &, bool silent, int &parse_status)
OCTINTERP_API octave_value_list feval (const std::string &name, const octave_value_list &args=octave_value_list(), int nargout=0)
OCTINTERP_API octave_value_list feval (const octave_value_list &args, int nargout=0)
OCTINTERP_API octave_value_list feval (octave_function *fcn, const octave_value_list &args=octave_value_list(), int nargout=0)
OCTINTERP_API std::string get_help_from_file (const std::string &nm, bool &symbol_found)
OCTINTERP_API std::string get_help_from_file (const std::string &nm, bool &symbol_found, std::string &file)
OCTINTERP_API octave_functionload_fcn_from_file (const std::string &file_name, const std::string &dir_name=std::string(), const std::string &dispatch_type=std::string(), const std::string &fcn_name=std::string(), bool autoload=false)
OCTINTERP_API std::string lookup_autoload (const std::string &nm)
int octave_lex (void)
int octave_parse (void)
void reset_parser (void)
OCTINTERP_API string_vector reverse_lookup_autoload (const std::string &nm)
OCTINTERP_API void source_file (const std::string &file_name, const std::string &context=std::string(), bool verbose=false, bool require_file=true, const std::string &warn_for=std::string())

Variables

std::string current_class_name
int current_input_column
std::stack< std::string > help_buf
bool input_from_startup_file
int input_line_number
bool line_editing
int octave_debug
bool reading_startup_message_printed
std::stack
< symbol_table::scope_id
symtab_context

Function Documentation

OCTINTERP_API string_vector autoloaded_functions ( void   ) 

Referenced by DEFUN(), and make_name_list().

OCTINTERP_API void cleanup_statement_list ( tree_statement_list **  lst  ) 

Referenced by get_debug_input(), and main_loop().

OCTINTERP_API octave_value_list eval_string ( const std::string &  ,
bool  silent,
int parse_status,
int  hargout 
)
OCTINTERP_API octave_value eval_string ( const std::string &  ,
bool  silent,
int parse_status 
)
OCTINTERP_API octave_value_list feval ( const std::string &  name,
const octave_value_list args = octave_value_list(),
int  nargout = 0 
)
OCTINTERP_API octave_value_list feval ( const octave_value_list args,
int  nargout = 0 
)
OCTINTERP_API octave_value_list feval ( octave_function fcn,
const octave_value_list args = octave_value_list(),
int  nargout = 0 
)
OCTINTERP_API std::string get_help_from_file ( const std::string &  nm,
bool symbol_found 
)
OCTINTERP_API std::string get_help_from_file ( const std::string &  nm,
bool symbol_found,
std::string &  file 
)

Referenced by raw_help_from_file().

OCTINTERP_API octave_function* load_fcn_from_file ( const std::string &  file_name,
const std::string &  dir_name = std::string(),
const std::string &  dispatch_type = std::string(),
const std::string &  fcn_name = std::string(),
bool  autoload = false 
)
OCTINTERP_API std::string lookup_autoload ( const std::string &  nm  ) 
int octave_lex ( void   ) 
int octave_parse ( void   ) 

Referenced by get_debug_input(), and main_loop().

void reset_parser ( void   ) 

Referenced by get_debug_input(), and main_loop().

OCTINTERP_API string_vector reverse_lookup_autoload ( const std::string &  nm  ) 
OCTINTERP_API void source_file ( const std::string &  file_name,
const std::string &  context = std::string(),
bool  verbose = false,
bool  require_file = true,
const std::string &  warn_for = std::string() 
)

Variable Documentation

std::string current_class_name
std::stack<std::string> help_buf

Referenced by gnu_readline(), and octave_main().

Referenced by octave_main().

Referenced by octave_main().

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines