#include "pt-array-list.h"
Public Types | |
typedef std::list< tree_argument_list * >::const_iterator | const_iterator |
typedef std::list< tree_argument_list * >::iterator | iterator |
Public Member Functions | |
~tree_array_list () | |
void | accept (tree_walker &tw) |
bool | all_elements_are_constant () const |
filepos | beg_pos () const |
void | copy_base (const tree_array_list &array_list) |
void | copy_base (const tree_array_list &array_list, symbol_scope &scope) |
virtual void | copy_base (const tree_expression &e) |
tree_expression * | dup (symbol_scope &scope) const |
filepos | end_pos () const |
![]() | |
tree_expression () | |
virtual | ~tree_expression ()=default |
size_t | delim_count () const |
virtual octave_value | evaluate (tree_evaluator &tw, int nargout=1)=0 |
virtual octave_value_list | evaluate_n (tree_evaluator &tw, int nargout=1)=0 |
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_delims (const token &open_delim, const token &close_delim) |
virtual std::string | name () const |
virtual std::string | oper () const |
virtual std::string | original_text () const |
char | postfix_index () const |
bool | print_result () const |
virtual bool | rvalue_ok () const |
tree_expression * | set_postfix_index (char type) |
tree_expression * | set_print_flag (bool print) |
![]() | |
tree () | |
virtual | ~tree ()=default |
const std::string | bp_cond () const |
virtual int | column () const |
virtual void | delete_breakpoint () |
bool | is_active_breakpoint (tree_evaluator &tw) const |
bool | is_breakpoint () const |
virtual comment_list | leading_comments () const |
virtual int | line () const |
bool | meets_bp_condition (tree_evaluator &tw) const |
virtual void | set_breakpoint (const std::string &condition) |
std::string | str_print_code () |
Protected Member Functions | |
tree_array_list (tree_argument_list *row=nullptr) | |
Additional Inherited Members | |
![]() | |
tree_delimiter_list | m_delims |
bool | m_for_cmd_expr |
char | m_postfix_index_type |
bool | m_print_flag |
Definition at line 43 of file pt-array-list.h.
typedef std::list<tree_argument_list*>::const_iterator tree_array_list::const_iterator |
Definition at line 49 of file pt-array-list.h.
typedef std::list<tree_argument_list*>::iterator tree_array_list::iterator |
Definition at line 48 of file pt-array-list.h.
|
inlineprotected |
Definition at line 53 of file pt-array-list.h.
tree_array_list::~tree_array_list | ( | ) |
Definition at line 37 of file pt-array-list.cc.
|
virtual |
Implements tree.
Reimplemented in tree_cell, and tree_matrix.
Definition at line 86 of file pt-array-list.cc.
References error().
Referenced by base_parser::finish_array_list().
bool tree_array_list::all_elements_are_constant | ( | ) | const |
Definition at line 48 of file pt-array-list.cc.
Referenced by base_parser::finish_array_list().
|
inlinevirtual |
Implements tree.
Definition at line 68 of file pt-array-list.h.
References tree_delimiter_list::beg_pos(), tree_delimiter_list::empty(), and tree_expression::m_delims.
void tree_array_list::copy_base | ( | const tree_array_list & | array_list | ) |
Definition at line 62 of file pt-array-list.cc.
References tree_expression::copy_base().
Referenced by copy_base(), tree_cell::dup(), and tree_matrix::dup().
void tree_array_list::copy_base | ( | const tree_array_list & | array_list, |
symbol_scope & | scope | ||
) |
Definition at line 68 of file pt-array-list.cc.
References copy_base().
|
inlinevirtual |
Reimplemented from tree_expression.
|
virtual |
Implements tree_expression.
Reimplemented in tree_cell, and tree_matrix.
Definition at line 78 of file pt-array-list.cc.
References error().
|
inlinevirtual |
Implements tree.
Definition at line 69 of file pt-array-list.h.
References tree_delimiter_list::empty(), tree_delimiter_list::end_pos(), and tree_expression::m_delims.