Packages

trait ContextOps extends AnyRef

This contains the definition for Context, along with standard error throwing capabilities with user friendly formatted errors that can change their output depending on the context mode.

Self Type
TastyUniverse
Source
ContextOps.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ContextOps
  2. AnyRef
  3. Any
Implicitly
  1. by SafeEq
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed abstract class Context extends AnyRef

    Maintains state through traversal of a TASTy file, such as the outer scope of the defintion being traversed, the traversal mode, and the root owners and source path for the TASTy file.

    Maintains state through traversal of a TASTy file, such as the outer scope of the defintion being traversed, the traversal mode, and the root owners and source path for the TASTy file. It also provides all operations for manipulation of the symbol table, such as creating/updating symbols and updating their types.

  2. final class FreshContext extends TastyUniverse.Context
  3. final class InitialContext extends TastyUniverse.Context

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def !==(u: ContextOps): Boolean
    Implicit
    This member is added by an implicit conversion from ContextOps toSafeEq[ContextOps] performed by method SafeEq in scala.tools.nsc.tasty.
    Definition Classes
    SafeEq
    Annotations
    @inline()
  3. final def ##: Int
    Definition Classes
    AnyRef → Any
  4. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ContextOps toany2stringadd[ContextOps] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. def ->[B](y: B): (ContextOps, B)
    Implicit
    This member is added by an implicit conversion from ContextOps toArrowAssoc[ContextOps] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. final def ===(u: ContextOps): Boolean
    Implicit
    This member is added by an implicit conversion from ContextOps toSafeEq[ContextOps] performed by method SafeEq in scala.tools.nsc.tasty.
    Definition Classes
    SafeEq
    Annotations
    @inline()
  8. final def abortWith[T](msg: String): T
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. final def assert(assertion: Boolean): Unit
    Annotations
    @inline()
  11. final def assert(assertion: Boolean, msg: => Any): Unit
    Annotations
    @inline()
  12. def boundsString(owner: TastyUniverse.Symbol): String
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. def ensuring(cond: (ContextOps) => Boolean, msg: => Any): ContextOps
    Implicit
    This member is added by an implicit conversion from ContextOps toEnsuring[ContextOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (ContextOps) => Boolean): ContextOps
    Implicit
    This member is added by an implicit conversion from ContextOps toEnsuring[ContextOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: => Any): ContextOps
    Implicit
    This member is added by an implicit conversion from ContextOps toEnsuring[ContextOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): ContextOps
    Implicit
    This member is added by an implicit conversion from ContextOps toEnsuring[ContextOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ContextOps toStringFormat[ContextOps] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def inIndexScopedStatsContext(op: (TastyUniverse.Context) => Unit)(implicit ctx: TastyUniverse.Context): Unit

    an aggregate of inInnerScopeContext within inIndexStatsContext

  25. def inIndexStatsContext(op: (TastyUniverse.Context) => Unit)(implicit ctx: TastyUniverse.Context): Unit

    Perform an operation within a context that has the mode IndexStats will force any collected annotations afterwards

  26. def inInnerScopeContext(op: (TastyUniverse.Context) => Unit)(implicit ctx: TastyUniverse.Context): Unit

    Perform an operation within a context that has the mode InnerScope will enter any inline methods afterwards

  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. final def location(owner: TastyUniverse.Symbol): String
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. final def typeError[T](msg: String): T
    Annotations
    @inline()
  35. final def unsupportedError[T](noun: String)(implicit ctx: TastyUniverse.Context): T
    Annotations
    @inline()
  36. final def unsupportedMessage(noun: String)(implicit ctx: TastyUniverse.Context): String
    Annotations
    @inline()
  37. final def unsupportedTermTreeError[T](noun: String)(implicit ctx: TastyUniverse.Context): T
    Annotations
    @inline()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def [B](y: B): (ContextOps, B)
    Implicit
    This member is added by an implicit conversion from ContextOps toArrowAssoc[ContextOps] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion SafeEq fromContextOps to SafeEq[ContextOps]

Inherited by implicit conversion any2stringadd fromContextOps to any2stringadd[ContextOps]

Inherited by implicit conversion StringFormat fromContextOps to StringFormat[ContextOps]

Inherited by implicit conversion Ensuring fromContextOps to Ensuring[ContextOps]

Inherited by implicit conversion ArrowAssoc fromContextOps to ArrowAssoc[ContextOps]

Ungrouped