23 #if ! defined (octave_pt_id_h) 24 #define octave_pt_id_h 1 26 #include "octave-config.h" 57 int l = -1,
int c = -1)
126 error (R
"(can not add variable "%s" to a static workspace)", 166 retval.mark_black_hole ();
172 #if defined (OCTAVE_USE_DEPRECATED_FUNCTIONS) 174 OCTAVE_DEPRECATED (4.4,
"use 'octave::tree_identifier' instead")
175 typedef
octave::tree_identifier tree_identifier;
177 OCTAVE_DEPRECATED (4.4, "use '
octave::tree_black_hole'
instead")
178 typedef
octave::tree_black_hole tree_black_hole;
virtual bool is_variable(symbol_record::context_id context) const
symbol_record symbol(void) const
void eval_undefined_error(void)
void link_to_global(const symbol_scope &global_scope, const symbol_record &global_sym)
octave_value find(context_id context, const octave_value_list &args=octave_value_list()) const
virtual void visit_identifier(tree_identifier &)=0
bool is_variable(context_id context) const
void error(const char *fmt,...)
octave_lvalue lvalue(tree_evaluator *)
static llvm::LLVMContext & context
nd example oindent opens the file binary numeric values will be read assuming they are stored in IEEE format with the least significant bit and then converted to the native representation Opening a file that is already open simply opens it again and returns a separate file id It is not an error to open a file several though writing to the same file through several different file ids may produce unexpected results The possible values of text mode reading and writing automatically converts linefeeds to the appropriate line end character for the you may append a you must also open the file in binary mode The parameter conversions are currently only supported for and permissions will be set to and then everything is written in a single operation This is very efficient and improves performance c
tree_black_hole * dup(symbol_scope &) const
tree_black_hole(int l=-1, int c=-1)
virtual bool is_black_hole(void)
std::string name(void) const
void mark_as_formal_parameter(void)
tree_identifier(int l=-1, int c=-1)
octave_value do_lookup(symbol_record::context_id context, const octave_value_list &args=octave_value_list())
bool lvalue_ok(void) const
tree_identifier(const symbol_record &s, int l=-1, int c=-1)
bool is_identifier(void) const
~tree_identifier(void)=default
void init_persistent(void)
tree_identifier * dup(symbol_scope &scope) const
bool is_defined(context_id context) const
bool is_variable(symbol_record::context_id) const
void accept(tree_walker &tw)
void static_workspace_error(void)
octave_lvalue lvalue(tree_evaluator *)
std::string name(void) const
void mark_persistent(void)
std::string name(void) const
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
bool is_defined(symbol_record::context_id context)
tree_identifier & operator=(const tree_identifier &)=delete
bool has_magic_end(void) const