summaryrefslogtreecommitdiff
path: root/src/scaladoc/scala/tools/nsc/doc/doclet
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-03-14 08:44:12 +0100
committerFelix Mulder <felix.mulder@gmail.com>2016-03-14 10:45:31 +0100
commitc70292627c50adbbd5c4118a01a34bd7c23ba6b6 (patch)
tree8ee79961bf88179c340b3f18fdd374cea2887903 /src/scaladoc/scala/tools/nsc/doc/doclet
parentac8c6e8f3a8f33d5987fc1fa320b3def5373a504 (diff)
downloadscala-c70292627c50adbbd5c4118a01a34bd7c23ba6b6.tar.gz
scala-c70292627c50adbbd5c4118a01a34bd7c23ba6b6.tar.bz2
scala-c70292627c50adbbd5c4118a01a34bd7c23ba6b6.zip
Remove unused classes from Scaladoc
Several elements of the old Scaladoc are not in use anymore. To help with any reverting, the removal of these is done in a single commit (this one). The removal includes: - Old `Index`, the old top "index.html" - The letter index (with "_" and "deprecated") - The old `Template` which is superceded by `Entity`
Diffstat (limited to 'src/scaladoc/scala/tools/nsc/doc/doclet')
-rw-r--r--src/scaladoc/scala/tools/nsc/doc/doclet/Generator.scala1
-rw-r--r--src/scaladoc/scala/tools/nsc/doc/doclet/Indexer.scala21
2 files changed, 0 insertions, 22 deletions
diff --git a/src/scaladoc/scala/tools/nsc/doc/doclet/Generator.scala b/src/scaladoc/scala/tools/nsc/doc/doclet/Generator.scala
index 42b56aa927..b4ede6d358 100644
--- a/src/scaladoc/scala/tools/nsc/doc/doclet/Generator.scala
+++ b/src/scaladoc/scala/tools/nsc/doc/doclet/Generator.scala
@@ -9,7 +9,6 @@ import scala.collection._
* to configure what data is actually available to the generator:
* - A `Universer` provides a `Universe` data structure representing the interfaces and comments of the documented
* program.
- * - An `Indexer` provides precalculated indexing information about a universe.
* To implement this class only requires defining method `generateImpl`. */
abstract class Generator {
diff --git a/src/scaladoc/scala/tools/nsc/doc/doclet/Indexer.scala b/src/scaladoc/scala/tools/nsc/doc/doclet/Indexer.scala
deleted file mode 100644
index 12fee69cca..0000000000
--- a/src/scaladoc/scala/tools/nsc/doc/doclet/Indexer.scala
+++ /dev/null
@@ -1,21 +0,0 @@
-package scala.tools.nsc
-package doc
-package doclet
-
-/** A `Generator` may implement the `Indexer` trait to gain access to pre-calculated indexing information */
-trait Indexer extends Generator with Universer {
-
- protected var indexField: Index = null
-
- def index: Index = indexField
-
- def setIndex(i: Index) {
- assert(indexField == null)
- indexField = i
- }
-
- checks += { () =>
- indexField != null
- }
-
-}