Home
last modified time | relevance | path

Searched refs:scope_ (Results 1 – 25 of 37) sorted by relevance

12

/external/v8/src/
Dparser.cc863 DCHECK(scope_ == NULL); in DoParseProgram()
868 *scope = NewScope(scope_, GLOBAL_SCOPE); in DoParseProgram()
898 FunctionState function_state(&function_state_, &scope_, *scope, zone(), in DoParseProgram()
901 scope_->SetStrictMode(info->strict_mode()); in DoParseProgram()
913 CheckConflictingVarDeclarations(scope_, &ok); in DoParseProgram()
928 ast_value_factory()->empty_string(), ast_value_factory(), scope_, in DoParseProgram()
988 DCHECK(scope_ == NULL); in ParseLazy()
1004 Scope* scope = NewScope(scope_, GLOBAL_SCOPE); in ParseLazy()
1011 FunctionState function_state(&function_state_, &scope_, scope, zone(), in ParseLazy()
1102 if (is_eval && !scope_->is_eval_scope()) { in ParseSourceElements()
[all …]
Dvariables.cc39 : scope_(scope), in Variable()
63 && scope_ != NULL && scope_->is_global_scope(); in IsGlobalObjectProperty()
Dpreparser.cc125 PreParserScope top_scope(scope_, GLOBAL_SCOPE); in PreParseLazyFunction()
126 FunctionState top_state(&function_state_, &scope_, &top_scope, NULL, in PreParseLazyFunction()
128 scope_->SetStrictMode(strict_mode); in PreParseLazyFunction()
129 PreParserScope function_scope(scope_, FUNCTION_SCOPE); in PreParseLazyFunction()
130 FunctionState function_state(&function_state_, &scope_, &function_scope, NULL, in PreParseLazyFunction()
142 if (scope_->strict_mode() == STRICT) { in PreParseLazyFunction()
216 scope_->SetStrictMode(STRICT); in ParseSourceElements()
614 PreParserScope with_scope(scope_, WITH_SCOPE); in ParseWithStatement()
615 BlockState block_state(&scope_, &with_scope); in ParseWithStatement()
788 PreParserScope with_scope(scope_, WITH_SCOPE); in ParseTryStatement()
[all …]
Dfull-codegen.cc587 DCHECK(scope_->is_global_scope()); in AllocateModules()
690 if (scope_->num_modules() != 0) { in VisitDeclarations()
694 DCHECK(scope_->is_global_scope()); in VisitDeclarations()
696 isolate()->factory()->NewFixedArray(scope_->num_modules(), TENURED); in VisitDeclarations()
706 if (scope_->num_modules() != 0) { in VisitDeclarations()
731 scope_ = block->scope(); in VisitModuleLiteral()
732 Interface* interface = scope_->interface(); in VisitModuleLiteral()
750 VisitDeclarations(scope_->declarations()); in VisitModuleLiteral()
755 ModuleInfo::Create(isolate(), interface, scope_); in VisitModuleLiteral()
758 scope_ = saved_scope; in VisitModuleLiteral()
[all …]
Dpreparser.h77 scope_(NULL), in ParserBase()
152 scope_(scope) { in BlockState()
153 *scope_stack_ = scope_; in BlockState()
160 typename Traits::Type::Scope* scope_; variable
440 StrictMode strict_mode() { return scope_->strict_mode(); } in strict_mode()
577 typename Traits::Type::Scope* scope_; // Scope stack. variable
1429 PreParserScope scope(scope_, GLOBAL_SCOPE); in PreParseProgram()
1430 FunctionState top_scope(&function_state_, &scope_, &scope); in PreParseProgram()
1437 } else if (scope_->strict_mode() == STRICT) { in PreParseProgram()
1771 result = this->ThisExpression(scope_, factory()); in ParsePrimaryExpression()
[all …]
Dvariables.h69 Scope* scope() const { return scope_; } in scope()
139 Scope* scope_;
Dast.h467 Scope* scope() const { return scope_; } in scope()
468 void set_scope(Scope* scope) { scope_ = scope; } in set_scope()
477 scope_(NULL) {} in Block()
483 Scope* scope_; variable
491 Scope* scope() const { return scope_; } in scope()
504 scope_(scope) { in Declaration()
513 Scope* scope_; variable
1101 Scope* scope() { return scope_; } in DECLARE_NODE_TYPE()
1110 scope_(scope), in WithStatement()
1115 Scope* scope_;
[all …]
Dparser.h692 bool inside_with() const { return scope_->inside_with(); } in inside_with()
698 ? scope_ : scope_->DeclarationScope(); in DeclarationScope()
Dfull-codegen.h67 scope_(info->scope()), in FullCodeGenerator()
604 Scope* scope() { return scope_; } in scope()
827 Scope* scope_; variable
Dcompiler.h106 Scope* scope() const { return scope_; } in scope()
440 Scope* scope_; variable
Dhydrogen.h1049 scope_(info->scope()), in HGraphBuilder()
1054 Scope* scope() const { return scope_; } in scope()
1055 void set_scope(Scope* scope) { scope_ = scope; } in set_scope()
1925 Scope* scope_; variable
2058 scope_(scope), in target_()
2067 Scope* scope() { return scope_; } in scope()
2074 Scope* scope_; variable
/external/protobuf/src/google/protobuf/compiler/java/
Djava_extension.cc54 scope_ = name_resolver_->GetImmutableClassName( in ImmutableExtensionGenerator()
57 scope_ = name_resolver_->GetImmutableClassName(descriptor_->file()); in ImmutableExtensionGenerator()
115 InitTemplateVars(descriptor_, scope_, kUseImmutableNames, name_resolver_, in Generate()
200 "scope", scope_, in GenerateRegistrationCode()
Djava_extension.h98 string scope_; variable
/external/v8/test/cctest/compiler/
Dtest-codegen-deopt.cc43 : scope_(scope), in DeoptCodegenTester()
55 graph = new (scope_->main_zone()) Graph(scope_->main_zone()); in DeoptCodegenTester()
67 Linkage* linkage = new (scope_->main_zone()) Linkage(&info); in GenerateCodeFromSchedule()
97 Zone* zone() { return scope_->main_zone(); } in zone()
99 HandleAndZoneScope* scope_; member in DeoptCodegenTester
/external/v8/src/heap/
Dgc-tracer.h113 Scope(GCTracer* tracer, ScopeId scope) : tracer_(tracer), scope_(scope) { in Scope()
118 DCHECK(scope_ < NUMBER_OF_SCOPES); // scope_ is unsigned. in ~Scope()
119 tracer_->current_.scopes[scope_] += in ~Scope()
125 ScopeId scope_; variable
/external/v8/src/x64/
Dlithium-codegen-x64.h33 scope_(info->scope()), in LCodeGen()
124 Scope* scope() const { return scope_; } in scope()
327 Scope* const scope_; variable
/external/v8/src/arm/
Dlithium-codegen-arm.h32 scope_(info->scope()), in LCodeGen()
149 Scope* scope() const { return scope_; } in scope()
338 Scope* const scope_; variable
/external/v8/src/ia32/
Dlithium-codegen-ia32.h34 scope_(info->scope()), in LCodeGen()
131 Scope* scope() const { return scope_; } in scope()
338 Scope* const scope_; variable
/external/v8/src/compiler/
Dast-graph-builder.h403 scope_(scope) { in ContextScope()
414 Scope* scope() const { return scope_; } in scope()
420 Scope* scope_; variable
/external/v8/src/mips64/
Dlithium-codegen-mips64.h31 scope_(info->scope()), in LCodeGen()
149 Scope* scope() const { return scope_; } in scope()
371 Scope* const scope_; variable
/external/v8/src/mips/
Dlithium-codegen-mips.h31 scope_(info->scope()), in LCodeGen()
148 Scope* scope() const { return scope_; } in scope()
370 Scope* const scope_; variable
/external/v8/src/arm64/
Dlithium-codegen-arm64.h33 scope_(info->scope()), in LCodeGen()
51 Scope* scope() const { return scope_; } in scope()
356 Scope* const scope_; variable
/external/v8/src/x87/
Dlithium-codegen-x87.h35 scope_(info->scope()), in LCodeGen()
165 Scope* scope() const { return scope_; } in scope()
372 Scope* const scope_; variable
/external/v8/test/cctest/
Dtest-log.cc66 scope_(isolate_), in ScopedLoggerInitializer()
109 v8::HandleScope scope_; member in __anondb08c4f50111::ScopedLoggerInitializer
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DDefineGrammarItemsWalker.g497 atom[GrammarAST scope_]
500 grammar.altReferencesRule( currentRuleName, $scope_, $rr, this.outerAltNum );
516 grammar.altReferencesRule( currentRuleName, $scope_, $t, this.outerAltNum );

12