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

Side by Side Diff: pkg/compiler/lib/src/js_backend/frequency_namer.dart

Issue 1198293002: dart2js: Use an abstract Name class for names in the generated JavaScript ast. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix new emitter. Created 5 years, 6 months 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) 2011, the Dart project authors. Please see the AUTHORS file
floitsch 2015/06/22 17:43:44 2015
herhut 2015/06/23 13:26:30 Done.
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 part of js_backend;
6
7 class FrequencyNamer extends Namer {
8
9 FrequencyNamer(Compiler compiler) : super(compiler);
floitsch 2015/06/22 17:43:44 indentation.
herhut 2015/06/23 13:26:30 Done.
10
11 jsAst.Name getFreshName(String proposedName,
12 Set<String> usedNames,
13 Map<String, String> suggestedNames,
14 {bool sanitizeForNatives: false,
15 bool sanitizeForAnnotations: false}) {
16 return null;
17 }
18 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698