case class LazyContext(anonClass: scala.reflect.macros.Universe.TypeName, defs: Map[scala.reflect.macros.Universe.TermName, scala.reflect.macros.Universe.Tree], entrypoint: scala.reflect.macros.Universe.Tree) extends Product with Serializable
A representation of all the relevant information of a Lazy-generated tree.
- anonClass
the name of the anonymous class containing lazy value definitions
- defs
a map from lazy value names to their definition
- entrypoint
the tree serving as entrypoint to a lazy implicit
- Alphabetic
- By Inheritance
- LazyContext
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
LazyContext(anonClass: scala.reflect.macros.Universe.TypeName, defs: Map[scala.reflect.macros.Universe.TermName, scala.reflect.macros.Universe.Tree], entrypoint: scala.reflect.macros.Universe.Tree)
- anonClass
the name of the anonymous class containing lazy value definitions
- defs
a map from lazy value names to their definition
- entrypoint
the tree serving as entrypoint to a lazy implicit
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
- val anonClass: scala.reflect.macros.Universe.TypeName
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val defs: Map[scala.reflect.macros.Universe.TermName, scala.reflect.macros.Universe.Tree]
- val entrypoint: scala.reflect.macros.Universe.Tree
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
followRef(tree: scala.reflect.macros.Universe.Tree): Option[(LazyContext, scala.reflect.macros.Universe.Tree)]
Checks if a
Treeis a reference to a lazy value generated byLazy.Checks if a
Treeis a reference to a lazy value generated byLazy. If it is a valid reference, it returns aTreewith the corresponding definition and a newLazyContextto be used in inner searches. The newLazyContextdoes not have the followed reference in order to prevent infinite loops when searching (the original use case forLazy).- tree
the tree to be checked
- returns
if
treeis a reference to aLazy-generated value, aSomewith the respective definition and a newLazyContext;Noneotherwise.
-
final
def
getClass(): Class[_]
- 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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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()