OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:global_scope
(Results
1 - 2
of
2
) sorted by null
/external/v8/src/
scopes.cc
166
ASSERT((type ==
GLOBAL_SCOPE
|| type == EVAL_SCOPE) == (outer_scope == NULL));
349
Scope*
global_scope
= NULL;
local
350
if (is_global_scope())
global_scope
= this;
351
ResolveVariablesRecursively(
global_scope
, context);
402
case Scope::
GLOBAL_SCOPE
: return "global";
612
void Scope::ResolveVariable(Scope*
global_scope
,
615
ASSERT(
global_scope
== NULL ||
global_scope
->is_global_scope());
649
ASSERT(
global_scope
!= NULL);
650
var =
global_scope
->DeclareGlobal(proxy->name())
[
all
...]
scopes.h
93
GLOBAL_SCOPE
// the top-level scope for a program or a top-level eval
192
bool is_global_scope() const { return type_ ==
GLOBAL_SCOPE
; }
356
void ResolveVariable(Scope*
global_scope
,
359
void ResolveVariablesRecursively(Scope*
global_scope
,
384
DummyScope() : Scope(
GLOBAL_SCOPE
) {
Completed in 776 milliseconds