|
Scala example source code file (Universer.scala)
The Universer.scala Scala example source code
package scala.tools.nsc
package doc
package doclet
/** A `Generator` may implement the `Universer` trait to gain access to a model of the documented program */
trait Universer extends Generator {
protected var universeField: Universe = null
def universe: Universe = universeField
def setUniverse(u: Universe) {
assert(universeField == null)
universeField = u
}
checks += { () =>
universeField != null
}
}
Other Scala source code examplesHere is a short list of links related to this Scala Universer.scala source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.