final class InitialContext extends TastyUniverse.Context
- Alphabetic
- By Inheritance
- InitialContext
- Context
- AnyRef
- Any
- by SafeEq
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new InitialContext(topLevelClass: TastyUniverse.Symbol, source: AbstractFile)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def !==(u: TastyUniverse.InitialContext): Boolean
- Implicit
- This member is added by an implicit conversion from TastyUniverse.InitialContext toSafeEq[TastyUniverse.InitialContext] performed by method SafeEq in scala.tools.nsc.tasty.
- Definition Classes
- SafeEq
- Annotations
- @inline()
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from TastyUniverse.InitialContext toany2stringadd[TastyUniverse.InitialContext] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (TastyUniverse.InitialContext, B)
- Implicit
- This member is added by an implicit conversion from TastyUniverse.InitialContext toArrowAssoc[TastyUniverse.InitialContext] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ===(u: TastyUniverse.InitialContext): Boolean
- Implicit
- This member is added by an implicit conversion from TastyUniverse.InitialContext toSafeEq[TastyUniverse.InitialContext] performed by method SafeEq in scala.tools.nsc.tasty.
- Definition Classes
- SafeEq
- Annotations
- @inline()
- final def addFlags(symbol: TastyUniverse.Symbol, flags: TastyFlagSet): symbol.type
- Definition Classes
- Context
- final def addMode(mode: TastyMode): TastyUniverse.Context
- Definition Classes
- Context
- 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
- 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
- final def adjustSymbol(symbol: TastyUniverse.Symbol, info: TastyUniverse.Type, privateWithin: TastyUniverse.Symbol): symbol.type
- Definition Classes
- Context
- final def adjustSymbol(symbol: TastyUniverse.Symbol, flags: TastyFlagSet, info: TastyUniverse.Type, privateWithin: TastyUniverse.Symbol): symbol.type
- Definition Classes
- Context
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEnterOverload(decl: TastyUniverse.Symbol): Boolean
- Definition Classes
- Context
- final lazy val classRoot: TastyUniverse.Symbol
- Definition Classes
- Context
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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
- 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
- def ensuring(cond: (TastyUniverse.InitialContext) => Boolean, msg: => Any): TastyUniverse.InitialContext
- Implicit
- This member is added by an implicit conversion from TastyUniverse.InitialContext toEnsuring[TastyUniverse.InitialContext] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (TastyUniverse.InitialContext) => Boolean): TastyUniverse.InitialContext
- Implicit
- This member is added by an implicit conversion from TastyUniverse.InitialContext toEnsuring[TastyUniverse.InitialContext] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): TastyUniverse.InitialContext
- Implicit
- This member is added by an implicit conversion from TastyUniverse.InitialContext toEnsuring[TastyUniverse.InitialContext] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): TastyUniverse.InitialContext
- Implicit
- This member is added by an implicit conversion from TastyUniverse.InitialContext toEnsuring[TastyUniverse.InitialContext] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def enterClassCompletion(): TastyUniverse.Symbol
- Definition Classes
- Context
- final def enterIfUnseen(sym: TastyUniverse.Symbol): Unit
- Definition Classes
- Context
- final def enterIfUnseen0(decls: TastyCore.SymbolTable.Scope, decl: TastyUniverse.Symbol): Unit
- Attributes
- protected
- Definition Classes
- Context
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def findOuterClassTypeParameter(name: TypeName): TastyUniverse.Symbol
- Definition Classes
- Context
- final def findRootSymbol(roots: Set[TastyUniverse.Symbol], name: TastyName): Option[TastyUniverse.Symbol]
- Definition Classes
- Context
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from TastyUniverse.InitialContext toStringFormat[TastyUniverse.InitialContext] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def fresh: TastyUniverse.FreshContext
- Definition Classes
- Context
- final def freshMode(mode: TastyMode): TastyUniverse.FreshContext
- Definition Classes
- Context
- final def freshSymbol(owner: TastyUniverse.Symbol): TastyUniverse.FreshContext
- Definition Classes
- Context
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def globallyVisibleOwner: TastyUniverse.Symbol
- Definition Classes
- Context
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def ignoreAnnotations: Boolean
- Definition Classes
- Context
- implicit final def implyThisCtx: InitialContext.this.type
- Attributes
- protected
- Definition Classes
- Context
- final def initialContext: TastyUniverse.InitialContext
- Definition Classes
- Context
- Annotations
- @tailrec()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def log(str: => String): Unit
- Definition Classes
- Context
- final def markAsEnumSingleton(sym: TastyUniverse.Symbol): Unit
- Definition Classes
- Context
- def mode: TastyMode
- Definition Classes
- InitialContext → Context
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def neverEntered(decl: TastyUniverse.Symbol): Boolean
- Definition Classes
- Context
- final def newLocalDummy: TastyUniverse.Symbol
- Definition Classes
- Context
- final def newRefinementClassSymbol: TastyUniverse.Symbol
- Definition Classes
- Context
- final def newRefinementSymbol(parent: TastyUniverse.Type, owner: TastyUniverse.Symbol, name: TastyName, tpe: TastyUniverse.Type): TastyUniverse.Symbol
- Definition Classes
- Context
- final def newWildcardSym(info: TastyUniverse.Type): TastyUniverse.Symbol
- Definition Classes
- Context
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def onCompletionError[T](sym: TastyUniverse.Symbol): PartialFunction[Throwable, T]
- Definition Classes
- Context
- def owner: TastyUniverse.Symbol
- Definition Classes
- InitialContext → Context
- final def removeFlags(symbol: TastyUniverse.Symbol, flags: TastyFlagSet): symbol.type
- Definition Classes
- Context
- final def requiredPackage(fullname: TastyName): TastyUniverse.Symbol
- Definition Classes
- Context
- def requiresLatentEntry(decl: TastyUniverse.Symbol): Boolean
- Definition Classes
- Context
- final def retractMode(mode: TastyMode): TastyUniverse.Context
- Definition Classes
- Context
- final def setInfo(sym: TastyUniverse.Symbol, info: TastyUniverse.Type): Unit
- Definition Classes
- Context
- val source: AbstractFile
- Definition Classes
- InitialContext → Context
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val topLevelClass: TastyUniverse.Symbol
- 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 LazyTypeUnsafe to call for creation of a object class, prefer
delayClassCompletion
if info is a LazyType- Definition Classes
- Context
- 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 LazyTypeUnsafe to call for creation of a object val, prefer
delayCompletion
if info is a LazyType- Definition Classes
- Context
- final def verboseDebug: Boolean
- Definition Classes
- Context
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def withMode(mode: TastyMode): TastyUniverse.Context
- Definition Classes
- Context
- final def withNewScope: TastyUniverse.Context
- Definition Classes
- Context
- final def withOwner(owner: TastyUniverse.Symbol): TastyUniverse.Context
- Definition Classes
- Context
- final def withPhaseNoLater[T](phase: String)(op: (TastyUniverse.Context) => T): T
- Definition Classes
- Context
- final def withSource(source: AbstractFile): TastyUniverse.Context
- Definition Classes
- Context
Deprecated Value Members
- def →[B](y: B): (TastyUniverse.InitialContext, B)
- Implicit
- This member is added by an implicit conversion from TastyUniverse.InitialContext toArrowAssoc[TastyUniverse.InitialContext] 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.
The Scala compiler and reflection APIs.