16 TokenPosition::kNoSource, TokenPosition::kNoSource,
a, dynamic_type);
18 TokenPosition::kNoSource, TokenPosition::kNoSource,
a, dynamic_type);
21 TokenPosition::kNoSource, TokenPosition::kNoSource,
b, dynamic_type);
24 TokenPosition::kNoSource, TokenPosition::kNoSource, c, dynamic_type);
31 EXPECT_EQ(outer_scope, inner_scope1->
parent());
32 EXPECT_EQ(outer_scope, inner_scope2->
parent());
33 EXPECT_EQ(inner_scope2, outer_scope->
child());
34 EXPECT_EQ(inner_scope1, inner_scope2->
sibling());
106 (inner_scope1->
VariableAt(1) == inner_var_a));
LocalScope * parent() const
LocalScope * sibling() const
LocalVariable * VariableAt(intptr_t index) const
intptr_t num_variables() const
LocalVariable * LookupVariable(const String &name, intptr_t kernel_offset, bool test_only)
bool AddVariable(LocalVariable *variable)
LocalScope * child() const
LocalVariable * LocalLookupVariable(const String &name, intptr_t kernel_offset) const
static constexpr intptr_t kNoKernelOffset
static Object & ZoneHandle()
static StringPtr New(Thread *thread, const char *cstr)
static TypePtr DynamicType()
ISOLATE_UNIT_TEST_CASE(StackAllocatedDestruction)