GNU Octave 10.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 
Loading...
Searching...
No Matches
tree_argument_list Class Reference

#include "pt-arg-list.h"

Inheritance diagram for tree_argument_list:

Public Types

typedef tree_expressionelement_type
 

Public Member Functions

 tree_argument_list ()
 
 tree_argument_list (tree_expression *t)
 
 ~tree_argument_list ()
 
void accept (tree_walker &tw)
 
bool all_elements_are_constant () const
 
filepos beg_pos () const
 
tree_argument_listdup (symbol_scope &scope) const
 
filepos end_pos () const
 
string_vector get_arg_names () const
 
bool has_magic_tilde () const
 
bool includes_magic_tilde () const
 
bool is_simple_assign_lhs ()
 
bool is_valid_lvalue_list () const
 
void mark_as_simple_assign_lhs ()
 
tree_argument_listmark_in_delims (const token &open_delim, const token &close_delim)
 
void push_back (const element_type &s)
 
tree_expressionremove_front ()
 
std::list< std::string > variable_names () const
 

Detailed Description

Definition at line 52 of file pt-arg-list.h.

Member Typedef Documentation

◆ element_type

Definition at line 56 of file pt-arg-list.h.

Constructor & Destructor Documentation

◆ tree_argument_list() [1/2]

tree_argument_list::tree_argument_list ( )
inline

Definition at line 58 of file pt-arg-list.h.

Referenced by dup().

◆ tree_argument_list() [2/2]

tree_argument_list::tree_argument_list ( tree_expression t)
inline

Definition at line 60 of file pt-arg-list.h.

References push_back().

◆ ~tree_argument_list()

tree_argument_list::~tree_argument_list ( )

Definition at line 46 of file pt-arg-list.cc.

Member Function Documentation

◆ accept()

◆ all_elements_are_constant()

bool tree_argument_list::all_elements_are_constant ( ) const

Definition at line 69 of file pt-arg-list.cc.

◆ beg_pos()

filepos tree_argument_list::beg_pos ( ) const
inline

◆ dup()

tree_argument_list * tree_argument_list::dup ( symbol_scope scope) const

Definition at line 141 of file pt-arg-list.cc.

References tree_argument_list(), and push_back().

◆ end_pos()

filepos tree_argument_list::end_pos ( ) const
inline

◆ get_arg_names()

string_vector tree_argument_list::get_arg_names ( ) const

Definition at line 101 of file pt-arg-list.cc.

References len.

Referenced by tree_index_expression::append().

◆ has_magic_tilde()

bool tree_argument_list::has_magic_tilde ( ) const
inline

◆ includes_magic_tilde()

bool tree_argument_list::includes_magic_tilde ( ) const
inline

Definition at line 105 of file pt-arg-list.h.

◆ is_simple_assign_lhs()

bool tree_argument_list::is_simple_assign_lhs ( )
inline

Definition at line 122 of file pt-arg-list.h.

Referenced by base_parser::make_assign_op().

◆ is_valid_lvalue_list()

bool tree_argument_list::is_valid_lvalue_list ( ) const

Definition at line 81 of file pt-arg-list.cc.

Referenced by base_parser::validate_matrix_for_assignment().

◆ mark_as_simple_assign_lhs()

void tree_argument_list::mark_as_simple_assign_lhs ( )
inline

Definition at line 120 of file pt-arg-list.h.

Referenced by base_parser::validate_matrix_for_assignment().

◆ mark_in_delims()

tree_argument_list * tree_argument_list::mark_in_delims ( const token open_delim,
const token close_delim 
)
inline

Definition at line 66 of file pt-arg-list.h.

References tree_delimiter_list::push().

Referenced by tree_index_expression::append().

◆ push_back()

void tree_argument_list::push_back ( const element_type s)

Definition at line 57 of file pt-arg-list.cc.

References tree_expression::is_identifier().

Referenced by tree_argument_list(), and dup().

◆ remove_front()

tree_expression * tree_argument_list::remove_front ( )
inline

Definition at line 110 of file pt-arg-list.h.

Referenced by base_parser::make_assign_op(), and base_parser::make_for_command().

◆ variable_names()

std::list< std::string > tree_argument_list::variable_names ( ) const

The documentation for this class was generated from the following files: