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

Unified Diff: compiler/java/com/google/dart/compiler/backend/doc/LinkInformation.java

Issue 9317093: Remove DartDocumentationGenerator and related flags. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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: compiler/java/com/google/dart/compiler/backend/doc/LinkInformation.java
diff --git a/compiler/java/com/google/dart/compiler/backend/doc/LinkInformation.java b/compiler/java/com/google/dart/compiler/backend/doc/LinkInformation.java
deleted file mode 100644
index 9113a76007b36e919b90a9c6f4b711ac41205bf7..0000000000000000000000000000000000000000
--- a/compiler/java/com/google/dart/compiler/backend/doc/LinkInformation.java
+++ /dev/null
@@ -1,42 +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.backend.doc;
-
-public class LinkInformation {
- public String libName;
- public String className;
- public String elementName;
-
- public LinkInformation(String libName, String className, String elementName) {
- this.libName = libName;
- this.className = className;
- this.elementName = elementName;
- }
-
- @Override
- public boolean equals(Object other) {
- if (other instanceof LinkInformation) {
- LinkInformation otherLink = (LinkInformation) other;
- return libName.equals(otherLink.libName) &&
- className.equals(otherLink.className) &&
- elementName.equals(otherLink.elementName);
- } else {
- return false;
- }
- }
-
- @Override
- public int hashCode() {
- return elementName.hashCode();
- }
-
- public String anchorReferenceStartTag() {
- return "<a href='" + className + ".html#" + elementName + "'>";
- }
-
- public String anchorStartTag() {
- return "<a name='" + elementName + "'>";
- }
-}

Powered by Google App Engine
This is Rietveld 408576698