26 #if ! defined (octave_pt_exp_h)
27 #define octave_pt_exp_h 1
29 #include "octave-config.h"
66 virtual bool is_matrix (
void)
const {
return false; }
68 virtual bool iscell (
void)
const {
return false; }
84 virtual bool lvalue_ok (
void)
const {
return false; }
86 virtual bool rvalue_ok (
void)
const {
return false; }
101 virtual std::string
oper (
void)
const {
return "<unknown>"; }
103 virtual std::string
name (
void)
const {
return "<unknown>"; }
virtual bool is_binary_expression(void) const
virtual ~tree_expression(void)=default
virtual bool is_identifier(void) const
virtual bool is_index_expression(void) const
virtual std::string original_text(void) const
virtual void mark_braindead_shortcircuit(void)
void mark_as_for_cmd_expr(void)
virtual std::string oper(void) const
virtual void copy_base(const tree_expression &e)
char postfix_index(void) const
tree_expression * mark_in_parens(void)
bool is_for_cmd_expr(void) const
tree_expression(const tree_expression &)=delete
virtual tree_expression * dup(symbol_scope &scope) const =0
virtual bool iscell(void) const
virtual bool is_boolean_expression(void) const
virtual bool is_matrix(void) const
tree_expression * set_postfix_index(char type)
virtual bool lvalue_ok(void) const
tree_expression(int l=-1, int c=-1)
virtual octave_value_list evaluate_n(tree_evaluator &tw, int nargout=1)=0
virtual octave_lvalue lvalue(tree_evaluator &)
virtual bool rvalue_ok(void) const
virtual std::string name(void) const
virtual octave_value evaluate(tree_evaluator &tw, int nargout=1)=0
int paren_count(void) const
virtual bool is_unary_expression(void) const
virtual bool is_assignment_expression(void) const
bool is_postfix_indexed(void) const
virtual bool is_prefix_expression(void) const
tree_expression * set_print_flag(bool print)
bool print_result(void) const
virtual bool is_constant(void) const
tree_expression & operator=(const tree_expression &)=delete