Home
last modified time | relevance | path

Searched refs:is_declaration_scope (Results 1 – 9 of 9) sorted by relevance

/external/v8/src/ast/
Dscopes.cc411 if (scope_info->is_declaration_scope()) { in DeserializeScopeChain()
446 DCHECK(is_declaration_scope()); in AsDeclarationScope()
451 DCHECK(is_declaration_scope()); in AsDeclarationScope()
466 return is_declaration_scope() ? AsDeclarationScope()->num_parameters() : 0; in num_parameters()
647 DCHECK(is_declaration_scope()); in DeclareThis()
748 (is_declaration_scope() && calls_sloppy_eval())) { in FinalizeBlockScope()
1016 if (mode == VAR && !is_declaration_scope()) { in DeclareVariable()
1023 DCHECK(is_declaration_scope() || in DeclareVariable()
1129 if (mode == VAR && !is_declaration_scope()) { in DeclareVariableName()
1138 DCHECK(is_declaration_scope() || (IsLexicalVariableMode(mode) && in DeclareVariableName()
[all …]
Dscopes.h322 bool is_declaration_scope() const { return is_declaration_scope_; } in NON_EXPORTED_BASE()
/external/v8/src/objects/
Dscope-info.cc95 if (scope->is_declaration_scope() && in Create()
111 scope->is_declaration_scope() && in Create()
156 if (scope->is_declaration_scope()) { in Create()
165 DeclarationScopeField::encode(scope->is_declaration_scope()) | in Create()
184 if (scope->is_declaration_scope()) { in Create()
416 bool ScopeInfo::is_declaration_scope() { in is_declaration_scope() function in v8::internal::ScopeInfo
439 is_declaration_scope()) || in ContextLength()
Dscope-info.h47 bool is_declaration_scope();
/external/v8/src/parsing/
Dparameter-initializer-rewriter.cc104 DCHECK(param_scope->is_declaration_scope()); in ReparentParameterExpressionScope()
Dpattern-rewriter.cc334 DCHECK(scope()->is_declaration_scope()); in DeclaresParameterContainingSloppyEval()
Dparser.cc2000 while (catch_scope != nullptr && !catch_scope->is_declaration_scope()) { in DesugarBindingInForEachStatement()
3318 DCHECK(inner_scope->is_declaration_scope()); in InsertShadowingVarBindingInitializers()
3778 DCHECK(scope()->is_declaration_scope()); in SetAsmModule()
Dparser-base.h3844 (!scope()->is_declaration_scope() || scope()->is_module_scope()) ? LET in ParseHoistableDeclaration()
3852 is_sloppy(language_mode()) && !scope()->is_declaration_scope() && in ParseHoistableDeclaration()
/external/v8/src/
Dcontexts.cc70 ScopeInfo::cast(ext)->is_declaration_scope(); in is_declaration_context()