trait CompileProgress extends AnyRef
An API for reporting when files are being compiled.
This design is tied to the Scala compiler but it is used by the Java compiler too, check the docs of the methods.
- Alphabetic
- By Inheritance
- CompileProgress
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
advance(current: Int, total: Int, prevPhase: String, nextPhase: String): Boolean
Advance the progress of the current unit.
Advance the progress of the current unit.
- current
The current progress.
- total
The total of the progress that has to be achieved.
- prevPhase
The name of the previous phase.
- nextPhase
The name of the next phase.
- returns
Whether the user has cancelled compilation or not.
-
def
afterEarlyOutput(success: Boolean): Unit
Called when early output is created mid-compilation, or was ready to be created but needed to bail out because macros were found.
Called when early output is created mid-compilation, or was ready to be created but needed to bail out because macros were found.
- success
True if output is written; false otherwise.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
startUnit(phase: String, unitPath: String): Unit
Start the progress of a concrete phase for the path of a given compilation unit.
Start the progress of a concrete phase for the path of a given compilation unit.
- phase
The phase of the compiler being run.
- unitPath
The path of the compilation unit. It will be empty when a Java compiler is reporting the progress.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()