00001 #ifndef __IDENTIFIER_EXPR 00002 #define __IDENTIFIER_EXPR 00003 00004 #include "Expression.h" 00005 00006 class CIdentifierExpr : public CExpression 00007 { 00008 CValue* m_idContext; 00009 CCString m_identifier; 00010 public: 00011 CIdentifierExpr(const CCString& identifier,CValue* id_context); 00012 virtual ~CIdentifierExpr(); 00013 virtual CValue* Calculate(); 00014 virtual bool MergeExpression(CExpression* otherexpr) { return false; }; 00015 virtual unsigned char GetExpressionID() { return CIDENTIFIEREXPRESSIONID ;}; 00016 virtual bool NeedsRecalculated() {return true;} 00017 virtual CExpression * CheckLink(std::vector<CBrokenLinkInfo*>& brokenlinks) 00018 { 00019 assertd(false); // not implemented yet 00020 return NULL; 00021 }; // another pure one 00022 virtual void ClearModified() 00023 { 00024 assertd(false); // not implemented yet 00025 00026 }; // another pure one 00027 virtual void BroadcastOperators(VALUE_OPERATOR op) { 00028 assertd(false); // not implemented yet 00029 }; 00030 }; 00031 00032 #endif //__IDENTIFIER_EXPR 00033