Aegis  4.25.D505
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
tree_comma Class Reference

#include <logical.h>

Inheritance diagram for tree_comma:
tree_diadic tree

Public Member Functions

virtual ~tree_comma ()

Static Public Member Functions

static pointer create (const pointer &left, const pointer &right)
static pointer create_l (const tree_list &args)

Protected Member Functions

const char * name () const
rpt_value::pointer evaluate (string_ty *, string_ty *, string_ty *, struct stat *) const
tree::pointer optimize () const

Private Member Functions

 tree_comma (const pointer &left, const pointer &right)
 tree_comma ()
 tree_comma (const tree_comma &)
tree_commaoperator= (const tree_comma &)

Detailed Description

The tree_comma class is used to represent an expression tree which performs a "comma" operator (discards the left value).

Definition at line 250 of file logical.h.


Constructor & Destructor Documentation

virtual tree_comma::~tree_comma ( ) [virtual]

The destructor.

tree_comma::tree_comma ( const pointer left,
const pointer right 
) [private]

The constructor. It is private on purpose, use the "create" clas smethod instead.

Parameters:
leftThe left hand argument to this function.
rightThe right hand argument to this function.
tree_comma::tree_comma ( ) [private]

The default constructor. Do not use.

tree_comma::tree_comma ( const tree_comma ) [private]

The copy constructor. Do not use.


Member Function Documentation

static pointer tree_comma::create ( const pointer left,
const pointer right 
) [static]

The create class method is used to create new dynamically allocated instance of this class.

Parameters:
leftThe left hand argument to this function.
rightThe right hand argument to this function.
static pointer tree_comma::create_l ( const tree_list args) [static]

The create_l class method is used to create new dynamically allocated instance of this class.

Parameters:
argsThe arguments to this function.
rpt_value::pointer tree_comma::evaluate ( string_ty ,
string_ty ,
string_ty ,
struct stat *   
) const [protected, virtual]

Implements tree.

const char* tree_comma::name ( ) const [protected, virtual]

Implements tree.

tree_comma& tree_comma::operator= ( const tree_comma ) [private]

The assignment operator. Do not use.

tree::pointer tree_comma::optimize ( ) const [protected, virtual]

Implements tree.


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