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

Unified Diff: dart/compiler/java/com/google/dart/compiler/ast/DartSwitchStatement.java

Issue 20722006: Removed compiler/ directory from repository (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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
Index: dart/compiler/java/com/google/dart/compiler/ast/DartSwitchStatement.java
diff --git a/dart/compiler/java/com/google/dart/compiler/ast/DartSwitchStatement.java b/dart/compiler/java/com/google/dart/compiler/ast/DartSwitchStatement.java
deleted file mode 100644
index 985ec00d4748d7b73b7eafbcd345e2e5a2acf2b1..0000000000000000000000000000000000000000
--- a/dart/compiler/java/com/google/dart/compiler/ast/DartSwitchStatement.java
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-package com.google.dart.compiler.ast;
-
-import java.util.List;
-
-/**
- * Represents a Dart 'switch' statement.
- */
-public class DartSwitchStatement extends DartStatement {
-
- private DartExpression expression;
- private final NodeList<DartSwitchMember> members = NodeList.create(this);
-
- public DartSwitchStatement(DartExpression expression, List<DartSwitchMember> members) {
- this.expression = becomeParentOf(expression);
- this.members.addAll(members);
- }
-
- public DartExpression getExpression() {
- return expression;
- }
-
- public List<DartSwitchMember> getMembers() {
- return members;
- }
-
- @Override
- public void visitChildren(ASTVisitor<?> visitor) {
- safelyVisitChild(expression, visitor);
- members.accept(visitor);
- }
-
- @Override
- public <R> R accept(ASTVisitor<R> visitor) {
- return visitor.visitSwitchStatement(this);
- }
-}

Powered by Google App Engine
This is Rietveld 408576698