Index: dart/compiler/java/com/google/dart/compiler/ast/DartTypedLiteral.java |
diff --git a/dart/compiler/java/com/google/dart/compiler/ast/DartTypedLiteral.java b/dart/compiler/java/com/google/dart/compiler/ast/DartTypedLiteral.java |
deleted file mode 100644 |
index 28015cd8228ccb0d6ca5fccfff2ad363809bdf9d..0000000000000000000000000000000000000000 |
--- a/dart/compiler/java/com/google/dart/compiler/ast/DartTypedLiteral.java |
+++ /dev/null |
@@ -1,37 +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 com.google.dart.compiler.type.InterfaceType; |
- |
-import java.util.List; |
- |
-public abstract class DartTypedLiteral extends DartExpression { |
- private final boolean isConst; |
- private final NodeList<DartTypeNode> typeArguments = NodeList.create(this); |
- |
- DartTypedLiteral(boolean isConst, List<DartTypeNode> typeArguments) { |
- this.isConst = isConst; |
- this.typeArguments.addAll(typeArguments); |
- } |
- |
- public boolean isConst() { |
- return isConst; |
- } |
- |
- public List<DartTypeNode> getTypeArguments() { |
- return typeArguments; |
- } |
- |
- @Override |
- public InterfaceType getType() { |
- return (InterfaceType) super.getType(); |
- } |
- |
- @Override |
- public void visitChildren(ASTVisitor<?> visitor) { |
- typeArguments.accept(visitor); |
- } |
-} |