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

Unified Diff: pkg/analyzer/lib/src/generated/element.dart

Issue 681003002: Replace ${name} with $name where possible. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Clean up also implementation Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/generated/constant.dart ('k') | pkg/analyzer/lib/src/generated/engine.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/element.dart
diff --git a/pkg/analyzer/lib/src/generated/element.dart b/pkg/analyzer/lib/src/generated/element.dart
index 04a697ff6e73cf994c25ac673570b6eef00fad13..b900c6495dcdaa706779b161d072cab0254d06dc 100644
--- a/pkg/analyzer/lib/src/generated/element.dart
+++ b/pkg/analyzer/lib/src/generated/element.dart
@@ -167,7 +167,7 @@ class AngularComponentElementImpl extends AngularHasSelectorElementImpl implemen
}
@override
- String get identifier => "AngularComponent@${_annotationOffset}";
+ String get identifier => "AngularComponent@$_annotationOffset";
}
/**
@@ -271,7 +271,7 @@ class AngularDecoratorElementImpl extends AngularHasSelectorElementImpl implemen
}
@override
- String get identifier => "Decorator@${_offset}";
+ String get identifier => "Decorator@$_offset";
}
/**
@@ -731,7 +731,7 @@ class AngularViewElementImpl extends AngularElementImpl implements AngularViewEl
ElementKind get kind => ElementKind.ANGULAR_VIEW;
@override
- String get identifier => "AngularView@${templateUriOffset}";
+ String get identifier => "AngularView@$templateUriOffset";
}
/**
@@ -3378,7 +3378,7 @@ abstract class ElementImpl implements Element {
}
Source source = this.source;
if (source != null) {
- return "${shortName} (${source.fullName})";
+ return "$shortName (${source.fullName})";
}
return shortName;
}
@@ -4910,7 +4910,7 @@ class FunctionElementImpl extends ExecutableElementImpl implements FunctionEleme
String get identifier {
String identifier = super.identifier;
if (!isStatic) {
- identifier += "@${nameOffset}";
+ identifier += "@$nameOffset";
}
return identifier;
}
@@ -6401,7 +6401,7 @@ class ImportElementImpl extends UriReferencedElementImpl implements ImportElemen
}
@override
- String get identifier => "${(importedLibrary as LibraryElementImpl).identifier}@${nameOffset}";
+ String get identifier => "${(importedLibrary as LibraryElementImpl).identifier}@$nameOffset";
}
/**
@@ -7502,7 +7502,7 @@ class IsTagHasAttributeSelectorElementImpl extends AngularSelectorElementImpl {
String _attributeName;
- IsTagHasAttributeSelectorElementImpl(String tagName, String attributeName) : super("${tagName}[${attributeName}]", -1) {
+ IsTagHasAttributeSelectorElementImpl(String tagName, String attributeName) : super("$tagName[$attributeName]", -1) {
this._tagName = tagName;
this._attributeName = attributeName;
}
@@ -8345,7 +8345,7 @@ class LocalVariableElementImpl extends VariableElementImpl implements LocalVaria
}
@override
- String get identifier => "${super.identifier}@${nameOffset}";
+ String get identifier => "${super.identifier}@$nameOffset";
}
/**
@@ -9987,7 +9987,7 @@ class PropertyAccessorElementImpl extends ExecutableElementImpl implements Prope
String get identifier {
String name = displayName;
String suffix = isGetter ? "?" : "=";
- return "${name}${suffix}";
+ return "$name$suffix";
}
}
« no previous file with comments | « pkg/analyzer/lib/src/generated/constant.dart ('k') | pkg/analyzer/lib/src/generated/engine.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698