class FastTrack[MacrosAndAnalyzer <: Macros with Analyzer] extends AnyRef
Optimizes system macro expansions by hardwiring them directly to their implementations bypassing standard reflective load and invoke to avoid the overhead of Java/Scala reflection.
- Source
- FastTrack.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- FastTrack
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new FastTrack(macros: MacrosAndAnalyzer)
Type Members
- final class FastTrackEntry extends (MacrosAndAnalyzer.MacroArgs) ⇒ Any
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (FastTrack[MacrosAndAnalyzer], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(symbol: nsc.Global.Symbol): FastTrackEntry
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def contains(symbol: nsc.Global.Symbol): Boolean
- def ensuring(cond: (FastTrack[MacrosAndAnalyzer]) ⇒ Boolean, msg: ⇒ Any): FastTrack[MacrosAndAnalyzer]
- def ensuring(cond: (FastTrack[MacrosAndAnalyzer]) ⇒ Boolean): FastTrack[MacrosAndAnalyzer]
- def ensuring(cond: Boolean, msg: ⇒ Any): FastTrack[MacrosAndAnalyzer]
- def ensuring(cond: Boolean): FastTrack[MacrosAndAnalyzer]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
- def get(symbol: nsc.Global.Symbol): Option[FastTrackEntry]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val macros: MacrosAndAnalyzer
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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( ... )
- def →[B](y: B): (FastTrack[MacrosAndAnalyzer], B)
The Scala compiler API.
The following resources are useful for Scala plugin/compiler development: