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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/string_validator.dart

Issue 99303004: Remove unused API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 7 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 side-by-side diff with in-line comments
Download patch
Index: dart/sdk/lib/_internal/compiler/implementation/string_validator.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/string_validator.dart b/dart/sdk/lib/_internal/compiler/implementation/string_validator.dart
index 98ad8fab7730b0e841683b383f80d8401eb2e72f..ea96105dfa4598a4588a0268d9c5e6035cd62e25 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/string_validator.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/string_validator.dart
@@ -18,18 +18,6 @@ class StringValidator {
StringValidator(this.listener);
- DartString validateQuotedString(Token token) {
- String source = token.value;
- StringQuoting quoting = quotingFromString(source);
- int leftQuote = quoting.leftQuoteLength;
- int rightQuote = quoting.rightQuoteLength;
- String content = copyWithoutQuotes(source, leftQuote, rightQuote);
- return validateString(token,
- token.charOffset + leftQuote,
- content,
- quoting);
- }
-
DartString validateInterpolationPart(Token token, StringQuoting quoting,
{bool isFirst: false,
bool isLast: false}) {

Powered by Google App Engine
This is Rietveld 408576698