GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "pt-decl.h"
Public Member Functions | |
tree_decl_elt (tree_identifier *i=0, tree_expression *e=0) | |
~tree_decl_elt (void) | |
void | accept (tree_walker &tw) |
tree_decl_elt * | dup (symbol_table::scope_id scope, symbol_table::context_id context) const |
bool | eval (void) |
tree_expression * | expression (void) |
tree_identifier * | ident (void) |
bool | is_defined (void) |
bool | is_variable (void) |
octave_lvalue | lvalue (void) |
bool | lvalue_ok (void) |
void | mark_as_formal_parameter (void) |
std::string | name (void) |
octave_value_list | rvalue (int nargout) |
octave_value | rvalue1 (int nargout=1) |
Private Member Functions | |
tree_decl_elt (const tree_decl_elt &) | |
tree_decl_elt & | operator= (const tree_decl_elt &) |
Private Attributes | |
tree_expression * | expr |
tree_identifier * | id |
|
inline |
tree_decl_elt::~tree_decl_elt | ( | void | ) |
Definition at line 42 of file pt-decl.cc.
|
private |
void tree_decl_elt::accept | ( | tree_walker & | tw | ) |
Definition at line 79 of file pt-decl.cc.
References tree_walker::visit_decl_elt().
Referenced by tree_checker::visit_decl_init_list(), tree_print_code::visit_decl_init_list(), tree_checker::visit_parameter_list(), and tree_print_code::visit_parameter_list().
tree_decl_elt * tree_decl_elt::dup | ( | symbol_table::scope_id | scope, |
symbol_table::context_id | context | ||
) | const |
Definition at line 71 of file pt-decl.cc.
References tree_expression::dup(), tree_identifier::dup(), expr, id, and tree_decl_elt().
Referenced by tree_parameter_list::dup(), and tree_decl_init_list::dup().
Definition at line 49 of file pt-decl.cc.
References octave_lvalue::assign(), error_state, expr, octave_value::op_asn_eq, and tree_expression::rvalue1().
Referenced by tree_parameter_list::define_from_arg_vector().
|
inline |
Definition at line 89 of file pt-decl.h.
Referenced by do_global_init(), do_static_init(), tree_checker::visit_decl_elt(), and tree_print_code::visit_decl_elt().
|
inline |
Definition at line 85 of file pt-decl.h.
Referenced by do_global_init(), do_static_init(), octave_fcn_binder::maybe_binder(), octave_user_function::subsasgn_optimization_ok(), tree_parameter_list::validate(), tree_checker::visit_decl_elt(), and tree_print_code::visit_decl_elt().
Definition at line 53 of file pt-decl.h.
Referenced by tree_parameter_list::convert_to_const_vector().
Definition at line 55 of file pt-decl.h.
Referenced by tree_parameter_list::initialize_undefined_elements(), and tree_parameter_list::is_defined().
|
inline |
Definition at line 83 of file pt-decl.h.
Referenced by tree_parameter_list::define_from_arg_vector(), tree_parameter_list::initialize_undefined_elements(), and tree_parameter_list::undefine().
Definition at line 57 of file pt-decl.h.
Referenced by tree_parameter_list::mark_as_formal_parameters().
|
inline |
Definition at line 87 of file pt-decl.h.
Referenced by jit_convert_llvm::convert_function(), jit_convert::jit_convert(), and tree_parameter_list::variable_names().
|
private |
|
inline |
|
inline |
Definition at line 66 of file pt-decl.h.
References octave_value(), and octave_value::storable_value().
Referenced by tree_parameter_list::convert_to_const_vector().
|
private |
Definition at line 102 of file pt-decl.h.
Referenced by dup(), eval(), and ~tree_decl_elt().
|
private |
Definition at line 99 of file pt-decl.h.
Referenced by dup(), and ~tree_decl_elt().