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

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

Issue 1377523007: dart2js: Don't use "void" as field. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of js_backend; 5 part of js_backend;
6 6
7 /** 7 /**
8 * Assigns JavaScript identifiers to Dart variables, class-names and members. 8 * Assigns JavaScript identifiers to Dart variables, class-names and members.
9 * 9 *
10 * Names are generated through three stages: 10 * Names are generated through three stages:
(...skipping 1373 matching lines...) Expand 10 before | Expand all | Expand 10 after
1384 String get operatorIsPrefix => r'$is'; 1384 String get operatorIsPrefix => r'$is';
1385 1385
1386 String get operatorAsPrefix => r'$as'; 1386 String get operatorAsPrefix => r'$as';
1387 1387
1388 String get operatorSignature => r'$signature'; 1388 String get operatorSignature => r'$signature';
1389 1389
1390 String get typedefTag => r'typedef'; 1390 String get typedefTag => r'typedef';
1391 1391
1392 String get functionTypeTag => r'func'; 1392 String get functionTypeTag => r'func';
1393 1393
1394 String get functionTypeVoidReturnTag => r'void'; 1394 String get functionTypeVoidReturnTag => r'v';
1395 1395
1396 String get functionTypeReturnTypeTag => r'ret'; 1396 String get functionTypeReturnTypeTag => r'ret';
1397 1397
1398 String get functionTypeRequiredParametersTag => r'args'; 1398 String get functionTypeRequiredParametersTag => r'args';
1399 1399
1400 String get functionTypeOptionalParametersTag => r'opt'; 1400 String get functionTypeOptionalParametersTag => r'opt';
1401 1401
1402 String get functionTypeNamedParametersTag => r'named'; 1402 String get functionTypeNamedParametersTag => r'named';
1403 1403
1404 Map<FunctionType, jsAst.Name> functionTypeNameMap = 1404 Map<FunctionType, jsAst.Name> functionTypeNameMap =
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
1993 } 1993 }
1994 } 1994 }
1995 } 1995 }
1996 } 1996 }
1997 1997
1998 enum NamingScope { 1998 enum NamingScope {
1999 global, 1999 global,
2000 instance, 2000 instance,
2001 constant 2001 constant
2002 } 2002 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698