scala.tools.selectivecps.CPSAnnotationChecker

checker

object checker extends nsc.Global.AnnotationChecker

Checks whether @cps annotations conform

Linear Supertypes
nsc.Global.AnnotationChecker, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. checker
  2. AnnotationChecker
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def adaptAnnotations(tree: nsc.Global.Tree, mode: Int, pt: nsc.Global.Type): nsc.Global.Tree

    Definition Classes
    checker → AnnotationChecker
  7. def adaptBoundsToAnnotations(bounds: List[nsc.Global.TypeBounds], tparams: List[nsc.Global.Symbol], targs: List[nsc.Global.Type]): List[nsc.Global.TypeBounds]

    Refine the bounds on type parameters to the given type arguments.

    Refine the bounds on type parameters to the given type arguments.

    Definition Classes
    checker → AnnotationChecker
  8. def adaptTypeOfReturn(tree: nsc.Global.Tree, pt: nsc.Global.Type, default: ⇒ nsc.Global.Type): nsc.Global.Type

    Returns an adapted type for a return expression if the method's result type (pt) is a CPS type.

    Returns an adapted type for a return expression if the method's result type (pt) is a CPS type. Otherwise, it returns the default type (typedReturn passes NothingClass.tpe).

    A return expression in a method that has a CPS result type is an error unless the return is in tail position. Therefore, we are making sure that only the types of return expressions are adapted which will either be removed, or lead to an error.

    Definition Classes
    checker → AnnotationChecker
  9. def addAnnotations(tree: nsc.Global.Tree, tpe: nsc.Global.Type): nsc.Global.Type

    Modify the type that has thus far been inferred for a tree.

    Modify the type that has thus far been inferred for a tree. All this should do is add annotations.

    Definition Classes
    checker → AnnotationChecker
  10. def annotationsConform(tpe1: nsc.Global.Type, tpe2: nsc.Global.Type): Boolean

    Check annotations to decide whether tpe1 <:< tpe2

    Check annotations to decide whether tpe1 <:< tpe2

    Definition Classes
    checker → AnnotationChecker
  11. def annotationsGlb(tp: nsc.Global.Type, ts: List[nsc.Global.Type]): nsc.Global.Type

    Definition Classes
    AnnotationChecker
  12. def annotationsLub(tpe: nsc.Global.Type, ts: List[nsc.Global.Type]): nsc.Global.Type

    Refine the computed least upper bound of a list of types.

    Refine the computed least upper bound of a list of types. All this should do is add annotations.

    Definition Classes
    checker → AnnotationChecker
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def canAdaptAnnotations(tree: nsc.Global.Tree, mode: Int, pt: nsc.Global.Type): Boolean

    Definition Classes
    checker → AnnotationChecker
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def emptyOrSingleList(xs: List[nsc.Global.AnnotationInfo]): collection.immutable.List[nsc.Global.AnnotationInfo]

  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. def single(xs: List[nsc.Global.AnnotationInfo]): nsc.Global.AnnotationInfo

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. def transArgList(fun: nsc.Global.Tree, args: List[nsc.Global.Tree]): List[List[nsc.Global.Tree]]

  30. def transChildrenInOrder(tree: nsc.Global.Tree, tpe: nsc.Global.Type, childTrees: List[nsc.Global.Tree], byName: List[nsc.Global.Tree]): nsc.Global.Type

  31. def transStms(stms: List[nsc.Global.Tree]): List[nsc.Global.Tree]

  32. def updateAttributesFromChildren(tpe: nsc.Global.Type, childAnnots: List[nsc.Global.AnnotationInfo], byName: List[nsc.Global.Tree]): nsc.Global.Type

  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from nsc.Global.AnnotationChecker

Inherited from AnyRef

Inherited from Any

Ungrouped