5 #ifndef V8_V8_INSPECTOR_H_
6 #define V8_V8_INSPECTOR_H_
12 #include <unordered_map>
43 : m_is8Bit(
true), m_length(length),
m_characters8(characters) {}
48 bool is8Bit()
const {
return m_is8Bit; }
49 size_t
length()
const {
return m_length; }
137 virtual std::vector<uint8_t>
state() = 0;
148 virtual void resume(
bool setTerminateOnResume =
false) = 0;
157 bool generatePreview) = 0;
190 int contextGroupId) {
282 unsigned lineNumber,
unsigned columnNumber,
312 return m_countersMap;
316 static int* getCounterPtr(
const char* name);
319 std::unordered_map<std::string,
int> m_countersMap;