Home | History | Annotate | Download | only in ast

Lines Matching refs:ScopeInfo

5 #include "src/ast/scopeinfo.h"
16 Handle<ScopeInfo> ScopeInfo::Create(Isolate* isolate, Zone* zone,
79 Handle<ScopeInfo> scope_info = factory->NewScopeInfo(length);
112 // them to the ScopeInfo object.
132 // context slot index before adding them to the ScopeInfo object.
198 Handle<ScopeInfo> ScopeInfo::CreateGlobalThisBinding(Isolate* isolate) {
217 Handle<ScopeInfo> scope_info = factory->NewScopeInfo(length);
251 // And here we record that this scopeinfo binds a receiver.
266 ScopeInfo* ScopeInfo::Empty(Isolate* isolate) {
267 return reinterpret_cast<ScopeInfo*>(isolate->heap()->empty_fixed_array());
271 ScopeType ScopeInfo::scope_type() {
277 bool ScopeInfo::CallsEval() {
282 LanguageMode ScopeInfo::language_mode() {
287 bool ScopeInfo::is_declaration_scope() {
292 int ScopeInfo::LocalCount() {
297 int ScopeInfo::StackSlotCount() {
307 int ScopeInfo::ContextLength() {
330 bool ScopeInfo::HasReceiver() {
339 bool ScopeInfo::HasAllocatedReceiver() {
349 bool ScopeInfo::HasNewTarget() { return HasNewTargetField::decode(Flags()); }
352 bool ScopeInfo::HasFunctionName() {
361 bool ScopeInfo::HasHeapAllocatedLocals() {
370 bool ScopeInfo::HasContext() {
375 String* ScopeInfo::FunctionName() {
381 String* ScopeInfo::ParameterName(int var) {
388 String* ScopeInfo::LocalName(int var) {
397 String* ScopeInfo::StackLocalName(int var) {
404 int ScopeInfo::StackLocalIndex(int var) {
411 String* ScopeInfo::ContextLocalName(int var) {
418 VariableMode ScopeInfo::ContextLocalMode(int var) {
426 InitializationFlag ScopeInfo::ContextLocalInitFlag(int var) {
434 MaybeAssignedFlag ScopeInfo::ContextLocalMaybeAssignedFlag(int var) {
441 bool ScopeInfo::VariableIsSynthetic(String* name) {
442 // There's currently no flag stored on the ScopeInfo to indicate that a
451 int ScopeInfo::StackSlotIndex(String* name) {
467 int ScopeInfo::ContextSlotIndex(Handle<ScopeInfo> scope_info,
509 int ScopeInfo::ContextGlobalSlotIndex(Handle<ScopeInfo> scope_info,
541 String* ScopeInfo::ContextSlotName(int slot_index) {
549 int ScopeInfo::ParameterIndex(String* name) {
569 int ScopeInfo::ReceiverContextSlotIndex() {
576 int ScopeInfo::FunctionContextSlotIndex(String* name, VariableMode* mode) {
590 FunctionKind ScopeInfo::function_kind() {
595 int ScopeInfo::ParameterEntriesIndex() {
601 int ScopeInfo::StackLocalFirstSlotIndex() {
606 int ScopeInfo::StackLocalEntriesIndex() {
611 int ScopeInfo::ContextLocalNameEntriesIndex() {
616 int ScopeInfo::ContextGlobalNameEntriesIndex() {
621 int ScopeInfo::ContextLocalInfoEntriesIndex() {
626 int ScopeInfo::ContextGlobalInfoEntriesIndex() {
631 int ScopeInfo::ReceiverEntryIndex() {
636 int ScopeInfo::FunctionNameEntryIndex() {
722 ScopeInfo* scope_info) {
737 void ScopeInfo::Print() {
738 PrintF("ScopeInfo ");