Lines Matching refs:NewScope
192 Scope* function_scope = NewScope(scope, FUNCTION_SCOPE, kind); in DefaultConstructor()
915 Scope* scope = NewScope(scope_, SCRIPT_SCOPE); in DoParseProgram()
932 scope = NewScope(scope, EVAL_SCOPE); in DoParseProgram()
934 scope = NewScope(scope, MODULE_SCOPE); in DoParseProgram()
1076 Scope* scope = NewScope(scope_, SCRIPT_SCOPE); in ParseLazy()
1106 NewScope(scope_, FUNCTION_SCOPE, FunctionKind::kArrowFunction); in ParseLazy()
2281 Scope* block_scope = NewScope(scope_, BLOCK_SCOPE); in ParseBlock()
2819 Scope* with_scope = NewScope(scope_, WITH_SCOPE); in ParseWithStatement()
2906 Scope* cases_scope = NewScope(scope_, BLOCK_SCOPE); in ParseSwitchStatement()
2998 catch_scope = NewScope(scope_, CATCH_SCOPE); in ParseTryStatement()
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()
4183 Scope* scope = NewScope(scope_, FUNCTION_SCOPE, kind); in ParseFunctionLiteral()
4611 param_scope = NewScope(scope_, BLOCK_SCOPE); in BuildParameterInitializationBlock()
4649 Scope* catch_scope = NewScope(scope_, CATCH_SCOPE); in BuildRejectPromiseOnException()
4723 inner_scope = NewScope(scope_, BLOCK_SCOPE); in ParseEagerFunctionBody()
4913 Scope* block_scope = NewScope(scope_, BLOCK_SCOPE); in ParseClassLiteral()
6363 Scope* catch_scope = NewScope(scope, CATCH_SCOPE); in RewriteYieldStar()
6662 Scope* catch_scope = parser_->NewScope(scope, CATCH_SCOPE); in FinalizeIteratorUse()
6774 Scope* catch_scope = NewScope(scope, CATCH_SCOPE); in BuildIteratorCloseForCompletion()