5 #ifndef V8_DEBUG_INTERFACE_TYPES_H_ 6 #define V8_DEBUG_INTERFACE_TYPES_H_ 12 #include "include/v8.h" 13 #include "src/globals.h" 18 class BuiltinArguments;
29 Location(
int line_number,
int column_number);
35 int GetLineNumber()
const;
36 int GetColumnNumber()
const;
54 : byte_offset(byte_offset), line(line), column(column) {}
62 using OffsetTable = std::vector<WasmDisassemblyOffsetTableEntry>;
65 : disassembly(std::move(disassembly)),
66 offset_table(std::move(offset_table)) {}
68 std::string disassembly;
69 OffsetTable offset_table;
72 enum DebugAsyncActionType {
78 kAsyncFunctionSuspended,
79 kAsyncFunctionFinished
82 enum BreakLocationType {
85 kDebuggerStatementBreakLocation,
94 BreakLocationType
type()
const {
return type_; }
97 BreakLocationType type_;
116 int id()
const {
return id_; }
178 #endif // V8_DEBUG_INTERFACE_TYPES_H_
V8_INLINE int Length() const
V8_INLINE Local< Value > operator[](int i) const