Navigation

Operators and Keywords

Function List:

C++ API

tree_while_command Class Reference

#include <pt-loop.h>

Inherits tree_command.

Inherited by tree_do_until_command.

Collaboration diagram for tree_while_command:

List of all members.

Public Member Functions

 tree_while_command (int l=-1, int c=-1)
 tree_while_command (tree_expression *e, octave_comment_list *lc=0, octave_comment_list *tc=0, int l=-1, int c=-1)
 tree_while_command (tree_expression *e, tree_statement_list *lst, octave_comment_list *lc=0, octave_comment_list *tc=0, int l=-1, int c=-1)
 ~tree_while_command (void)
tree_expressioncondition (void)
tree_statement_listbody (void)
octave_comment_listleading_comment (void)
octave_comment_listtrailing_comment (void)
tree_commanddup (symbol_table::scope_id scope, symbol_table::context_id context) const
void accept (tree_walker &tw)

Protected Attributes

tree_expressionexpr
tree_statement_listlist
octave_comment_listlead_comm
octave_comment_listtrail_comm

Constructor & Destructor Documentation

tree_while_command::tree_while_command ( int  l = -1,
int  c = -1 
) [inline]
tree_while_command::tree_while_command ( tree_expression e,
octave_comment_list lc = 0,
octave_comment_list tc = 0,
int  l = -1,
int  c = -1 
) [inline]
tree_while_command::tree_while_command ( tree_expression e,
tree_statement_list lst,
octave_comment_list lc = 0,
octave_comment_list tc = 0,
int  l = -1,
int  c = -1 
) [inline]
tree_while_command::~tree_while_command ( void   ) 

Member Function Documentation

void tree_while_command::accept ( tree_walker tw  )  [virtual]

Implements tree.

Reimplemented in tree_do_until_command.

tree_statement_list* tree_while_command::body ( void   )  [inline]
tree_expression* tree_while_command::condition ( void   )  [inline]
tree_command * tree_while_command::dup ( symbol_table::scope_id  scope,
symbol_table::context_id  context 
) const [virtual]

Implements tree_command.

Reimplemented in tree_do_until_command.

octave_comment_list* tree_while_command::leading_comment ( void   )  [inline]
octave_comment_list* tree_while_command::trailing_comment ( void   )  [inline]

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines