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

Side by Side Diff: frog/type.dart

Issue 9284030: cleanup from r3556 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge again Created 8 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « frog/tests/frog/frog.status ('k') | frog/value.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
None
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 class Type extends Element { 5 class Type extends Element {
6 bool isTested = false; 6 bool isTested = false;
7 bool isChecked = false; 7 bool isChecked = false;
8 bool isWritten = false; 8 bool isWritten = false;
9 9
10 /** 10 /**
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 (nativeType != null && nativeType.isConstructorHidden); 82 (nativeType != null && nativeType.isConstructorHidden);
83 bool get isSingletonNative() => 83 bool get isSingletonNative() =>
84 (nativeType != null && nativeType.isSingleton); 84 (nativeType != null && nativeType.isSingleton);
85 bool get isJsGlobalObject() => 85 bool get isJsGlobalObject() =>
86 (nativeType != null && nativeType.isJsGlobalObject); 86 (nativeType != null && nativeType.isJsGlobalObject);
87 87
88 bool get hasTypeParams() => false; 88 bool get hasTypeParams() => false;
89 89
90 String get typeofName() => null; 90 String get typeofName() => null;
91 91
92 String get fullname() =>
93 library.name !== null ? '${library.name}.$name' : name;
94
92 Map<String, Member> get members() => null; 95 Map<String, Member> get members() => null;
93 Definition get definition() => null; 96 Definition get definition() => null;
94 FactoryMap get factories() => null; 97 FactoryMap get factories() => null;
95 98
96 List<Type> get typeArgsInOrder() => const []; 99 List<Type> get typeArgsInOrder() => const [];
97 DefinedType get genericType() => this; 100 DefinedType get genericType() => this;
98 101
99 /** Indicates a concrete version of a generic type, such as List<String>. */ 102 /** Indicates a concrete version of a generic type, such as List<String>. */
100 bool get isConcreteGeneric() => genericType != this; 103 bool get isConcreteGeneric() => genericType != this;
101 104
(...skipping 1041 matching lines...) Expand 10 before | Expand all | Expand 10 after
1143 } 1146 }
1144 if (!typeArg.isVar) allVar = false; 1147 if (!typeArg.isVar) allVar = false;
1145 1148
1146 var paramName = typeParameters[i].name; 1149 var paramName = typeParameters[i].name;
1147 typeMap[paramName] = typeArg; 1150 typeMap[paramName] = typeArg;
1148 names.add(typeArg.name); 1151 names.add(typeArg.name);
1149 jsnames.add(typeArg.jsname); 1152 jsnames.add(typeArg.jsname);
1150 } 1153 }
1151 1154
1152 // If all type args are var or effectively var, just return this 1155 // If all type args are var or effectively var, just return this

error: old chunk mismatch

OLDNEW
« no previous file with comments | « frog/tests/frog/frog.status ('k') | frog/value.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698