Home
last modified time | relevance | path

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

/external/v8/src/parsing/
Dpreparser.cc295 Scope* body_scope = NewScope(scope_, BLOCK_SCOPE); in ParseScopedStatement()
466 Scope* block_scope = NewScope(scope_, BLOCK_SCOPE); in ParseBlock()
796 Scope* cases_scope = NewScope(scope_, BLOCK_SCOPE); in ParseSwitchStatement()
857 Scope* for_scope = NewScope(scope_, BLOCK_SCOPE); in ParseForStatement()
948 Scope* body_scope = NewScope(scope_, BLOCK_SCOPE); in ParseForStatement()
964 if (has_lexical) inner_scope = NewScope(for_scope, BLOCK_SCOPE); in ParseForStatement()
1042 Scope* block_scope = NewScope(scope_, BLOCK_SCOPE); in ParseTryStatement()
1219 Scope* scope = NewScope(scope_, BLOCK_SCOPE); in ParseClassLiteral()
Dparser.cc2281 Scope* block_scope = NewScope(scope_, BLOCK_SCOPE); in ParseBlock()
2906 Scope* cases_scope = NewScope(scope_, BLOCK_SCOPE); in ParseSwitchStatement()
3012 Scope* block_scope = NewScope(scope_, BLOCK_SCOPE); in ParseTryStatement()
3559 Scope* body_scope = NewScope(scope_, BLOCK_SCOPE); in ParseScopedStatement()
3579 Scope* for_scope = NewScope(scope_, BLOCK_SCOPE); in ParseForStatement()
3683 Scope* body_scope = NewScope(scope_, BLOCK_SCOPE); in ParseForStatement()
3845 inner_scope = NewScope(for_scope, BLOCK_SCOPE); in ParseForStatement()
4611 param_scope = NewScope(scope_, BLOCK_SCOPE); in BuildParameterInitializationBlock()
4723 inner_scope = NewScope(scope_, BLOCK_SCOPE); in ParseEagerFunctionBody()
4913 Scope* block_scope = NewScope(scope_, BLOCK_SCOPE); in ParseClassLiteral()
Dpreparser.h1247 if (!parameters.is_simple) inner_scope = NewScope(scope_, BLOCK_SCOPE); in ParseEagerFunctionBody()
/external/v8/test/cctest/
Dtest-parsing.cc1214 " ", "{ let block; }", " more;", i::BLOCK_SCOPE, i::STRICT }, in TEST()
1216 " ", "{ let block; }", "; more;", i::BLOCK_SCOPE, i::STRICT }, in TEST()
1221 " more;", i::BLOCK_SCOPE, i::STRICT }, in TEST()
1238 i::BLOCK_SCOPE, i::STRICT }, in TEST()
1240 i::BLOCK_SCOPE, i::STRICT }, in TEST()
1244 " more;", i::BLOCK_SCOPE, i::STRICT }, in TEST()
1246 i::BLOCK_SCOPE, i::STRICT }, in TEST()
1248 " more;", i::BLOCK_SCOPE, i::STRICT }, in TEST()
1251 " more;", i::BLOCK_SCOPE, i::STRICT }, in TEST()
1253 i::BLOCK_SCOPE, i::STRICT }, in TEST()
[all …]
/external/v8/src/debug/
Ddebug-scopes.cc233 case BLOCK_SCOPE: in Type()
691 DCHECK(scope_info->scope_type() == BLOCK_SCOPE || in SetInnerScopeVariableValue()
/external/v8/src/ast/
Dscopes.h327 bool is_block_scope() const { return scope_type_ == BLOCK_SCOPE; } in is_block_scope()
Dscopes.cc245 Scope(zone, current_scope, BLOCK_SCOPE, Handle<ScopeInfo>(scope_info), in DeserializeScopeChain()
838 case BLOCK_SCOPE: return is_declaration_scope ? "varblock" : "block"; in Header()
Dscopeinfo.cc316 (scope_type() == BLOCK_SCOPE && CallsSloppyEval() && in ContextLength()
/external/v8/src/
Dglobals.h846 BLOCK_SCOPE, // The scope introduced by a new block. enumerator