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)
74 void print (std::ostream& os,
bool pr_as_read_syntax =
false,
75 bool pr_orig_txt =
true);
77 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false,
78 bool pr_orig_txt =
true);
101 error (
"invalid number of output arguments for constant expression");
117 std::string m_orig_text;
120 OCTAVE_END_NAMESPACE(
octave)
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(int l=-1, int c=-1)
std::string original_text() 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)
octave_value evaluate(tree_evaluator &, int nargout=1)
octave_value_list evaluate_n(tree_evaluator &tw, int nargout=1)
void accept(tree_walker &tw)
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.