blob: c54c28f9aa1d7ab86cd4ed6c5209391994e024c4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2002-2011, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
package scala
/** Classes and traits inheriting the `DelayedInit` marker trait
* will have their initialization code rewritten as follows:
* `code` becomes `delayedInit(code)`
*
* Initialization code comprises all statements and all value definitions
* that are executed during initialization.
*/
trait DelayedInit {
def delayedInit(x: => Unit): Unit
}
|