#include <pt-select.h>
Inherits tree.
Public Member Functions | |
tree_switch_case (int l=-1, int c=-1) | |
tree_switch_case (tree_statement_list *sl, octave_comment_list *lc=0, int l=-1, int c=-1) | |
tree_switch_case (tree_expression *e, tree_statement_list *sl, octave_comment_list *lc=0, int l=-1, int c=-1) | |
~tree_switch_case (void) | |
bool | is_default_case (void) |
bool | label_matches (const octave_value &val) |
tree_expression * | case_label (void) |
tree_statement_list * | commands (void) |
octave_comment_list * | leading_comment (void) |
tree_switch_case * | dup (symbol_table::scope_id scope, symbol_table::context_id context) const |
void | accept (tree_walker &tw) |
tree_switch_case::tree_switch_case | ( | tree_statement_list * | sl, | |
octave_comment_list * | lc = 0 , |
|||
int | l = -1 , |
|||
int | c = -1 | |||
) | [inline] |
tree_switch_case::tree_switch_case | ( | tree_expression * | e, | |
tree_statement_list * | sl, | |||
octave_comment_list * | lc = 0 , |
|||
int | l = -1 , |
|||
int | c = -1 | |||
) | [inline] |
tree_switch_case::~tree_switch_case | ( | void | ) |
void tree_switch_case::accept | ( | tree_walker & | tw | ) | [virtual] |
Implements tree.
tree_expression* tree_switch_case::case_label | ( | void | ) | [inline] |
tree_statement_list* tree_switch_case::commands | ( | void | ) | [inline] |
tree_switch_case * tree_switch_case::dup | ( | symbol_table::scope_id | scope, | |
symbol_table::context_id | context | |||
) | const |
bool tree_switch_case::is_default_case | ( | void | ) | [inline] |
bool tree_switch_case::label_matches | ( | const octave_value & | val | ) |
octave_comment_list* tree_switch_case::leading_comment | ( | void | ) | [inline] |