class
Untyper[Universe <: Singleton with Universe] extends AnyRef
Instance Constructors
-
new
Untyper(universe: Universe)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (Untyper[Universe], B)
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
defDefinitionSymbol(implicit tpe: Universe.Type): PartialFunction[Universe.TermSymbol, (Universe.TermName, Seq[Universe.Symbol], Seq[Seq[Universe.Symbol]], Universe.Type)]
-
def
definition(implicit tpe: Universe.Type): PartialFunction[Universe.Symbol, Universe.Tree]
-
def
ensuring(cond: (Untyper[Universe]) ⇒ Boolean, msg: ⇒ Any): Untyper[Universe]
-
def
ensuring(cond: (Untyper[Universe]) ⇒ Boolean): Untyper[Universe]
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Untyper[Universe]
-
def
ensuring(cond: Boolean): Untyper[Universe]
-
-
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
preprocess(tpe: Universe.Type): Universe.Type
-
def
singletonValue: PartialFunction[Universe.Type, Universe.Tree]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
termDefinition(implicit tpe: Universe.Type): PartialFunction[Universe.Symbol, Universe.Tree]
-
def
termDefinitionOption(symbol: Universe.Symbol)(implicit tpe: Universe.Type): Option[Universe.Tree]
-
def
termSymbol: PartialFunction[Universe.Symbol, Universe.TermSymbol]
-
def
toString(): String
-
def
typeDefinition(implicit tpe: Universe.Type): PartialFunction[Universe.TypeSymbol, Universe.TypeDef]
-
def
typeDefinitionSymbol(implicit tpe: Universe.Type): PartialFunction[Universe.TypeSymbol, (Universe.TypeName, Seq[Universe.Symbol], Universe.Type)]
-
def
typeSymbol: PartialFunction[Universe.Symbol, Universe.TypeSymbol]
-
val
universe: Universe
-
def
untype: PartialFunction[Universe.Type, Universe.Tree]
-
def
untypeOption: (Universe.Type) ⇒ Option[Universe.Tree]
-
def
valDefinitionSymbol(implicit tpe: Universe.Type): PartialFunction[Universe.TermSymbol, (Universe.TermName, Universe.Type)]
-
def
varDefinitionSymbol(implicit tpe: Universe.Type): PartialFunction[Universe.TermSymbol, (Universe.TermName, Universe.Type)]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (Untyper[Universe], B)
Inherited by implicit conversion any2stringadd from
Untyper[Universe] to any2stringadd[Untyper[Universe]]
Inherited by implicit conversion StringFormat from
Untyper[Universe] to StringFormat[Untyper[Universe]]
Inherited by implicit conversion Ensuring from
Untyper[Universe] to Ensuring[Untyper[Universe]]
Inherited by implicit conversion ArrowAssoc from
Untyper[Universe] to ArrowAssoc[Untyper[Universe]]
A utility to convert Type to Tree.
Author:
杨博 (Yang Bo) <[email protected]>
The primary intent of Untyper class is for some macro libraries in this feature.scala project, although it may be also useful for other projects.