Navigation

Operators and Keywords

Function List:

C++ API

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.


Defines

#define octave_parse_h   1

Functions

void reset_parser (void)
int octave_lex (void)
int octave_parse (void)
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 std::string lookup_autoload (const std::string &nm)
OCTINTERP_API string_vector autoloaded_functions (void)
OCTINTERP_API string_vector reverse_lookup_autoload (const std::string &nm)
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 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())
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 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)

Variables

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

Define Documentation

#define octave_parse_h   1


Function Documentation

OCTINTERP_API string_vector autoloaded_functions ( void   ) 

OCTINTERP_API octave_value eval_string ( const std::string ,
bool  silent,
int parse_status 
)

OCTINTERP_API octave_value_list eval_string ( const std::string ,
bool  silent,
int parse_status,
int  hargout 
)

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 octave_value_list feval ( const std::string name,
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_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   ) 

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() 
)


Variable Documentation

std::stack<std::string> help_buf