class Completer extends Tasty.TastyCompleter
A completer that captures the current position and context, which then uses the position to discover the symbol to compute the info for.
- Source
- TreeUnpickler.scala
- Alphabetic
- By Inheritance
- Completer
- TastyCompleter
- BaseTastyCompleter
- FlagAgnosticCompleter
- TastyRepr
- LazyType
- Type
- Annotatable
- TypeApiImpl
- TypeApi
- AnyRef
- Any
- by SafeEq
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Completer(isClass: Boolean, reader: TastyReader, tflags: TastyFlagSet)(implicit ctx: Tasty.Context)
Type Members
- class FilterMapForeach extends reflect.internal.SymbolTable.FilterTypeCollector
- Definition Classes
- Type
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def !==(u: Completer): Boolean
- Implicit
- This member is added by an implicit conversion from Completer toSafeEq[Completer] 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
- def ->[B](y: B): (Completer, B)
- def <:<(that: bridge.TastyCore.SymbolTable.Type): Boolean
- Definition Classes
- Type → TypeApi
- def =:=(that: bridge.TastyCore.SymbolTable.Type): Boolean
- Definition Classes
- Type → TypeApi
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ===(u: Completer): Boolean
- Implicit
- This member is added by an implicit conversion from Completer toSafeEq[Completer] performed by method SafeEq in scala.tools.nsc.tasty.
- Definition Classes
- SafeEq
- Annotations
- @inline()
- def addThrowsAnnotation(throwableSym: bridge.TastyCore.SymbolTable.Symbol): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Annotatable
- def annotations: List[bridge.TastyCore.SymbolTable.AnnotationInfo]
- Definition Classes
- Type → Annotatable
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asSeenFrom(pre: bridge.TastyCore.SymbolTable.Type, clazz: bridge.TastyCore.SymbolTable.Symbol): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type → TypeApi
- def atOwner(owner: bridge.TastyCore.SymbolTable.Symbol): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def baseClasses: List[bridge.TastyCore.SymbolTable.Symbol]
- Definition Classes
- Type → TypeApi
- def baseType(clazz: bridge.TastyCore.SymbolTable.Symbol): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type → TypeApi
- def baseTypeIndex(sym: bridge.TastyCore.SymbolTable.Symbol): Int
- Definition Classes
- Type
- def baseTypeSeq: bridge.TastyCore.SymbolTable.BaseTypeSeq
- Definition Classes
- Type
- def baseTypeSeqDepth: Depth
- Definition Classes
- Type
- def betaReduce: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def bounds: bridge.TastyCore.SymbolTable.TypeBounds
- Definition Classes
- Type
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def cloneInfo(owner: bridge.TastyCore.SymbolTable.Symbol): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def collect[T](pf: PartialFunction[bridge.TastyCore.SymbolTable.Type, T]): List[T]
- Definition Classes
- Type
- def companion: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- TypeApiImpl → TypeApi
- final def complete(sym: Tasty.Symbol): Unit
- Definition Classes
- BaseTastyCompleter → LazyType → Type
- def computeInfo(sym: Tasty.Symbol)(implicit ctx: Tasty.Context): Unit
Compute and set the info for the symbol in the given Context
Compute and set the info for the symbol in the given Context
- Definition Classes
- Completer → BaseTastyCompleter
- def computeMemberType(sym: bridge.TastyCore.SymbolTable.Symbol): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def contains(sym: bridge.TastyCore.SymbolTable.Symbol): Boolean
- Definition Classes
- Type → TypeApi
- def dealias: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type → TypeApi
- final def dealiasWiden: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- Annotations
- @tailrec()
- def dealiasWidenChain: List[bridge.TastyCore.SymbolTable.Type]
- Definition Classes
- Type
- def decl(name: bridge.TastyCore.SymbolTable.Name): bridge.TastyCore.SymbolTable.Symbol
- Definition Classes
- Type → TypeApi
- def declaration(name: bridge.TastyCore.SymbolTable.Name): bridge.TastyCore.SymbolTable.Symbol
- Definition Classes
- TypeApiImpl → TypeApi
- def declarations: bridge.TastyCore.SymbolTable.Scope
- Definition Classes
- TypeApiImpl → TypeApi
- final val decls: bridge.TastyCore.SymbolTable.Scope
- Definition Classes
- TastyCompleter → Type → TypeApi
- def deconst: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def deferredMembers: bridge.TastyCore.SymbolTable.Scope
- Definition Classes
- Type
- def directObjectString: String
- Definition Classes
- Type
- def dummyArgs: List[bridge.TastyCore.SymbolTable.Type]
- Attributes
- protected
- Definition Classes
- Type
- def ensuring(cond: (Completer) => Boolean, msg: => Any): Completer
- def ensuring(cond: (Completer) => Boolean): Completer
- def ensuring(cond: Boolean, msg: => Any): Completer
- def ensuring(cond: Boolean): Completer
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def erasure: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- TypeApiImpl → TypeApi
- def etaExpand: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type → TypeApi
- def exists(p: (bridge.TastyCore.SymbolTable.Type) => Boolean): Boolean
- Definition Classes
- Type → TypeApi
- def filterAnnotations(p: (bridge.TastyCore.SymbolTable.AnnotationInfo) => Boolean): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type → Annotatable
- final def finalResultType: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type → TypeApi
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def find(p: (bridge.TastyCore.SymbolTable.Type) => Boolean): Option[bridge.TastyCore.SymbolTable.Type]
- Definition Classes
- Type → TypeApi
- def findMember(name: bridge.TastyCore.SymbolTable.Name, excludedFlags: Long, requiredFlags: Long, stableOnly: Boolean): bridge.TastyCore.SymbolTable.Symbol
- Definition Classes
- Type
- def findMembers(excludedFlags: Long, requiredFlags: Long): bridge.TastyCore.SymbolTable.Scope
- Definition Classes
- Type
- def firstParent: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def foldOver(folder: bridge.TastyCore.SymbolTable.TypeFolder): Unit
- Definition Classes
- Type
- def forceDirectSuperclasses(): Unit
- Definition Classes
- Type
- def foreach(f: (bridge.TastyCore.SymbolTable.Type) => Unit): Unit
- Definition Classes
- Type → TypeApi
- def getAnnotation(cls: bridge.TastyCore.SymbolTable.Symbol): Option[bridge.TastyCore.SymbolTable.AnnotationInfo]
- Definition Classes
- Annotatable
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hasAnnotation(cls: bridge.TastyCore.SymbolTable.Symbol): Boolean
- Definition Classes
- Annotatable
- def hasNonPrivateMember(name: bridge.TastyCore.SymbolTable.Name): Boolean
- Definition Classes
- Type
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def implicitMembers: bridge.TastyCore.SymbolTable.Scope
- Definition Classes
- Type
- def instantiateTypeParams(formals: List[bridge.TastyCore.SymbolTable.Symbol], actuals: List[bridge.TastyCore.SymbolTable.Type]): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- final def isAny: Boolean
- Definition Classes
- Type
- def isComplete: Boolean
- Definition Classes
- LazyType → Type
- def isDependentMethodType: Boolean
- Definition Classes
- Type
- def isErroneous: Boolean
- Definition Classes
- Type
- def isError: Boolean
- Definition Classes
- Type
- def isFinalType: Boolean
- Definition Classes
- Type
- def isGround: Boolean
- Definition Classes
- Type
- def isHigherKinded: Boolean
- Definition Classes
- Type
- def isImmediatelyDependent: Boolean
- Definition Classes
- Type
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isJavaVarargsMethod: Boolean
- Definition Classes
- LazyType
- final def isNothing: Boolean
- Definition Classes
- Type
- def isShowAsInfixType: Boolean
- Definition Classes
- Type
- def isSpliceable: Boolean
- Definition Classes
- TypeApiImpl
- final def isStable: Boolean
- Definition Classes
- Type
- def isStructuralRefinement: Boolean
- Definition Classes
- Type
- def isTrivial: Boolean
- Definition Classes
- Type
- final def isVolatile: Boolean
- Definition Classes
- Type
- def isWildcard: Boolean
- Definition Classes
- Type
- def javaThrownExceptions: List[bridge.TastyCore.SymbolTable.Symbol]
- Definition Classes
- LazyType
- def kind: String
- Definition Classes
- LazyType → Type
- final def load(sym: Tasty.Symbol): Unit
- Definition Classes
- BaseTastyCompleter → Type
- def looselyMatches(that: bridge.TastyCore.SymbolTable.Type): Boolean
- Definition Classes
- Type
- def lowerBound: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def map(f: (bridge.TastyCore.SymbolTable.Type) => bridge.TastyCore.SymbolTable.Type): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type → TypeApi
- def mapOver(map: bridge.TastyCore.SymbolTable.TypeMap): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def matches(that: bridge.TastyCore.SymbolTable.Type): Boolean
- Definition Classes
- Type
- def matchesPattern(that: bridge.TastyCore.SymbolTable.Type): Boolean
- Definition Classes
- Type
- def member(name: bridge.TastyCore.SymbolTable.Name): bridge.TastyCore.SymbolTable.Symbol
- Definition Classes
- Type → TypeApi
- def memberBasedOnName(name: bridge.TastyCore.SymbolTable.Name, excludedFlags: Long): bridge.TastyCore.SymbolTable.Symbol
- Definition Classes
- Type
- def memberInfo(sym: bridge.TastyCore.SymbolTable.Symbol): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def memberType(sym: bridge.TastyCore.SymbolTable.Symbol): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def members: bridge.TastyCore.SymbolTable.Scope
- Definition Classes
- Type → TypeApi
- def membersBasedOnFlags(excludedFlags: Long, requiredFlags: Long): bridge.TastyCore.SymbolTable.Scope
- Definition Classes
- Type
- def nameAndArgsString: String
- Definition Classes
- Type
- def narrow: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonLocalMember(name: bridge.TastyCore.SymbolTable.Name): bridge.TastyCore.SymbolTable.Symbol
- Definition Classes
- Type
- def nonPrivateDecl(name: bridge.TastyCore.SymbolTable.Name): bridge.TastyCore.SymbolTable.Symbol
- Definition Classes
- Type
- def nonPrivateDecls: List[bridge.TastyCore.SymbolTable.Symbol]
- Definition Classes
- Type
- def nonPrivateMember(name: bridge.TastyCore.SymbolTable.Name): bridge.TastyCore.SymbolTable.Symbol
- Definition Classes
- Type
- def nonPrivateMemberAdmitting(name: bridge.TastyCore.SymbolTable.Name, admit: Long): bridge.TastyCore.SymbolTable.Symbol
- Definition Classes
- Type
- def nonPrivateMembers: bridge.TastyCore.SymbolTable.Scope
- Definition Classes
- Type
- def nonPrivateMembersAdmitting(admit: Long): bridge.TastyCore.SymbolTable.Scope
- Definition Classes
- Type
- def normalize: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type → TypeApi
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def objectPrefix: String
- Attributes
- protected
- Definition Classes
- Type
- final def orElse(alt: => bridge.TastyCore.SymbolTable.Type): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type → TypeApi
- Annotations
- @inline()
- def packageObject: bridge.TastyCore.SymbolTable.Symbol
- Definition Classes
- Type
- def packagePrefix: String
- Attributes
- protected
- Definition Classes
- Type
- def paramLists: List[List[bridge.TastyCore.SymbolTable.Symbol]]
- Definition Classes
- TypeApiImpl → TypeApi
- def paramSectionCount: Int
- Definition Classes
- Type
- def paramTypes: List[bridge.TastyCore.SymbolTable.Type]
- Definition Classes
- Type
- def params: List[bridge.TastyCore.SymbolTable.Symbol]
- Definition Classes
- Type
- def paramss: List[List[bridge.TastyCore.SymbolTable.Symbol]]
- Definition Classes
- Type → TypeApi
- def parents: List[bridge.TastyCore.SymbolTable.Type]
- Definition Classes
- Type
- def prefix: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def prefixChain: List[bridge.TastyCore.SymbolTable.Type]
- Definition Classes
- Type
- def prefixDirect: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def prefixString: String
- Definition Classes
- Type
- def removeAnnotation(cls: bridge.TastyCore.SymbolTable.Symbol): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Annotatable
- def resultApprox: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def resultType(actuals: List[bridge.TastyCore.SymbolTable.Type]): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def resultType: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type → TypeApi
- def safeToString: String
- Definition Classes
- LazyType → Type
- def setAnnotations(annots: List[bridge.TastyCore.SymbolTable.AnnotationInfo]): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type → Annotatable
- def skolemizeExistential: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def skolemizeExistential(owner: bridge.TastyCore.SymbolTable.Symbol, origin: AnyRef): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def skolemsExceptMethodTypeParams: List[bridge.TastyCore.SymbolTable.Symbol]
- Definition Classes
- Type
- def stat_<:<(that: bridge.TastyCore.SymbolTable.Type): Boolean
- Definition Classes
- Type
- def staticAnnotations: collection.immutable.List[bridge.TastyCore.SymbolTable.AnnotationInfo]
- Definition Classes
- Annotatable
- def subst(from: List[bridge.TastyCore.SymbolTable.Symbol], to: List[bridge.TastyCore.SymbolTable.Type]): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def substSym(from: List[bridge.TastyCore.SymbolTable.Symbol], to: List[bridge.TastyCore.SymbolTable.Symbol]): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def substThis(from: bridge.TastyCore.SymbolTable.Symbol, to: bridge.TastyCore.SymbolTable.Symbol): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def substThis(from: bridge.TastyCore.SymbolTable.Symbol, to: bridge.TastyCore.SymbolTable.Type): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def substThisAndSym(from: bridge.TastyCore.SymbolTable.Symbol, to: bridge.TastyCore.SymbolTable.Type, symsFrom: List[bridge.TastyCore.SymbolTable.Symbol], symsTo: List[bridge.TastyCore.SymbolTable.Symbol]): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def substituteSymbols(from: List[bridge.TastyCore.SymbolTable.Symbol], to: List[bridge.TastyCore.SymbolTable.Symbol]): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- TypeApiImpl → TypeApi
- def substituteTypes(from: List[bridge.TastyCore.SymbolTable.Symbol], to: List[bridge.TastyCore.SymbolTable.Type]): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- TypeApiImpl → TypeApi
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def takesTypeArgs: Boolean
- Definition Classes
- Type → TypeApi
- def termSymbol: bridge.TastyCore.SymbolTable.Symbol
- Definition Classes
- Type → TypeApi
- def termSymbolDirect: bridge.TastyCore.SymbolTable.Symbol
- Definition Classes
- Type
- final val tflags: TastyFlagSet
- Definition Classes
- BaseTastyCompleter → TastyRepr
- def toLongString: String
- Definition Classes
- Type
- final def toString(): String
- Definition Classes
- Type → AnyRef → Any
- def trimPrefix(str: String): String
- Definition Classes
- Type
- def typeArgs: List[bridge.TastyCore.SymbolTable.Type]
- Definition Classes
- Type → TypeApi
- def typeArguments: List[bridge.TastyCore.SymbolTable.Type]
- Definition Classes
- TypeApiImpl
- def typeConstructor: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type → TypeApi
- def typeOfThis: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- def typeParams: List[bridge.TastyCore.SymbolTable.Symbol]
- Definition Classes
- Type → TypeApi
- def typeSymbol: bridge.TastyCore.SymbolTable.Symbol
- Definition Classes
- Type → TypeApi
- def typeSymbolDirect: bridge.TastyCore.SymbolTable.Symbol
- Definition Classes
- Type
- def underlying: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- final def unsupportedFlags: TastyFlagSet
- Definition Classes
- TastyRepr
- def upperBound: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type
- 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()
- def weak_<:<(that: bridge.TastyCore.SymbolTable.Type): Boolean
- Definition Classes
- Type → TypeApi
- def widen: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type → TypeApi
- def withAnnotation(anno: bridge.TastyCore.SymbolTable.AnnotationInfo): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type → Annotatable
- def withAnnotations(annots: List[bridge.TastyCore.SymbolTable.AnnotationInfo]): bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type → Annotatable
- def withFilter(p: (bridge.TastyCore.SymbolTable.Type) => Boolean): FilterMapForeach
- Definition Classes
- Type
- def withoutAnnotations: bridge.TastyCore.SymbolTable.Type
- Definition Classes
- Type → Annotatable
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Completer toStringFormat[Completer] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (Completer, B)
- Implicit
- This member is added by an implicit conversion from Completer toArrowAssoc[Completer] 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.