Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(384)

Side by Side Diff: pkg/kernel/lib/transformations/closure/clone_without_body.dart

Issue 2561723003: Merge kernel closure conversion into the Dart SDK (Closed)
Patch Set: Remove path constraint Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 library kernel.transformations.closure.converter;
6
7 import '../../ast.dart' show DartType, FunctionNode, TreeNode, TypeParameter;
8
9 import '../../clone.dart' show CloneVisitor;
10
11 class CloneWithoutBody extends CloneVisitor {
12 CloneWithoutBody({Map<TypeParameter, DartType> typeSubstitution})
13 : super(typeSubstitution: typeSubstitution);
14
15 @override
16 TreeNode cloneFunctionNodeBody(FunctionNode node) => null;
17 }
OLDNEW
« no previous file with comments | « pkg/kernel/lib/transformations/async.dart ('k') | pkg/kernel/lib/transformations/closure/context.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698