DbgEvalPool.cpp 447 B

123456789101112131415161718
  1. #include "DbgEvalPool.h"
  2. USING_NS_BF_DBG;
  3. DbgEvalPool::Entry* DbgEvalPool::Add(const std::string& expr, int callStackIdx, int cursorPos, bool allowAssignment, bool allowCalls, int expressionFlags)
  4. {
  5. Entry* entry = new Entry();
  6. entry->mExpr = expr;
  7. entry->mCallStackIdx = callStackIdx;
  8. //entry->mCursor
  9. entry->mAllowAssignment = allowAssignment;
  10. entry->mAllowCall = allowCalls;
  11. entry->mExpressionFlags = expressionFlags;
  12. return NULL;
  13. }