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; }
143 virtual std::vector<uint8_t>
state() = 0;
157 virtual void resume(
bool setTerminateOnResume =
false) = 0;
166 bool generatePreview) = 0;
200 int contextGroupId) {
296 unsigned lineNumber,
unsigned columnNumber,
330 return m_countersMap;
334 static int* getCounterPtr(
const char* name);
337 std::unordered_map<std::string,
int> m_countersMap;