Lines Matching refs:stmt
263 for (auto *stmt : decl->Body()->Body()) {
264 if (!stmt->IsClassProperty()) {
268 ResolveReference(stmt);
271 ResolvePropertyReference(stmt->AsClassProperty(), decl->Scope()->AsClassScope())
272 ->FindLocal(stmt->AsClassProperty()->Id()->Name(), varbinder::ResolveBindingOptions::BINDINGS);
276 for (auto *stmt : decl->Body()->Body()) {
277 if (stmt->IsClassProperty()) {
280 ResolveReference(stmt);
371 for (auto *stmt : classDef->Body()) {
372 if (!stmt->IsClassProperty()) {
376 auto fieldScope = ResolvePropertyReference(stmt->AsClassProperty(), classDef->Scope()->AsClassScope());
377 auto fieldName = stmt->AsClassProperty()->Id()->Name();
381 stmt->AsClassProperty()->Value() == nullptr) {
386 for (auto *stmt : classDef->Body()) {
387 if (stmt->IsClassProperty()) {
390 ResolveReference(stmt);
1009 const auto etsGlobal = std::find_if(stmts.begin(), stmts.end(), [](const ir::Statement *stmt) {
1010 return stmt->IsClassDeclaration() &&
1011 stmt->AsClassDeclaration()->Definition()->Ident()->Name().Is(compiler::Signatures::ETS_GLOBAL);
1014 const auto begin = std::find_if(stmts.rbegin(), stmts.rend(), [](const ir::Statement *stmt) {
1015 return stmt->IsETSImportDeclaration() || stmt->IsETSPackageDeclaration();
1022 for (auto *stmt : stmts) {
1023 ResolveReference(stmt);