23 #if ! defined (octave_pt_const_h) 24 #define octave_pt_const_h 1 26 #include "octave-config.h" 55 int l = -1,
int c = -1)
75 void print (std::ostream&
os,
bool pr_as_read_syntax =
false,
76 bool pr_orig_txt =
true);
78 void print_raw (std::ostream&
os,
bool pr_as_read_syntax =
false,
79 bool pr_orig_txt =
true);
109 #if defined (OCTAVE_USE_DEPRECATED_FUNCTIONS) 111 OCTAVE_DEPRECATED (4.4,
"use 'octave::tree_constant' instead")
112 typedef
octave::tree_constant tree_constant;
virtual void visit_constant(tree_constant &)=0
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
void accept(tree_walker &tw)
tree_constant & operator=(const tree_constant &)=delete
tree_constant(int l=-1, int c=-1)
tree_expression * dup(symbol_scope &scope) const
~tree_constant(void)=default
bool has_magic_end(void) const
bool rvalue_ok(void) const
std::string original_text(void) const
tree_constant(const octave_value &v, const std::string &ot, int l=-1, int c=-1)
bool is_constant(void) const
tree_constant(const octave_value &v, int l=-1, int c=-1)
void print(std::ostream &os, bool pr_as_read_syntax=false, bool pr_orig_txt=true)
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
void stash_original_text(const std::string &s)
void print_raw(std::ostream &os, bool pr_as_read_syntax=false, bool pr_orig_txt=true)