Home | History | Annotate | Download | only in objects

Lines Matching defs:ScopeInfo

26 // ScopeInfo represents information about different scopes of a source
28 // is stored in a compressed form in ScopeInfo objects and is used
33 class ScopeInfo : public FixedArray {
35 DECLARE_CAST(ScopeInfo)
144 static int ContextSlotIndex(Handle<ScopeInfo> scope_info, Handle<String> name,
176 // Returns true if this ScopeInfo is linked to a outer ScopeInfo.
179 // Returns true if this ScopeInfo was created for a debug-evaluate scope.
182 // Can be used to mark a ScopeInfo that looks like a with-scope as actually
186 // Return the outer ScopeInfo if present.
187 ScopeInfo* OuterScopeInfo();
190 bool Equals(ScopeInfo* other) const;
193 static Handle<ScopeInfo> Create(Isolate* isolate, Zone* zone, Scope* scope,
194 MaybeHandle<ScopeInfo> outer_scope);
195 static Handle<ScopeInfo> CreateForWithScope(
196 Isolate* isolate, MaybeHandle<ScopeInfo> outer_scope);
197 static Handle<ScopeInfo> CreateGlobalThisBinding(Isolate* isolate);
200 V8_EXPORT_PRIVATE static ScopeInfo* Empty(Isolate* isolate);
206 // The layout of the static part of a ScopeInfo is as follows. Each entry is
240 // The layout of the variable part of a ScopeInfo is as follows:
275 // The outer scope's ScopeInfo or the hole if there's none.