#include <exprList.h>
Inheritance diagram for ExprList:


Public Types | |
|
typedef std::vector< ExprTree * >::iterator | iterator |
|
typedef std::vector< ExprTree * >::const_iterator | const_iterator |
Public Member Functions | |
| ExprList (const std::vector< ExprTree * > &exprs) | |
| ExprList (const ExprList &other_list) | |
| Copy Constructor. | |
| ~ExprList () | |
| Destructor. | |
| ExprList & | operator= (const ExprList &other_list) |
| void | GetComponents (std::vector< ExprTree * > &list) const |
| Deconstructor to obtain the components of an expression list. | |
| virtual ExprTree * | Copy () const |
| Makes a deep copy of the expression tree. | |
| bool | CopyFrom (const ExprList &other_list) |
| virtual bool | SameAs (const ExprTree *tree) const |
| Is this ExprTree the same as the tree? | |
| int | size () |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| void | insert (iterator it, ExprTree *t) |
| void | push_back (ExprTree *t) |
| void | erase (iterator it) |
| void | erase (iterator f, iterator l) |
Static Public Member Functions | |
| ExprList * | MakeExprList (const std::vector< ExprTree * > &list) |
| Factory to make an expression list expression. | |
Friends | |
| class | ExprListIterator |
| bool | operator== (ExprList &list1, ExprList &list2) |
|
|
Makes a deep copy of the expression tree.
Implements ExprTree. |
|
|
Deconstructor to obtain the components of an expression list.
|
|
|
Factory to make an expression list expression.
|
|
|
Is this ExprTree the same as the tree?
Implements ExprTree. |