#include <script.h>
|
static DirectHandle< String > | GetScriptHash (Isolate *isolate, DirectHandle< Script > script, bool forceForInspector) |
|
static int | GetEvalPosition (Isolate *isolate, DirectHandle< Script > script) |
|
static void | InitLineEnds (Isolate *isolate, DirectHandle< Script > script) |
|
static void | InitLineEnds (LocalIsolate *isolate, DirectHandle< Script > script) |
|
static V8_EXPORT_PRIVATE String::LineEndsVector | GetLineEnds (Isolate *isolate, DirectHandle< Script > script) |
|
static void | SetSource (Isolate *isolate, DirectHandle< Script > script, DirectHandle< String > source) |
|
static bool | GetPositionInfo (DirectHandle< Script > script, int position, PositionInfo *info, OffsetFlag offset_flag=OffsetFlag::kWithOffset) |
|
static bool | GetLineColumnWithLineEnds (int position, int &line, int &column, const String::LineEndsVector &line_ends) |
|
static int | GetColumnNumber (DirectHandle< Script > script, int code_offset) |
|
static V8_EXPORT_PRIVATE int | GetLineNumber (DirectHandle< Script > script, int code_offset) |
|
template<typename IsolateT > |
static MaybeHandle< SharedFunctionInfo > | FindSharedFunctionInfo (DirectHandle< Script > script, IsolateT *isolate, FunctionLiteral *function_literal) |
|
Definition at line 38 of file script.h.
◆ BodyDescriptor
◆ CompilationState
Enumerator |
---|
kInitial | |
kCompiled | |
Definition at line 60 of file script.h.
◆ CompilationType
◆ OffsetFlag
Enumerator |
---|
kNoOffset | |
kWithOffset | |
Definition at line 208 of file script.h.
◆ Type
Enumerator |
---|
kNative | |
kExtension | |
kNormal | |
kInspector | |
Definition at line 46 of file script.h.
◆ AddPositionInfoOffset()
◆ CanHaveLineEnds()
bool v8::internal::Script::CanHaveLineEnds |
( |
| ) |
const |
|
inline |
◆ compilation_state()
◆ compilation_type()
◆ deserialized()
bool v8::internal::Script::deserialized |
( |
| ) |
const |
|
inline |
◆ FindSharedFunctionInfo()
template<typename IsolateT >
◆ flags()
uint32_t v8::internal::Script::flags |
( |
| ) |
const |
|
inline |
◆ GetColumnNumber() [1/2]
int v8::internal::Script::GetColumnNumber |
( |
DirectHandle< Script > | script, |
|
|
int | code_offset ) |
|
static |
◆ GetColumnNumber() [2/2]
int v8::internal::Script::GetColumnNumber |
( |
int | code_pos | ) |
const |
◆ GetEvalOrigin()
◆ GetEvalPosition()
◆ GetLineColumnWithLineEnds()
bool v8::internal::Script::GetLineColumnWithLineEnds |
( |
int | position, |
|
|
int & | line, |
|
|
int & | column, |
|
|
const String::LineEndsVector & | line_ends ) |
|
static |
◆ GetLineEnds()
◆ GetLineNumber() [1/2]
int v8::internal::Script::GetLineNumber |
( |
DirectHandle< Script > | script, |
|
|
int | code_offset ) |
|
static |
◆ GetLineNumber() [2/2]
int v8::internal::Script::GetLineNumber |
( |
int | code_pos | ) |
const |
◆ GetNameOrSourceURL()
Tagged< Object > v8::internal::Script::GetNameOrSourceURL |
( |
| ) |
|
◆ GetPositionInfo() [1/2]
◆ GetPositionInfo() [2/2]
◆ GetPositionInfoInternal()
template<typename LineEndsContainer >
◆ GetPositionInfoWithLineEnds()
◆ GetScriptHash()
◆ has_eval_from_shared()
bool v8::internal::Script::has_eval_from_shared |
( |
| ) |
const |
|
inline |
◆ has_line_ends()
bool v8::internal::Script::has_line_ends |
( |
| ) |
const |
|
inline |
◆ HasSourceMappingURLComment()
bool v8::internal::Script::HasSourceMappingURLComment |
( |
| ) |
const |
|
inline |
◆ HasSourceURLComment()
bool v8::internal::Script::HasSourceURLComment |
( |
| ) |
const |
|
inline |
◆ HasValidSource()
bool v8::internal::Script::HasValidSource |
( |
| ) |
|
|
inline |
◆ InitLineEnds() [1/2]
◆ InitLineEnds() [2/2]
◆ InitLineEndsInternal() [1/2]
template<typename IsolateT >
void v8::internal::Script::InitLineEndsInternal |
( |
IsolateT * | isolate, |
|
|
DirectHandle< Script > | script ) |
◆ InitLineEndsInternal() [2/2]
template<typename IsolateT >
◆ is_repl_mode()
bool v8::internal::Script::is_repl_mode |
( |
| ) |
const |
|
inline |
◆ is_wrapped()
bool v8::internal::Script::is_wrapped |
( |
| ) |
const |
|
inline |
◆ IsMaybeUnfinalized()
bool v8::internal::Script::IsMaybeUnfinalized |
( |
Isolate * | isolate | ) |
const |
|
inline |
◆ IsSubjectToDebugging()
bool v8::internal::Script::IsSubjectToDebugging |
( |
| ) |
const |
◆ IsUserJavaScript()
bool v8::internal::Script::IsUserJavaScript |
( |
| ) |
const |
◆ origin_options()
◆ produce_compile_hints()
bool v8::internal::Script::produce_compile_hints |
( |
| ) |
const |
|
inline |
◆ set_compilation_state()
◆ set_compilation_type()
◆ set_deserialized()
void v8::internal::Script::set_deserialized |
( |
bool | value | ) |
|
|
inline |
◆ set_flags()
void v8::internal::Script::set_flags |
( |
uint32_t | new_flags | ) |
|
|
inline |
◆ set_is_repl_mode()
void v8::internal::Script::set_is_repl_mode |
( |
bool | value | ) |
|
|
inline |
◆ set_origin_options()
◆ set_produce_compile_hints()
void v8::internal::Script::set_produce_compile_hints |
( |
bool | produce_compile_hints | ) |
|
|
inline |
◆ SetSource()
◆ TraceScriptRundown()
void v8::internal::Script::TraceScriptRundown |
( |
| ) |
|
◆ TraceScriptRundownSources()
void v8::internal::Script::TraceScriptRundownSources |
( |
| ) |
|
◆ Factory
friend v8::internal::Script::Factory |
|
private |
◆ FactoryBase< Factory >
friend v8::internal::Script::FactoryBase< Factory > |
|
private |
◆ FactoryBase< LocalFactory >
◆ kTemporaryScriptId
int v8::internal::Script::kTemporaryScriptId = -2 |
|
staticconstexpr |
The documentation for this class was generated from the following files: