Set<String?> findReadVarNames(List<Statement> stmts) { var finder = _VariableReadFinder(); finder.visitAllStatements(stmts, null); return finder.varNames; }