DbgEvalPool.h 457 B

123456789101112131415161718192021222324252627282930
  1. #pragma once
  2. #include "Debugger.h"
  3. NS_BF_DBG_BEGIN
  4. class DbgEvalPool
  5. {
  6. public:
  7. class Entry
  8. {
  9. public:
  10. std::string mExpr;
  11. int mCallStackIdx;
  12. //int mCursorPos;
  13. int mAllowAssignment;
  14. int mAllowCall;
  15. int mExpressionFlags;
  16. };
  17. public:
  18. std::vector<Entry*> mEntryList;
  19. public:
  20. ~DbgEvalPool();
  21. Entry* Add(const std::string& expr, int callStackIdx, int cursorPos, bool allowAssignment, bool allowCalls, int expressionFlags);
  22. };
  23. NS_BF_DBG_END