Lines Matching defs:BlockState
322 // BlockState and FunctionState implement the parser's scope stack.
323 // The parser's current scope is in scope_. BlockState and FunctionState
326 class BlockState {
328 BlockState(Scope** scope_stack, Scope* scope)
333 BlockState(Zone* zone, Scope** scope_stack)
334 : BlockState(scope_stack,
337 ~BlockState() { *scope_stack_ = outer_scope_; }
431 class FunctionState final : public BlockState {
1628 : BlockState(scope_stack, scope),
2680 std::unique_ptr<BlockState> block_state;
2683 block_state.reset(new BlockState(&scope_, object_literal_scope_));
2717 std::unique_ptr<BlockState> block_state;
2720 block_state.reset(new BlockState(&scope_, object_literal_scope_));
2770 BlockState object_literal_scope_state(&object_literal_scope_, block_scope);
4335 BlockState block_state(&scope_, inner_scope);
4580 BlockState block_state(&scope_, scope()->outer_scope());
4708 BlockState block_state(&scope_, class_scope);
4711 BlockState object_literal_scope_state(&object_literal_scope_, nullptr);
5336 BlockState block_state(&scope_, block_scope);
5376 BlockState block_state(zone(), &scope_);
5699 BlockState block_state(&scope_, with_scope);
5813 BlockState cases_block_state(zone(), &scope_);
5903 BlockState catch_block_state(&scope_, catch_info.scope);
5909 BlockState catch_variable_block_state(zone(), &scope_);
6013 BlockState for_state(zone(), &scope_);
6026 BlockState inner_state(&scope_, inner_block_scope);
6047 BlockState inner_state(&scope_, inner_block_scope);
6179 BlockState block_state(&scope_, inner_block_scope);
6261 BlockState block_state(&scope_, inner_scope);
6350 BlockState for_state(zone(), &scope_);
6380 BlockState inner_state(&scope_, inner_block_scope);
6411 BlockState inner_state(&scope_, inner_block_scope);
6438 BlockState block_state(&scope_, inner_block_scope);