All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.tools.nsc.doc.doclet.Indexer.scala Maven / Gradle / Ivy

The newest version!
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
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy