#include "pt-fcn-handle.h"
Public Member Functions | |
tree_anon_fcn_handle (int l=-1, int c=-1) | |
tree_anon_fcn_handle (tree_parameter_list *pl, tree_expression *ex, const symbol_scope &scope, const symbol_scope &parent_scope, int l=-1, int c=-1) | |
~tree_anon_fcn_handle () | |
void | accept (tree_walker &tw) |
tree_expression * | dup (symbol_scope &scope) const |
octave_value | evaluate (tree_evaluator &tw, int nargout=1) |
octave_value_list | evaluate_n (tree_evaluator &tw, int nargout=1) |
tree_expression * | expression () const |
std::string | file_name () const |
bool | has_parent_scope () const |
tree_parameter_list * | parameter_list () const |
symbol_scope | parent_scope () const |
bool | rvalue_ok () const |
symbol_scope | scope () const |
void | stash_file_name (const std::string &file) |
Public Member Functions inherited from tree_expression | |
tree_expression (int l=-1, int c=-1) | |
virtual | ~tree_expression ()=default |
virtual void | copy_base (const tree_expression &e) |
virtual bool | is_assignment_expression () const |
virtual bool | is_binary_expression () const |
virtual bool | is_boolean_expression () const |
virtual bool | is_colon_expression () const |
virtual bool | is_constant () const |
bool | is_for_cmd_expr () const |
virtual bool | is_identifier () const |
virtual bool | is_index_expression () const |
virtual bool | is_matrix () const |
bool | is_postfix_indexed () const |
virtual bool | is_prefix_expression () const |
virtual bool | is_unary_expression () const |
virtual bool | iscell () const |
virtual octave_lvalue | lvalue (tree_evaluator &) |
virtual bool | lvalue_ok () const |
void | mark_as_for_cmd_expr () |
tree_expression * | mark_in_parens () |
virtual std::string | name () const |
virtual std::string | oper () const |
virtual std::string | original_text () const |
int | paren_count () const |
char | postfix_index () const |
bool | print_result () const |
tree_expression * | set_postfix_index (char type) |
tree_expression * | set_print_flag (bool print) |
Public Member Functions inherited from tree | |
tree (int l=-1, int c=-1) | |
virtual | ~tree ()=default |
const std::string | bp_cond () const |
virtual int | column () const |
void | column (int c) |
virtual void | delete_breakpoint () |
bool | is_active_breakpoint (tree_evaluator &tw) const |
bool | is_breakpoint () const |
virtual int | line () const |
void | line (int l) |
bool | meets_bp_condition (tree_evaluator &tw) const |
virtual void | set_breakpoint (const std::string &condition) |
void | set_location (int l, int c) |
std::string | str_print_code () |
Additional Inherited Members | |
Protected Attributes inherited from tree_expression | |
bool | m_for_cmd_expr |
int | m_num_parens |
char | m_postfix_index_type |
bool | m_print_flag |
Definition at line 92 of file pt-fcn-handle.h.
|
inline |
Definition at line 96 of file pt-fcn-handle.h.
Referenced by dup().
|
inline |
Definition at line 102 of file pt-fcn-handle.h.
tree_anon_fcn_handle::~tree_anon_fcn_handle | ( | ) |
Definition at line 69 of file pt-fcn-handle.cc.
|
inlinevirtual |
Implements tree.
Definition at line 138 of file pt-fcn-handle.h.
References tree_walker::visit_anon_fcn_handle().
Referenced by base_parser::make_anon_fcn_handle().
|
virtual |
Implements tree_expression.
Definition at line 76 of file pt-fcn-handle.cc.
References tree_anon_fcn_handle(), tree::column(), tree_expression::copy_base(), symbol_scope::dup(), tree_parameter_list::dup(), tree_expression::dup(), expression(), symbol_scope::invalid(), and parameter_list().
|
virtual |
Implements tree_expression.
Definition at line 99 of file pt-fcn-handle.cc.
References tree_evaluator::evaluate_anon_fcn_handle().
Referenced by evaluate_n().
|
inlinevirtual |
Implements tree_expression.
Definition at line 133 of file pt-fcn-handle.h.
References evaluate(), and ovl().
|
inline |
Definition at line 121 of file pt-fcn-handle.h.
Referenced by dup(), tree_evaluator::evaluate_anon_fcn_handle(), tree_anon_scopes::visit_anon_fcn_handle(), and tree_print_code::visit_anon_fcn_handle().
|
inline |
Definition at line 142 of file pt-fcn-handle.h.
|
inline |
Definition at line 127 of file pt-fcn-handle.h.
References symbol_scope::is_valid().
|
inline |
Definition at line 116 of file pt-fcn-handle.h.
Referenced by dup(), tree_evaluator::evaluate_anon_fcn_handle(), tree_anon_scopes::visit_anon_fcn_handle(), and tree_print_code::visit_anon_fcn_handle().
|
inline |
Definition at line 125 of file pt-fcn-handle.h.
|
inlinevirtual |
Reimplemented from tree_expression.
Definition at line 114 of file pt-fcn-handle.h.
|
inline |
Definition at line 123 of file pt-fcn-handle.h.
Referenced by tree_evaluator::evaluate_anon_fcn_handle().
|
inline |
Definition at line 140 of file pt-fcn-handle.h.