In file expr.h:

class XxxValueExprList

List of value expressions

Inheritance:


Public Methods

XxxValueExprList* AddExpr (XxxValueExpression *NextExpr)
/ adds expr to the end of the list
XxxValueExprList* AddExpr (XxxValueExpression *NextExpr, XxxValueExprList *&NewElt)
/ adds expr to end, and returns the newly added elt in its second arg
virtual XxxBool ReferencesAggregate ()
Is this expression based in any way on an aggregate expression?
virtual XxxErrCode Replace (const XxxUnknownValue *Target, const XxxExpression *Replacement)
Replaces all references to the target expression with references to the replacement expression
virtual XxxErrCode Replace (const XxxExpression *Target, const XxxExpression *Replacement)
Replaces all references to the target expression with references to the replacement expression
XxxErrCode SetElement (const int ind, XxxValueExpression* Exp)
/ functions to allow index access to list
virtual XxxValueExprList* TypeFilter (const XxxValueExpression::ValExprType Type)
Removes all expressions in the list except those of the specified type, possibly making the list empty
virtual XxxErrCode UpdateUnknowns (int ChildNumber, int OldAttrIndex, int NewAttrIndex, XxxBool &Appears)
Substitutes NewAttrIndex for OldAttrIndex in the SrcAttrIndex field of XxxUnknownValues subexpressions with SrcChild == ChildNumber

Documentation

List of value expressions
XxxErrCode SetElement(const int ind, XxxValueExpression* Exp)
/ functions to allow index access to list

XxxValueExprList* AddExpr(XxxValueExpression *NextExpr)
/ adds expr to the end of the list

XxxValueExprList* AddExpr(XxxValueExpression *NextExpr, XxxValueExprList *&NewElt)
/ adds expr to end, and returns the newly added elt in its second arg

virtual XxxErrCode Replace(const XxxExpression *Target, const XxxExpression *Replacement)
Replaces all references to the target expression with references to the replacement expression. Uses the match function to determine if the target expression is referenced.

virtual XxxErrCode Replace(const XxxUnknownValue *Target, const XxxExpression *Replacement)
Replaces all references to the target expression with references to the replacement expression. Used in XxxStrRule (Binquan)

virtual XxxErrCode UpdateUnknowns(int ChildNumber, int OldAttrIndex, int NewAttrIndex, XxxBool &Appears)
Substitutes NewAttrIndex for OldAttrIndex in the SrcAttrIndex field of XxxUnknownValues subexpressions with SrcChild == ChildNumber

virtual XxxValueExprList* TypeFilter(const XxxValueExpression::ValExprType Type)
Removes all expressions in the list except those of the specified type, possibly making the list empty. Returns the new head of the list, or NULL if the list is now empty.

virtual XxxBool ReferencesAggregate()
Is this expression based in any way on an aggregate expression?


This class has no child classes.
Author:
Praveen

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de