26 #if ! defined (octave_pt_const_h)
27 #define octave_pt_const_h 1
29 #include "octave-config.h"
60 int l = -1,
int c = -1)
78 void print (std::ostream& os,
bool pr_as_read_syntax =
false,
79 bool pr_orig_txt =
true);
81 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false,
82 bool pr_orig_txt =
true);
105 error (
"invalid number of output arguments for constant expression");
OCTINTERP_API void maybe_mutate(void)
tree_constant(const octave_value &v, int l=-1, int c=-1)
void stash_original_text(const std::string &s)
void print(std::ostream &os, bool pr_as_read_syntax=false, bool pr_orig_txt=true)
tree_expression * dup(symbol_scope &scope) const
~tree_constant(void)=default
tree_constant(const tree_constant &)=delete
tree_constant(int l=-1, int c=-1)
std::string original_text(void) const
tree_constant(const octave_value &v, const std::string &ot, int l=-1, int c=-1)
void print_raw(std::ostream &os, bool pr_as_read_syntax=false, bool pr_orig_txt=true)
tree_constant & operator=(const tree_constant &)=delete
octave_value evaluate(tree_evaluator &, int nargout=1)
bool is_constant(void) const
octave_value_list evaluate_n(tree_evaluator &tw, int nargout=1)
void accept(tree_walker &tw)
bool rvalue_ok(void) const
virtual void visit_constant(tree_constant &)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
void error(const char *fmt,...)
octave_value_list ovl(const OV_Args &... args)
Construct an octave_value_list with less typing.