Packages

  • package root

    The Scala compiler and reflection APIs.

    The Scala compiler and reflection APIs.

    Definition Classes
    root
  • package scala
    Definition Classes
    root
  • package tools
    Definition Classes
    scala
  • package nsc
    Definition Classes
    tools
  • package tasty
    Definition Classes
    nsc
  • package bridge
    Definition Classes
    tasty
  • 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.

    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.

    Definition Classes
    bridge
  • Context
  • FreshContext
  • InitialContext

final class FreshContext extends TastyUniverse.Context

Source
ContextOps.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FreshContext
  2. Context
  3. AnyRef
  4. 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

Instance Constructors

  1. new FreshContext(owner: TastyUniverse.Symbol, outer: TastyUniverse.Context, mode: TastyMode)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def !==(u: TastyUniverse.FreshContext): Boolean
    Implicit
    This member is added by an implicit conversion from TastyUniverse.FreshContext toSafeEq[TastyUniverse.FreshContext] 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 TastyUniverse.FreshContext toany2stringadd[TastyUniverse.FreshContext] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. def ->[B](y: B): (TastyUniverse.FreshContext, B)
    Implicit
    This member is added by an implicit conversion from TastyUniverse.FreshContext toArrowAssoc[TastyUniverse.FreshContext] 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: TastyUniverse.FreshContext): Boolean
    Implicit
    This member is added by an implicit conversion from TastyUniverse.FreshContext toSafeEq[TastyUniverse.FreshContext] performed by method SafeEq in scala.tools.nsc.tasty.
    Definition Classes
    SafeEq
    Annotations
    @inline()
  8. final def addFlags(symbol: TastyUniverse.Symbol, flags: TastyFlagSet): symbol.type
    Definition Classes
    Context
  9. final def addMode(mode: TastyMode): TastyUniverse.Context
    Definition Classes
    Context
  10. def adjustAnnotations(sym: TastyUniverse.Symbol, annots: List[TastyUniverse.DeferredAnnotation]): Unit

    Associates the annotations with the symbol, and will force their evaluation if not reading statements.

    Associates the annotations with the symbol, and will force their evaluation if not reading statements.

    Definition Classes
    Context
  11. final def adjustParents(cls: TastyUniverse.Symbol, parents: List[TastyUniverse.Type]): List[TastyUniverse.Type]

    Normalises the parents and sets up value class machinery

    Normalises the parents and sets up value class machinery

    Definition Classes
    Context
  12. final def adjustSymbol(symbol: TastyUniverse.Symbol, info: TastyUniverse.Type, privateWithin: TastyUniverse.Symbol): symbol.type
    Definition Classes
    Context
  13. final def adjustSymbol(symbol: TastyUniverse.Symbol, flags: TastyFlagSet, info: TastyUniverse.Type, privateWithin: TastyUniverse.Symbol): symbol.type
    Definition Classes
    Context
  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. def atSource(source: AbstractFile): FreshContext.this.type
  16. def canEnterOverload(decl: TastyUniverse.Symbol): Boolean
    Definition Classes
    Context
  17. final lazy val classRoot: TastyUniverse.Symbol
    Definition Classes
    Context
  18. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  19. final def delayClassCompletion(owner: TastyUniverse.Symbol, typeName: TypeName, completer: TastyUniverse.TastyCompleter, privateWithin: TastyUniverse.Symbol): TastyUniverse.Symbol

    Guards the creation of an object class by checking for an existing definition in the owner's scope

    Guards the creation of an object class by checking for an existing definition in the owner's scope

    Definition Classes
    Context
  20. final def delayCompletion(owner: TastyUniverse.Symbol, name: TastyName, completer: TastyUniverse.TastyCompleter, privateWithin: TastyUniverse.Symbol = noSymbol): TastyUniverse.Symbol

    Guards the creation of an object val by checking for an existing definition in the owner's scope

    Guards the creation of an object val by checking for an existing definition in the owner's scope

    Definition Classes
    Context
  21. def ensuring(cond: (TastyUniverse.FreshContext) => Boolean, msg: => Any): TastyUniverse.FreshContext
    Implicit
    This member is added by an implicit conversion from TastyUniverse.FreshContext toEnsuring[TastyUniverse.FreshContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: (TastyUniverse.FreshContext) => Boolean): TastyUniverse.FreshContext
    Implicit
    This member is added by an implicit conversion from TastyUniverse.FreshContext toEnsuring[TastyUniverse.FreshContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. def ensuring(cond: Boolean, msg: => Any): TastyUniverse.FreshContext
    Implicit
    This member is added by an implicit conversion from TastyUniverse.FreshContext toEnsuring[TastyUniverse.FreshContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. def ensuring(cond: Boolean): TastyUniverse.FreshContext
    Implicit
    This member is added by an implicit conversion from TastyUniverse.FreshContext toEnsuring[TastyUniverse.FreshContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. final def enterClassCompletion(): TastyUniverse.Symbol
    Definition Classes
    Context
  26. final def enterIfUnseen(sym: TastyUniverse.Symbol): Unit
    Definition Classes
    Context
  27. final def enterIfUnseen0(decls: TastyCore.SymbolTable.Scope, decl: TastyUniverse.Symbol): Unit
    Attributes
    protected
    Definition Classes
    Context
  28. final def enterRefinement[T](parent: TastyUniverse.Type)(op: (TastyUniverse.Context) => T): T

    Determines the owner of a refinement in the current context by the following steps: 1) if the owner if this context is a refinement symbol, we are in a recursive RefinedType.

    Determines the owner of a refinement in the current context by the following steps: 1) if the owner if this context is a refinement symbol, we are in a recursive RefinedType. Ensure that the context owner is initialised with the parent and reuse it. 2) if the parent is also a RefinedType, then we will flatten the nested structure by reusing its owner 3) the parent is not a RefinedType, and we are not in an enclosing RefinedType, so create a new RefinementClassSymbol. The Parent alongside the RefinedType owner are passed to the given operation

    Definition Classes
    Context
  29. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  31. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  32. final def findOuterClassTypeParameter(name: TypeName): TastyUniverse.Symbol
    Definition Classes
    Context
  33. final def findRootSymbol(roots: Set[TastyUniverse.Symbol], name: TastyName): Option[TastyUniverse.Symbol]
    Definition Classes
    Context
  34. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from TastyUniverse.FreshContext toStringFormat[TastyUniverse.FreshContext] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  35. final def fresh: TastyUniverse.FreshContext
    Definition Classes
    Context
  36. final def freshMode(mode: TastyMode): TastyUniverse.FreshContext
    Definition Classes
    Context
  37. final def freshSymbol(owner: TastyUniverse.Symbol): TastyUniverse.FreshContext
    Definition Classes
    Context
  38. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  39. final def globallyVisibleOwner: TastyUniverse.Symbol
    Definition Classes
    Context
  40. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  41. final def ignoreAnnotations: Boolean
    Definition Classes
    Context
  42. implicit final def implyThisCtx: FreshContext.this.type
    Attributes
    protected
    Definition Classes
    Context
  43. final def initialContext: TastyUniverse.InitialContext
    Definition Classes
    Context
    Annotations
    @tailrec()
  44. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  45. final def log(str: => String): Unit
    Definition Classes
    Context
  46. final def markAsEnumSingleton(sym: TastyUniverse.Symbol): Unit
    Definition Classes
    Context
  47. final def markAsOpaqueType(sym: TastyUniverse.Symbol, alias: TastyUniverse.Type): Unit
    Definition Classes
    Context
  48. val mode: TastyMode
    Definition Classes
    FreshContextContext
  49. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  50. def neverEntered(decl: TastyUniverse.Symbol): Boolean
    Definition Classes
    Context
  51. final def newLocalDummy: TastyUniverse.Symbol
    Definition Classes
    Context
  52. final def newRefinementClassSymbol: TastyUniverse.Symbol
    Definition Classes
    Context
  53. final def newRefinementSymbol(parent: TastyUniverse.Type, owner: TastyUniverse.Symbol, name: TastyName, tpe: TastyUniverse.Type): TastyUniverse.Symbol
    Definition Classes
    Context
  54. final def newWildcardSym(info: TastyUniverse.Type): TastyUniverse.Symbol
    Definition Classes
    Context
  55. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  56. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  57. final def onCompletionError[T](sym: TastyUniverse.Symbol): PartialFunction[Throwable, T]
    Definition Classes
    Context
  58. val outer: TastyUniverse.Context
  59. val owner: TastyUniverse.Symbol
    Definition Classes
    FreshContextContext
  60. final def removeFlags(symbol: TastyUniverse.Symbol, flags: TastyFlagSet): symbol.type
    Definition Classes
    Context
  61. final def requiredPackage(fullname: TastyName): TastyUniverse.Symbol
    Definition Classes
    Context
  62. def requiresLatentEntry(decl: TastyUniverse.Symbol): Boolean
    Definition Classes
    Context
  63. final def retractMode(mode: TastyMode): TastyUniverse.Context
    Definition Classes
    Context
  64. final def setInfo(sym: TastyUniverse.Symbol, info: TastyUniverse.Type): Unit
    Definition Classes
    Context
  65. def source: AbstractFile
    Definition Classes
    FreshContextContext
  66. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  67. def toString(): String
    Definition Classes
    AnyRef → Any
  68. final def unsafeNewClassSymbol(owner: TastyUniverse.Symbol, typeName: TypeName, flags: TastyFlagSet, info: TastyUniverse.Type, privateWithin: TastyUniverse.Symbol): TastyUniverse.Symbol

    Unsafe to call for creation of a object class, prefer delayClassCompletion if info is a LazyType

    Unsafe to call for creation of a object class, prefer delayClassCompletion if info is a LazyType

    Definition Classes
    Context
  69. final def unsafeNewSymbol(owner: TastyUniverse.Symbol, name: TastyName, flags: TastyFlagSet, info: TastyUniverse.Type, privateWithin: TastyUniverse.Symbol = noSymbol): TastyUniverse.Symbol

    Unsafe to call for creation of a object val, prefer delayCompletion if info is a LazyType

    Unsafe to call for creation of a object val, prefer delayCompletion if info is a LazyType

    Definition Classes
    Context
  70. final def verboseDebug: Boolean
    Definition Classes
    Context
  71. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  72. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  73. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  74. final def withMode(mode: TastyMode): TastyUniverse.Context
    Definition Classes
    Context
  75. final def withNewScope: TastyUniverse.Context
    Definition Classes
    Context
  76. final def withOwner(owner: TastyUniverse.Symbol): TastyUniverse.Context
    Definition Classes
    Context
  77. final def withPhaseNoLater[T](phase: String)(op: (TastyUniverse.Context) => T): T
    Definition Classes
    Context
  78. final def withSource(source: AbstractFile): TastyUniverse.Context
    Definition Classes
    Context

Deprecated Value Members

  1. def [B](y: B): (TastyUniverse.FreshContext, B)
    Implicit
    This member is added by an implicit conversion from TastyUniverse.FreshContext toArrowAssoc[TastyUniverse.FreshContext] 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 TastyUniverse.Context

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion SafeEq fromTastyUniverse.FreshContext to SafeEq[TastyUniverse.FreshContext]

Inherited by implicit conversion any2stringadd fromTastyUniverse.FreshContext to any2stringadd[TastyUniverse.FreshContext]

Inherited by implicit conversion StringFormat fromTastyUniverse.FreshContext to StringFormat[TastyUniverse.FreshContext]

Inherited by implicit conversion Ensuring fromTastyUniverse.FreshContext to Ensuring[TastyUniverse.FreshContext]

Inherited by implicit conversion ArrowAssoc fromTastyUniverse.FreshContext to ArrowAssoc[TastyUniverse.FreshContext]

Ungrouped