Searched refs:top_scope_ (Results 1 – 4 of 4) sorted by relevance
476 outer_scope_(parser->top_scope_) { in BlockState()477 parser->top_scope_ = scope; in BlockState()480 ~BlockState() { parser_->top_scope_ = outer_scope_; } in ~BlockState()497 outer_scope_(parser->top_scope_), in FunctionState()500 parser->top_scope_ = scope; in FunctionState()507 parser_->top_scope_ = outer_scope_; in ~FunctionState()545 top_scope_(NULL), in Parser()615 ASSERT(top_scope_ == NULL); in DoParseProgram()622 { Scope* scope = NewScope(top_scope_, GLOBAL_SCOPE); in DoParseProgram()650 top_scope_->SetLanguageMode(info->language_mode()); in DoParseProgram()[all …]
555 bool inside_with() const { return top_scope_->inside_with(); } in inside_with()560 ASSERT(top_scope_ != NULL); in is_extended_mode()561 return top_scope_->is_extended_mode(); in is_extended_mode()565 ? top_scope_ : top_scope_->DeclarationScope(); in DeclarationScope()767 Scope* top_scope_; variable
472 outer_scope_(parser->top_scope_) { in BlockState()473 parser->top_scope_ = scope; in BlockState()476 ~BlockState() { parser_->top_scope_ = outer_scope_; } in ~BlockState()494 outer_scope_(parser->top_scope_), in FunctionState()497 parser->top_scope_ = scope; in FunctionState()504 parser_->top_scope_ = outer_scope_; in ~FunctionState()544 top_scope_(NULL), in Parser()594 ASSERT(top_scope_ == NULL); in DoParseProgram()605 { Scope* scope = NewScope(top_scope_, GLOBAL_SCOPE); in DoParseProgram()619 top_scope_->SetLanguageMode(info->language_mode()); in DoParseProgram()[all …]
562 bool inside_with() const { return top_scope_->inside_with(); } in inside_with()567 ASSERT(top_scope_ != NULL); in is_extended_mode()568 return top_scope_->is_extended_mode(); in is_extended_mode()572 ? top_scope_ : top_scope_->DeclarationScope(); in DeclarationScope()819 Scope* top_scope_; variable