#include <scope-info.h>
|
ScopeType | scope_type () const |
|
LanguageMode | language_mode () const |
|
bool | is_declaration_scope () const |
|
bool | SloppyEvalCanExtendVars () const |
|
int | ContextLength () const |
|
int | ContextHeaderLength () const |
|
bool | HasContextExtensionSlot () const |
|
bool | SomeContextHasExtension () const |
|
void | mark_some_context_has_extension () |
|
bool | HasReceiver () const |
|
bool | HasAllocatedReceiver () const |
|
bool | ClassScopeHasPrivateBrand () const |
|
bool | HasSavedClassVariable () const |
|
bool | HasNewTarget () const |
|
V8_EXPORT_PRIVATE bool | HasFunctionName () const |
|
bool | HasContextAllocatedFunctionName () const |
|
V8_EXPORT_PRIVATE bool | HasSharedFunctionName () const |
|
V8_EXPORT_PRIVATE bool | HasInferredFunctionName () const |
|
void | SetFunctionName (Tagged< UnionOf< Smi, String > > name) |
|
void | SetInferredFunctionName (Tagged< String > name) |
|
bool | HasPositionInfo () const |
|
bool | IsWrappedFunctionScope () const |
|
bool | HasContext () const |
|
bool | IsAsmModule () const |
|
bool | HasSimpleParameters () const |
|
V8_EXPORT_PRIVATE Tagged< UnionOf< Smi, String > > | FunctionName () const |
|
Tagged< String > | FunctionDebugName () const |
|
V8_EXPORT_PRIVATE Tagged< Object > | InferredFunctionName () const |
|
int | StartPosition () const |
|
int | EndPosition () const |
|
void | SetPositionInfo (int start, int end) |
|
int | UniqueIdInScript () const |
|
Tagged< SourceTextModuleInfo > | ModuleDescriptorInfo () const |
|
bool | HasInlinedLocalNames () const |
|
Tagged< String > | ContextInlinedLocalName (int var) const |
|
Tagged< String > | ContextInlinedLocalName (PtrComprCageBase cage_base, int var) const |
|
VariableMode | ContextLocalMode (int var) const |
|
IsStaticFlag | ContextLocalIsStaticFlag (int var) const |
|
InitializationFlag | ContextLocalInitFlag (int var) const |
|
bool | ContextLocalIsParameter (int var) const |
|
uint32_t | ContextLocalParameterNumber (int var) const |
|
MaybeAssignedFlag | ContextLocalMaybeAssignedFlag (int var) const |
|
int | ContextSlotIndex (DirectHandle< String > name) |
|
int | ContextSlotIndex (DirectHandle< String > name, VariableLookupResult *lookup_result) |
|
int | ModuleIndex (Tagged< String > name, VariableMode *mode, InitializationFlag *init_flag, MaybeAssignedFlag *maybe_assigned_flag) |
|
int | ModuleVariableCount () const |
|
int | FunctionContextSlotIndex (Tagged< String > name) const |
|
int | ReceiverContextSlotIndex () const |
|
int | ParametersStartIndex () const |
|
std::pair< Tagged< String >, int > | SavedClassVariable () const |
|
FunctionKind | function_kind () const |
|
bool | HasOuterScopeInfo () const |
|
bool | IsDebugEvaluateScope () const |
|
void | SetIsDebugEvaluateScope () |
|
Tagged< ScopeInfo > | OuterScopeInfo () const |
|
bool | is_script_scope () const |
|
bool | PrivateNameLookupSkipsOuterClass () const |
|
bool | IsReplModeScope () const |
|
bool | Equals (Tagged< ScopeInfo > other, bool is_live_edit_compare=false, int *out_last_checked_field=nullptr) const |
|
uint32_t | Flags () const |
|
int | ParameterCount () const |
|
int | ContextLocalCount () const |
|
Tagged< DependentCode > | dependent_code () const |
|
bool | IsEmpty () const |
|
ObjectSlot | data_start () |
|
V8_EXPORT_PRIVATE uint32_t | Hash () |
|
|
int | InlinedLocalNamesLookup (Tagged< String > name) |
|
int | ContextLocalNamesIndex () const |
|
int | ContextLocalInfosIndex () const |
|
int | SavedClassVariableInfoIndex () const |
|
int | FunctionVariableInfoIndex () const |
|
int | InferredFunctionNameIndex () const |
|
int | OuterScopeInfoIndex () const |
|
int | ModuleInfoIndex () const |
|
int | ModuleVariableCountIndex () const |
|
int | ModuleVariablesIndex () const |
|
int | DependentCodeIndex () const |
|
V8_EXPORT_PRIVATE Tagged< Object > | get (int index) const |
|
Tagged< Object > | get (PtrComprCageBase cage_base, int index) const |
|
void | set (int index, Tagged< Smi > value) |
|
void | set (int index, Tagged< Object > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
|
void | CopyElements (Isolate *isolate, int dst_index, Tagged< ScopeInfo > src, int src_index, int len, WriteBarrierMode mode) |
|
ObjectSlot | RawFieldOfElementAt (int index) |
|
V8_EXPORT_PRIVATE int | length () const |
|
int | Lookup (Handle< String > name, int start, int end, VariableMode *mode, VariableLocation *location, InitializationFlag *init_flag, MaybeAssignedFlag *maybe_assigned_flag) |
|
void | ModuleVariable (int i, Tagged< String > *name, int *index, VariableMode *mode=nullptr, InitializationFlag *init_flag=nullptr, MaybeAssignedFlag *maybe_assigned_flag=nullptr) |
|
Definition at line 50 of file scope-info.h.
◆ BootstrappingType
Enumerator |
---|
kScript | |
kFunction | |
kNative | |
kShadowRealm | |
Definition at line 351 of file scope-info.h.
◆ Fields
Enumerator |
---|
kFlags | |
kParameterCount | |
kContextLocalCount | |
kPositionInfoStart | |
kPositionInfoEnd | |
kVariablePartIndex | |
Definition at line 282 of file scope-info.h.
◆ ClassScopeHasPrivateBrand()
bool v8::internal::ScopeInfo::ClassScopeHasPrivateBrand |
( |
| ) |
const |
◆ ContextHeaderLength()
int v8::internal::ScopeInfo::ContextHeaderLength |
( |
| ) |
const |
◆ ContextInlinedLocalName() [1/2]
Tagged< String > v8::internal::ScopeInfo::ContextInlinedLocalName |
( |
int | var | ) |
const |
◆ ContextInlinedLocalName() [2/2]
◆ ContextLength()
int v8::internal::ScopeInfo::ContextLength |
( |
| ) |
const |
◆ ContextLocalCount()
int v8::internal::ScopeInfo::ContextLocalCount |
( |
| ) |
const |
|
inline |
◆ ContextLocalInfosIndex()
int v8::internal::ScopeInfo::ContextLocalInfosIndex |
( |
| ) |
const |
|
private |
◆ ContextLocalInitFlag()
◆ ContextLocalIsParameter()
bool v8::internal::ScopeInfo::ContextLocalIsParameter |
( |
int | var | ) |
const |
◆ ContextLocalIsStaticFlag()
IsStaticFlag v8::internal::ScopeInfo::ContextLocalIsStaticFlag |
( |
int | var | ) |
const |
◆ ContextLocalMaybeAssignedFlag()
MaybeAssignedFlag v8::internal::ScopeInfo::ContextLocalMaybeAssignedFlag |
( |
int | var | ) |
const |
◆ ContextLocalMode()
VariableMode v8::internal::ScopeInfo::ContextLocalMode |
( |
int | var | ) |
const |
◆ ContextLocalNamesIndex()
int v8::internal::ScopeInfo::ContextLocalNamesIndex |
( |
| ) |
const |
|
private |
◆ ContextLocalParameterNumber()
uint32_t v8::internal::ScopeInfo::ContextLocalParameterNumber |
( |
int | var | ) |
const |
◆ ContextSlotIndex() [1/2]
◆ ContextSlotIndex() [2/2]
◆ ConvertOffsetToIndex()
static constexpr int v8::internal::ScopeInfo::ConvertOffsetToIndex |
( |
int | offset | ) |
|
|
inlinestaticconstexprprivate |
◆ CopyElements()
◆ Create()
template<typename IsolateT >
◆ CreateForBootstrapping()
◆ CreateForEmptyFunction()
◆ CreateForNativeContext()
◆ CreateForShadowRealmNativeContext()
◆ CreateForWithScope()
◆ CreateGlobalThisBinding()
◆ data_start()
ObjectSlot v8::internal::ScopeInfo::data_start |
( |
| ) |
|
|
inline |
◆ dependent_code()
◆ DependentCodeIndex()
int v8::internal::ScopeInfo::DependentCodeIndex |
( |
| ) |
const |
|
private |
◆ Empty()
◆ EndPosition()
int v8::internal::ScopeInfo::EndPosition |
( |
| ) |
const |
◆ Equals()
bool v8::internal::ScopeInfo::Equals |
( |
Tagged< ScopeInfo > | other, |
|
|
bool | is_live_edit_compare = false, |
|
|
int * | out_last_checked_field = nullptr ) const |
◆ Flags()
uint32_t v8::internal::ScopeInfo::Flags |
( |
| ) |
const |
|
inline |
◆ function_kind()
FunctionKind v8::internal::ScopeInfo::function_kind |
( |
| ) |
const |
◆ FunctionContextSlotIndex()
int v8::internal::ScopeInfo::FunctionContextSlotIndex |
( |
Tagged< String > | name | ) |
const |
◆ FunctionDebugName()
Tagged< String > v8::internal::ScopeInfo::FunctionDebugName |
( |
| ) |
const |
◆ FunctionName()
◆ FunctionVariableInfoIndex()
int v8::internal::ScopeInfo::FunctionVariableInfoIndex |
( |
| ) |
const |
|
private |
◆ get() [1/2]
Tagged< Object > v8::internal::ScopeInfo::get |
( |
int | index | ) |
const |
|
private |
◆ get() [2/2]
◆ HasAllocatedReceiver()
bool v8::internal::ScopeInfo::HasAllocatedReceiver |
( |
| ) |
const |
◆ HasContext()
bool v8::internal::ScopeInfo::HasContext |
( |
| ) |
const |
◆ HasContextAllocatedFunctionName()
bool v8::internal::ScopeInfo::HasContextAllocatedFunctionName |
( |
| ) |
const |
◆ HasContextExtensionSlot()
bool v8::internal::ScopeInfo::HasContextExtensionSlot |
( |
| ) |
const |
◆ HasFunctionName()
bool v8::internal::ScopeInfo::HasFunctionName |
( |
| ) |
const |
◆ Hash()
uint32_t v8::internal::ScopeInfo::Hash |
( |
| ) |
|
◆ HasInferredFunctionName()
bool v8::internal::ScopeInfo::HasInferredFunctionName |
( |
| ) |
const |
◆ HasInlinedLocalNames()
bool v8::internal::ScopeInfo::HasInlinedLocalNames |
( |
| ) |
const |
|
inline |
◆ HasNewTarget()
bool v8::internal::ScopeInfo::HasNewTarget |
( |
| ) |
const |
◆ HasOuterScopeInfo()
bool v8::internal::ScopeInfo::HasOuterScopeInfo |
( |
| ) |
const |
◆ HasPositionInfo()
bool v8::internal::ScopeInfo::HasPositionInfo |
( |
| ) |
const |
◆ HasReceiver()
bool v8::internal::ScopeInfo::HasReceiver |
( |
| ) |
const |
◆ HasSavedClassVariable()
bool v8::internal::ScopeInfo::HasSavedClassVariable |
( |
| ) |
const |
◆ HasSharedFunctionName()
bool v8::internal::ScopeInfo::HasSharedFunctionName |
( |
| ) |
const |
◆ HasSimpleParameters()
bool v8::internal::ScopeInfo::HasSimpleParameters |
( |
| ) |
const |
|
inline |
◆ InferredFunctionName()
Tagged< Object > v8::internal::ScopeInfo::InferredFunctionName |
( |
| ) |
const |
◆ InferredFunctionNameIndex()
int v8::internal::ScopeInfo::InferredFunctionNameIndex |
( |
| ) |
const |
|
private |
◆ InlinedLocalNamesLookup()
int v8::internal::ScopeInfo::InlinedLocalNamesLookup |
( |
Tagged< String > | name | ) |
|
|
private |
◆ is_declaration_scope()
bool v8::internal::ScopeInfo::is_declaration_scope |
( |
| ) |
const |
◆ is_script_scope()
bool v8::internal::ScopeInfo::is_script_scope |
( |
| ) |
const |
◆ IsAsmModule()
bool v8::internal::ScopeInfo::IsAsmModule |
( |
| ) |
const |
|
inline |
◆ IsDebugEvaluateScope()
bool v8::internal::ScopeInfo::IsDebugEvaluateScope |
( |
| ) |
const |
◆ IsEmpty()
bool v8::internal::ScopeInfo::IsEmpty |
( |
| ) |
const |
◆ IsReplModeScope()
bool v8::internal::ScopeInfo::IsReplModeScope |
( |
| ) |
const |
◆ IsWrappedFunctionScope()
bool v8::internal::ScopeInfo::IsWrappedFunctionScope |
( |
| ) |
const |
◆ IterateLocalNames() [1/2]
◆ IterateLocalNames() [2/2]
◆ language_mode()
LanguageMode v8::internal::ScopeInfo::language_mode |
( |
| ) |
const |
◆ length()
int v8::internal::ScopeInfo::length |
( |
| ) |
const |
|
private |
◆ Lookup()
◆ mark_some_context_has_extension()
void v8::internal::ScopeInfo::mark_some_context_has_extension |
( |
| ) |
|
◆ ModuleDescriptorInfo()
◆ ModuleIndex()
◆ ModuleInfoIndex()
int v8::internal::ScopeInfo::ModuleInfoIndex |
( |
| ) |
const |
|
private |
◆ ModuleVariable()
◆ ModuleVariableCount()
int v8::internal::ScopeInfo::ModuleVariableCount |
( |
| ) |
const |
◆ ModuleVariableCountIndex()
int v8::internal::ScopeInfo::ModuleVariableCountIndex |
( |
| ) |
const |
|
private |
◆ ModuleVariablesIndex()
int v8::internal::ScopeInfo::ModuleVariablesIndex |
( |
| ) |
const |
|
private |
◆ OffsetOfElementAt()
static constexpr int v8::internal::ScopeInfo::OffsetOfElementAt |
( |
int | index | ) |
|
|
inlinestaticconstexprprivate |
◆ OuterScopeInfo()
◆ OuterScopeInfoIndex()
int v8::internal::ScopeInfo::OuterScopeInfoIndex |
( |
| ) |
const |
|
private |
◆ ParameterCount()
int v8::internal::ScopeInfo::ParameterCount |
( |
| ) |
const |
|
inline |
◆ ParametersStartIndex()
int v8::internal::ScopeInfo::ParametersStartIndex |
( |
| ) |
const |
◆ PrivateNameLookupSkipsOuterClass()
bool v8::internal::ScopeInfo::PrivateNameLookupSkipsOuterClass |
( |
| ) |
const |
◆ RawFieldOfElementAt()
ObjectSlot v8::internal::ScopeInfo::RawFieldOfElementAt |
( |
int | index | ) |
|
|
private |
◆ ReceiverContextSlotIndex()
int v8::internal::ScopeInfo::ReceiverContextSlotIndex |
( |
| ) |
const |
◆ SavedClassVariable()
std::pair< Tagged< String >, int > v8::internal::ScopeInfo::SavedClassVariable |
( |
| ) |
const |
◆ SavedClassVariableInfoIndex()
int v8::internal::ScopeInfo::SavedClassVariableInfoIndex |
( |
| ) |
const |
|
private |
◆ scope_type()
ScopeType v8::internal::ScopeInfo::scope_type |
( |
| ) |
const |
◆ set() [1/2]
◆ set() [2/2]
void v8::internal::ScopeInfo::set |
( |
int | index, |
|
|
Tagged< Smi > | value ) |
|
private |
◆ SetFunctionName()
◆ SetInferredFunctionName()
void v8::internal::ScopeInfo::SetInferredFunctionName |
( |
Tagged< String > | name | ) |
|
◆ SetIsDebugEvaluateScope()
void v8::internal::ScopeInfo::SetIsDebugEvaluateScope |
( |
| ) |
|
◆ SetPositionInfo()
void v8::internal::ScopeInfo::SetPositionInfo |
( |
int | start, |
|
|
int | end ) |
◆ SizeFor()
static constexpr int v8::internal::ScopeInfo::SizeFor |
( |
int | length | ) |
|
|
inlinestaticconstexpr |
◆ SloppyEvalCanExtendVars()
bool v8::internal::ScopeInfo::SloppyEvalCanExtendVars |
( |
| ) |
const |
◆ SomeContextHasExtension()
bool v8::internal::ScopeInfo::SomeContextHasExtension |
( |
| ) |
const |
◆ StartPosition()
int v8::internal::ScopeInfo::StartPosition |
( |
| ) |
const |
◆ UniqueIdInScript()
int v8::internal::ScopeInfo::UniqueIdInScript |
( |
| ) |
const |
◆ VariableIsSynthetic()
◆ operator<<
◆ ScopeIterator
◆ kFunctionNameEntries
const int v8::internal::ScopeInfo::kFunctionNameEntries |
|
staticprivate |
Initial value:=
TorqueGeneratedFunctionVariableInfoOffsets::kSize /
kTaggedSize
constexpr int kTaggedSize
Definition at line 367 of file scope-info.h.
◆ kModuleVariableEntryLength
const int v8::internal::ScopeInfo::kModuleVariableEntryLength |
|
staticprivate |
The documentation for this class was generated from the following files: