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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/tree/nodes.dart

Issue 99303004: Remove unused API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/tree/nodes.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/tree/nodes.dart b/dart/sdk/lib/_internal/compiler/implementation/tree/nodes.dart
index ac32e1628528fe393bc24f58141fb5b0c11ff516..5095e02ecc465f596a1ce4c5daceaa5bd8ebfed3 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/tree/nodes.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/tree/nodes.dart
@@ -597,10 +597,6 @@ class If extends Statement {
bool get hasElsePart => elsePart != null;
- void validate() {
- // TODO(ahe): Check that condition has size one.
- }
-
accept(Visitor visitor) => visitor.visitIf(this);
visitChildren(Visitor visitor) {
@@ -918,7 +914,6 @@ class LiteralString extends StringNode {
void visitChildren(Visitor visitor) {}
bool get isInterpolation => false;
- bool isValidated() => dartString != null;
Token getBeginToken() => token;
Token getEndToken() => token;
@@ -1725,8 +1720,6 @@ class LabeledStatement extends Statement {
Token getEndToken() => statement.getEndToken();
bool isValidContinueTarget() => statement.isValidContinueTarget();
-
- Node getBody() => statement;
}
abstract class LibraryTag extends Node {

Powered by Google App Engine
This is Rietveld 408576698