Lines Matching refs:Context

33 Handle<Context> ScriptContextTable::GetContext(Handle<ScriptContextTable> table,  in GetContext()
36 return Handle<Context>::cast(FixedArray::get(table, i + kFirstContextSlot)); in GetContext()
41 Context* Context::cast(Object* context) { in cast()
43 return reinterpret_cast<Context*>(context); in cast()
47 JSFunction* Context::closure() { return JSFunction::cast(get(CLOSURE_INDEX)); } in closure()
48 void Context::set_closure(JSFunction* closure) { set(CLOSURE_INDEX, closure); } in set_closure()
51 Context* Context::previous() { in previous()
54 return reinterpret_cast<Context*>(result); in previous()
56 void Context::set_previous(Context* context) { set(PREVIOUS_INDEX, context); } in set_previous()
59 bool Context::has_extension() { return !extension()->IsTheHole(); } in has_extension()
60 HeapObject* Context::extension() { in extension()
63 void Context::set_extension(HeapObject* object) { in set_extension()
68 JSModule* Context::module() { return JSModule::cast(get(EXTENSION_INDEX)); } in module()
69 void Context::set_module(JSModule* module) { set(EXTENSION_INDEX, module); } in set_module()
72 Context* Context::native_context() { in native_context()
75 return reinterpret_cast<Context*>(result); in native_context()
79 void Context::set_native_context(Context* context) { in set_native_context()
84 bool Context::IsNativeContext() { in IsNativeContext()
90 bool Context::IsFunctionContext() { in IsFunctionContext()
96 bool Context::IsCatchContext() { in IsCatchContext()
102 bool Context::IsWithContext() { in IsWithContext()
108 bool Context::IsBlockContext() { in IsBlockContext()
114 bool Context::IsModuleContext() { in IsModuleContext()
120 bool Context::IsScriptContext() { in IsScriptContext()
126 bool Context::HasSameSecurityTokenAs(Context* that) { in HasSameSecurityTokenAs()
133 void Context::set_##name(type* value) { \
137 bool Context::is_##name(type* value) { \
141 type* Context::name() { \