Index: dart/compiler/java/com/google/dart/compiler/resolver/LabelElementImplementation.java |
diff --git a/dart/compiler/java/com/google/dart/compiler/resolver/LabelElementImplementation.java b/dart/compiler/java/com/google/dart/compiler/resolver/LabelElementImplementation.java |
deleted file mode 100644 |
index f61c03db82ef8c31aa411e79ef02505368125bec..0000000000000000000000000000000000000000 |
--- a/dart/compiler/java/com/google/dart/compiler/resolver/LabelElementImplementation.java |
+++ /dev/null |
@@ -1,35 +0,0 @@ |
-// Copyright (c) 2011, 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.resolver; |
- |
-import com.google.dart.compiler.ast.DartLabel; |
- |
-class LabelElementImplementation extends AbstractNodeElement implements LabelElement { |
- |
- private MethodElement enclosingFunction; |
- private final LabeledStatementType statementType; |
- |
- LabelElementImplementation(DartLabel node, String name, MethodElement enclosingFunction, |
- LabeledStatementType statementType) { |
- super(node, name); |
- this.enclosingFunction = enclosingFunction; |
- this.statementType = statementType; |
- } |
- |
- @Override |
- public ElementKind getKind() { |
- return ElementKind.LABEL; |
- } |
- |
- @Override |
- public MethodElement getEnclosingFunction() { |
- return enclosingFunction; |
- } |
- |
- @Override |
- public LabeledStatementType getStatementType() { |
- return statementType; |
- } |
-} |