GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions | Variables
parse.h File Reference
#include <cstdio>
#include <string>
#include <stack>
#include <vector>
#include <map>
#include "lex.h"
#include "symtab.h"
#include "token.h"
#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.

Classes

class  octave_base_parser
 
class  octave_parser
 
class  octave_push_parser
 

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 (octave_function *fcn, 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 std::string get_help_from_file (const std::string &nm, bool &symbol_found, std::string &file)
 
OCTINTERP_API std::string get_help_from_file (const std::string &nm, bool &symbol_found)
 
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 &package_name=std::string(), const std::string &fcn_name=std::string(), bool autoload=false)
 
OCTINTERP_API std::string lookup_autoload (const std::string &nm)
 
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

octave_base_lexerLEXER
 
int octave_debug
 
bool reading_startup_message_printed
 

Function Documentation

OCTINTERP_API string_vector autoloaded_functions ( void  )

Definition at line 8172 of file oct-parse.cc.

References names().

Referenced by F__list_functions__(), and make_name_list().

OCTINTERP_API void cleanup_statement_list ( tree_statement_list **  lst)

Definition at line 8907 of file oct-parse.cc.

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 
)

Definition at line 8879 of file oct-parse.cc.

References octave_value_list::empty(), and eval_string().

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 ( octave_function fcn,
const octave_value_list args = octave_value_list(),
int  nargout = 0 
)

Definition at line 8644 of file oct-parse.cc.

References octave_base_value::do_multi_index_op().

OCTINTERP_API octave_value_list feval ( const octave_value_list args,
int  nargout = 0 
)
OCTINTERP_API std::string get_help_from_file ( const std::string &  nm,
bool symbol_found,
std::string &  file 
)
OCTINTERP_API std::string get_help_from_file ( const std::string &  nm,
bool symbol_found 
)

Definition at line 8150 of file oct-parse.cc.

References get_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 &  package_name = std::string(),
const std::string &  fcn_name = std::string(),
bool  autoload = false 
)
OCTINTERP_API std::string lookup_autoload ( const std::string &  nm)
OCTINTERP_API string_vector reverse_lookup_autoload ( const std::string &  nm)

Definition at line 8185 of file oct-parse.cc.

References string_vector::append(), and names().

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

Definition at line 137 of file oct-parse.cc.

int octave_debug
bool reading_startup_message_printed

Definition at line 149 of file oct-parse.cc.

Referenced by octave_execute_interpreter(), and source_file().