Navigation

Operators and Keywords

Function List:

C++ API

tree_switch_case Class Reference

#include <pt-select.h>

Inherits tree.

Collaboration diagram for tree_switch_case:

List of all members.


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_expressioncase_label (void)
tree_statement_listcommands (void)
octave_comment_listleading_comment (void)
tree_switch_casedup (symbol_table::scope_id scope, symbol_table::context_id context) const
void accept (tree_walker &tw)

Constructor & Destructor Documentation

tree_switch_case::tree_switch_case ( int  l = -1,
int  c = -1 
) [inline]

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   ) 


Member Function Documentation

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]


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