scala.tools.nsc.symtab

SymbolTable

abstract class SymbolTable extends Universe with Names with Symbols with Types with Scopes with Definitions with Constants with BaseTypeSeqs with InfoTransformers with StdNames with AnnotationInfos with AnnotationCheckers with Trees with TreePrinters with Positions with DocComments with TypeDebugging

Source
SymbolTable.scala
Linear Supertypes
TypeDebugging, DocComments, Positions, TreePrinters, Trees, AnnotationCheckers, AnnotationInfos, StdNames, NameManglers, InfoTransformers, BaseTypeSeqs, Definitions, Scopes, Types, Symbols, Names, Universe, StandardDefinitions, AnnotationInfos, Trees, StdNames, Names, Scopes, Constants, Types, Symbols, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. SymbolTable
  2. TypeDebugging
  3. DocComments
  4. Positions
  5. TreePrinters
  6. Trees
  7. AnnotationCheckers
  8. AnnotationInfos
  9. StdNames
  10. NameManglers
  11. InfoTransformers
  12. BaseTypeSeqs
  13. Definitions
  14. Scopes
  15. Types
  16. Symbols
  17. Names
  18. Universe
  19. StandardDefinitions
  20. AnnotationInfos
  21. Trees
  22. StdNames
  23. Names
  24. Scopes
  25. Constants
  26. Types
  27. Symbols
  28. AnyRef
  29. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SymbolTable()

Type Members

  1. case class AnnotatedType(annotations: List[AnnotationInfo], underlying: Type, selfsym: Symbol) extends Type with RewrappingTypeProxy with Product with Serializable

    A type carrying some annotations.

  2. abstract class AnnotationChecker extends AnyRef

    An additional checker for annotations on types.

  3. case class AnnotationInfo(atp: Type, args: List[Tree], assocs: List[(Name, ClassfileAnnotArg)]) extends AnnotationInfoBase with Product with Serializable

    Typed information about an annotation.

  4. class AnnotationInfoBase extends AnyRef

  5. case class AntiPolyType(pre: Type, targs: List[Type]) extends Type with Product with Serializable

    A class remembering a type instantiation for some a set of overloaded polymorphic symbols.

  6. class ApplyImplicitView extends Apply

  7. class ApplyToImplicitArgs extends Apply

  8. case class ArrayAnnotArg(args: Array[ClassfileAnnotArg]) extends ClassfileAnnotArg with Product with Serializable

    Represents an array of classfile annotation arguments

  9. class AsSeenFromMap extends TypeMap

    A map to compute the asSeenFrom method

  10. case class AssignOrNamedArg(lhs: Tree, rhs: Tree) extends Tree with TermTree with Product with Serializable

    Either an assignment or a named argument.

  11. class BaseTypeSeq extends AnyRef

  12. case class BoundedWildcardType(bounds: TypeBounds) extends Type with Product with Serializable

  13. class ChangeOwnerTraverser extends Traverser

  14. case class ClassInfoType(parents: List[Type], decls: Scope, typeSymbol: Symbol) extends CompoundType with Product with Serializable

    A class representing a class info

  15. class ClassSymbol extends TypeSymbol

    A class for class symbols

  16. abstract class ClassfileAnnotArg extends AnyRef

    Arguments to classfile annotations (which are written to bytecode as java annotations) are either:

  17. class CompactTreePrinter extends TreePrinter

    A tree printer which is stingier about vertical whitespace and unnecessary punctuation than the standard one.

  18. abstract type CompilationUnit <: CompilationUnitTrait

    Definition Classes
    Trees
  19. trait CompilationUnitTrait extends AnyRef

  20. trait CompilerCommonNames extends LibraryCommonNames

  21. trait CompilerKeywords extends AnyRef

    This should be the first trait in the linearization.

  22. trait CompilerTermNames extends CompilerKeywords with CompilerCommonNames

  23. trait CompilerTypeNames extends CompilerCommonNames

  24. abstract class CompoundType extends Type

    A common base class for intersection types and class types

  25. abstract case class ConstantType(value: Constant) extends SingletonType with Product with Serializable

    A class representing a constant type.

  26. class ContainsCollector extends TypeCollector[Boolean]

    A map to implement the contains' method

  27. class ContainsTypeCollector extends TypeCollector[Boolean]

    A map to implement the contains' method

  28. class ContainsVariantExistentialCollector extends TypeCollector[Boolean]

    A collector that tests for existential types appearing at given variance in a type

  29. case class CyclicReference(sym: Symbol, info: Type) extends TypeError with Product with Serializable

    An exception for cyclic references of symbol definitions

  30. case class DocComment(raw: String, pos: Position) extends Product with Serializable

  31. case class DocDef(comment: DocComment, definition: Tree) extends Tree with Product with Serializable

    Documented definition, eliminated by analyzer

  32. class ErrorScope extends Scope

    The error scope.

  33. case class ExistentialType(quantified: List[Symbol], underlying: Type) extends Type with RewrappingTypeProxy with Product with Serializable

    Definition Classes
    Types → Types
  34. class ExpansionLimitExceeded extends Exception

  35. class FilterTreeTraverser extends Traverser

  36. class FilterTypeCollector extends TypeCollector[ListBuffer[Type]]

    A map to implement the filter' method

  37. class FindTreeTraverser extends Traverser

  38. class FindTypeCollector extends TypeCollector[Option[Type]]

    A map to implement the filter' method

  39. class ForEachTypeTraverser extends TypeTraverser

  40. class ForeachPartialTreeTraverser extends Traverser

  41. class ForeachTreeTraverser extends Traverser

  42. abstract class InfoTransformer extends AnyRef

  43. class InstantiateDependentMap extends TypeMap

  44. case class InvalidCompanions(sym1: Symbol, sym2: Symbol) extends Throwable with Product with Serializable

  45. class JavaKeywords extends AnyRef

  46. class JavaMethodType extends MethodType

  47. case class LazyAnnotationInfo(annot: () ⇒ AnnotationInfo) extends AnnotationInfoBase with Product with Serializable

    Symbol annotations parsed in Namer (typeCompleter of definitions) have to be lazy (#1782)

  48. class LazyTreeCopier extends TreeCopier

  49. abstract class LazyType extends Type with AbsLazyType

    A class representing an as-yet unevaluated type.

  50. case class LiteralAnnotArg(const: Constant) extends ClassfileAnnotArg with Product with Serializable

    Represents a compile-time Constant (Boolean, Byte, Short, Char, Int, Long, Float, Double, String, java.lang.Class or an instance of a Java enumeration value).

  51. class MalformedType extends TypeError

    A throwable signalling a malformed type

  52. class MethodSymbol extends TermSymbol

    A class for method symbols

  53. case class MethodType(params: List[Symbol], resultType: Type) extends Type with Product with Serializable

    A class representing a method type with parameters.

  54. class MissingAliasControl extends Throwable with ControlThrowable

  55. class MissingTypeControl extends Throwable with ControlThrowable

  56. class ModuleClassSymbol extends ClassSymbol

    A class for module class symbols Note: Not all module classes are of this type; when unpickled, we get plain class symbols!

  57. class ModuleSymbol extends TermSymbol

    A class for module symbols

  58. sealed abstract class Name extends (Int) ⇒ Char

    The name class.

  59. trait NameManglingCommon extends AnyRef

  60. case class NamedType(name: Name, tp: Type) extends Type with Product with Serializable

    A class representing types with a name.

  61. case class NestedAnnotArg(annInfo: AnnotationInfo) extends ClassfileAnnotArg with Product with Serializable

    Represents a nested classfile annotation

  62. class NoCommonType extends Throwable with ControlThrowable

  63. case class NotNullType(underlying: Type) extends SubType with RewrappingTypeProxy with Product with Serializable

  64. case class NullaryMethodType(resultType: Type) extends Type with Product with Serializable

    Definition Classes
    Types → Types
  65. case class OverloadedType(pre: Type, alternatives: List[Symbol]) extends Type with Product with Serializable

    A class containing the alternatives and type prefix of an overloaded symbol.

  66. class PackageClassInfoType extends ClassInfoType

  67. case class Parens(args: List[Tree]) extends Tree with Product with Serializable

  68. type Period = Int

    A period is an ordinal number for a phase in a run.

    A period is an ordinal number for a phase in a run. Phases in later runs have higher periods than phases in earlier runs. Later phases have higher periods than earlier phases in the same run.

  69. case class PolyType(typeParams: List[Symbol], resultType: Type) extends Type with Product with Serializable

    A type function or the type of a polymorphic value (and thus of kind *).

  70. type Position = Position

    Definition Classes
    Positions
  71. case class RefinedType(parents: List[Type], decls: Scope) extends CompoundType with Product with Serializable

    A class representing intersection types with refinements of the form <parents_0> with ... with <parents_n> { decls }' Cannot be created directly; one should always use refinedType' for creation.

  72. final class RefinedType0 extends RefinedType

  73. trait RewrappingTypeProxy extends Type with SimpleTypeProxy

    A proxy for a type (identified by field underlying') that forwards most operations to it. Every operation that is overridden for some kind of types is forwarded here. Some operations are rewrapped again.

  74. type RunId = Int

    An ordinal number for compiler runs.

    An ordinal number for compiler runs. First run has number 1.

  75. class SafeTreePrinter extends TreePrinter

    This must guarantee not to force any evaluation, so we can learn a little bit about trees in the midst of compilation without altering the natural course of events.

  76. case class ScalaSigBytes(bytes: Array[Byte]) extends ClassfileAnnotArg with Product with Serializable

    A specific annotation argument that encodes an array of bytes as an array of Long.

  77. class Scope extends AbsScope

  78. class ScopeEntry extends AnyRef

  79. trait SimpleTypeProxy extends Type

    A proxy for a type (identified by field underlying') that forwards most operations to it (for exceptions, see WrappingProxy, which forwards even more operations). every operation that is overridden for some kind of types should be forwarded.

  80. abstract case class SingleType(pre: Type, sym: Symbol) extends SingletonType with Product with Serializable

    A class for singleton types of the form <prefix>.

  81. abstract class SingletonType extends SubType with SimpleTypeProxy

    A base class for types that represent a single value (single-types and this-types).

  82. class StrictTreeCopier extends TreeCopier

  83. abstract class SubType extends Type

    A base class for types that defer some operations to their immediate supertype.

  84. class SubTypePair extends AnyRef

  85. abstract class SubstMap[T] extends TypeMap

    A base class to compute all substitutions

  86. class SubstSuperMap extends TypeMap

  87. class SubstSymMap extends SubstMap[Symbol]

    A map to implement the substSym' method.

  88. class SubstThisMap extends TypeMap

    A map to implement the substThis' method.

  89. class SubstTypeMap extends SubstMap[Type]

    A map to implement the subst' method.

  90. class SubstWildcardMap extends TypeMap

  91. abstract case class SuperType(thistpe: Type, supertpe: Type) extends SingletonType with Product with Serializable

    Definition Classes
    Types → Types
  92. abstract class Symbol extends AbsSymbol

    The class for all symbols

  93. abstract class SymbolNames extends AnyRef

  94. final class TermName extends Name

    Definition Classes
    Names → Names
  95. trait TermNameMangling extends NameManglingCommon

  96. class TermSymbol extends Symbol

    A class for term symbols

  97. abstract case class ThisType(sym: Symbol) extends SingletonType with Product with Serializable

    A class for this-types of the form <sym>.

  98. abstract class Transformer extends AnyRef

  99. class Traverser extends Traverser

    Definition Classes
    Trees → Trees
  100. abstract class TreeCopier extends AnyRef

  101. class TreeMatchTemplate extends AnyRef

  102. class TreeOps extends AnyRef

  103. class TreePrinter extends AbsTreePrinter

  104. class TreeSubstituter extends Transformer

  105. class TreeSymSubstTraverser extends Traverser

  106. class TreeSymSubstituter extends Transformer

    Substitute symbols in 'from' with symbols in 'to'.

  107. class TreeTypeSubstituter extends Traverser

  108. abstract class Type extends AbsType

    The base class for all types

  109. abstract case class TypeBounds(lo: Type, hi: Type) extends SubType with Product with Serializable

    A class for the bounds of abstract types and type parameters

  110. abstract class TypeCollector[T] extends TypeTraverser

  111. class TypeConstraint extends AnyRef

    A class expressing upper and lower bounds constraints of type variables, as well as their instantiations.

  112. class TypeError extends Throwable

    A throwable signalling a type error

  113. abstract class TypeMap extends (Type) ⇒ Type

    A prototype for mapping a function over all possible types

  114. final class TypeName extends Name

    Definition Classes
    Names → Names
  115. trait TypeNameMangling extends NameManglingCommon

  116. abstract case class TypeRef(pre: Type, sym: Symbol, args: List[Type]) extends Type with Product with Serializable

    A class for named types of the form <prefix>.<sym.name>[args]' Cannot be created directly; one should always use typeRef' for creation.

  117. class TypeSkolem extends TypeSymbol

    A class for type parameters viewed from inside their scopes

  118. class TypeSymbol extends Symbol

    A class of type symbols.

  119. abstract class TypeTraverser extends TypeMap

  120. case class TypeTree() extends AbsTypeTree with Product with Serializable

    A synthetic term holding an arbitrary type.

  121. case class TypeTreeWithDeferredRefCheck(check: () ⇒ TypeTree) extends AbsTypeTree with Product with Serializable

    emitted by typer, eliminated by refchecks

  122. class TypeVar extends Type

    A class representing a type variable Not used after phase typer'. A higher-kinded type variable has type arguments (a list of Type's) and type parameters (list of Symbols) A TypeVar whose list of args is non-empty can only be instantiated by a higher-kinded type that can be applied to these args a typevar is much like a typeref, except it has special logic for type equality/subtyping

  123. final class UniqueConstantType extends ConstantType with UniqueType

  124. final class UniqueSingleType extends SingleType with UniqueType

  125. final class UniqueSuperType extends SuperType with UniqueType

  126. final class UniqueThisType extends ThisType with UniqueType

  127. trait UniqueType extends AnyRef

  128. final class UniqueTypeBounds extends TypeBounds with UniqueType

  129. final class UniqueTypeRef extends TypeRef with UniqueType

  130. case class UseCase(comment: DocComment, body: String, pos: Position) extends Product with Serializable

  131. trait ValueClassDefinitions extends AnyRef

  132. class VarianceError extends TypeError

    An exception signalling a variance annotation/usage conflict

Abstract Value Members

  1. abstract def currentRunId: RunId

    The current compiler run identifier.

  2. abstract def forJVM: Boolean

    Are we compiling for Java SE ?

  3. abstract def forMSIL: Boolean

    Are we compiling for .

    Are we compiling for .NET ?

  4. abstract def log(msg: ⇒ AnyRef): Unit

  5. abstract val phaseWithId: Array[Phase]

    The phase which has given index as identifier

  6. abstract def reporter: Reporter

    Definition Classes
    DocComments
  7. abstract def rootLoader: LazyType

  8. abstract def settings: Settings

Concrete 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. object AnnotatedType extends AnnotatedTypeExtractor with Serializable

    Definition Classes
    Types → Types
  7. object AnnotationInfo extends AnnotationInfoExtractor with Serializable

    Definition Classes
    AnnotationInfos → AnnotationInfos
  8. object ApproximateDependentMap extends TypeMap

  9. object ArrayAnnotArg extends ArrayAnnotArgExtractor with Serializable

    Definition Classes
    AnnotationInfos → AnnotationInfos
  10. def Bind(sym: Symbol, body: Tree): Bind

    Definition Classes
    Trees
  11. def Block(stats: Tree*): Block

    Block factory that flattens directly nested blocks.

    Block factory that flattens directly nested blocks.

    Definition Classes
    Trees
  12. final val BooleanTag: Int(2)

    Definition Classes
    Constants
  13. final val ByteTag: Int(3)

    Definition Classes
    Constants
  14. def CaseDef(pat: Tree, body: Tree): CaseDef

    casedef shorthand

    casedef shorthand

    Definition Classes
    Trees
  15. final val CharTag: Int(5)

    Definition Classes
    Constants
  16. def ClassDef(sym: Symbol, constrMods: Modifiers, vparamss: List[List[ValDef]], argss: List[List[Tree]], body: List[Tree], superPos: Position): ClassDef

    Construct class definition with given class symbol, value parameters, supercall arguments and template body.

    Construct class definition with given class symbol, value parameters, supercall arguments and template body.

    sym

    the class symbol

    constrMods

    the modifiers for the class constructor, i.e. as in class C private (...)'

    vparamss

    the value parameters -- if they have symbols they should be owned by sym'

    argss

    the supercall arguments

    body

    the template statements without primary constructor and value parameter fields.

    Definition Classes
    Trees
  17. def ClassDef(sym: Symbol, impl: Template): ClassDef

    sym

    the class symbol

    returns

    the implementation template

    Definition Classes
    Trees
  18. object ClassInfoType extends ClassInfoTypeExtractor with Serializable

    Definition Classes
    Types → Types
  19. final val ClassTag: Int(12)

    Definition Classes
    Constants
  20. object ConsoleWriter extends Writer

    A writer that writes to the current Console and is sensitive to replacement of the Console's output stream.

  21. object ConstantType extends ConstantTypeExtractor with Serializable

    Definition Classes
    Types → Types
  22. val CyclicInheritance: Throwable

    Definition Classes
    BaseTypeSeqs
  23. def DefDef(sym: Symbol, rhs: (List[List[Symbol]]) ⇒ Tree): DefDef

    Definition Classes
    Trees
  24. def DefDef(sym: Symbol, rhs: Tree): DefDef

    Definition Classes
    Trees
  25. def DefDef(sym: Symbol, mods: Modifiers, rhs: Tree): DefDef

    Definition Classes
    Trees
  26. def DefDef(sym: Symbol, vparamss: List[List[ValDef]], rhs: Tree): DefDef

    Definition Classes
    Trees
  27. def DefDef(sym: Symbol, mods: Modifiers, vparamss: List[List[ValDef]], rhs: Tree): DefDef

    Definition Classes
    Trees
  28. final val DoubleTag: Int(9)

    Definition Classes
    Constants
  29. object EmptyScope extends Scope

    The empty scope (immutable).

  30. lazy val EmptyTreeTypeSubstituter: TreeTypeSubstituter

    Definition Classes
    Trees
  31. final val EnumTag: Int(13)

    Definition Classes
    Constants
  32. object ErroneousCollector extends TypeCollector[Boolean]

    A map to implement the contains' method

  33. object ErrorType extends Type with Product with Serializable

    An object representing an erroneous type

  34. object ExistentialType extends ExistentialTypeExtractor with Serializable

    Definition Classes
    Types → Types
  35. final val FloatTag: Int(8)

    Definition Classes
    Constants
  36. val GlbFailure: Throwable

    Definition Classes
    Types
  37. def Ident(sym: Symbol): Ident

    Definition Classes
    Trees
  38. object IdentityTypeMap extends TypeMap

    A type map that always returns the input type unchanged

  39. final val IntTag: Int(6)

    Definition Classes
    Constants
  40. object IsDependentCollector extends TypeCollector[Boolean]

  41. def JavaMethodType(params: List[Symbol], resultType: Type): JavaMethodType

    The canonical creator for implicit method types

    The canonical creator for implicit method types

    Definition Classes
    Types
  42. def LabelDef(sym: Symbol, params: List[Symbol], rhs: Tree): LabelDef

    Definition Classes
    Trees
  43. def Literal(value: Any): Literal

    Definition Classes
    Trees
  44. object LiteralAnnotArg extends LiteralAnnotArgExtractor with Serializable

    Definition Classes
    AnnotationInfos → AnnotationInfos
  45. final val LongTag: Int(7)

    Definition Classes
    Constants
  46. final val LubGlbMargin: Int(0)

    Definition Classes
    Types
  47. object MethodType extends MethodTypeExtractor with Serializable

    Definition Classes
    Types → Types
  48. def Modifiers(flags: Long): Modifiers

    Definition Classes
    Trees
  49. def Modifiers(flags: Long, privateWithin: Name): Modifiers

    Definition Classes
    Trees
  50. def ModuleDef(sym: Symbol, impl: Template): ModuleDef

    sym

    the class symbol

    impl

    the implementation template

    Definition Classes
    Trees
  51. object NestedAnnotArg extends NestedAnnotArgExtractor with Serializable

    Definition Classes
    AnnotationInfos → AnnotationInfos
  52. def New(tpt: Tree, argss: List[List[Tree]]): Tree

    Factory method for object creation new tpt(args_1)...(args_n) A New(t, as) is expanded to: (new t).<init>(as)

    Factory method for object creation new tpt(args_1)...(args_n) A New(t, as) is expanded to: (new t).<init>(as)

    Definition Classes
    Trees
  53. lazy val NoMods: Modifiers

    Definition Classes
    Trees
  54. final val NoPeriod: Int(0)

  55. val NoPosition: tools.nsc.util.NoPosition.type

    Definition Classes
    Positions
  56. object NoPrefix extends Type with Product with Serializable

    An object representing a non-existing prefix

  57. final val NoRunId: Int(0)

  58. object NoSymbol extends Symbol

    An object representing a missing symbol

  59. final val NoTag: Int(0)

    Definition Classes
    Constants
  60. object NoType extends Type with Product with Serializable

    An object representing a non-existing type

  61. final val NullTag: Int(11)

    Definition Classes
    Constants
  62. object NullaryMethodType extends NullaryMethodTypeExtractor with Serializable

    Definition Classes
    Types → Types
  63. object PolyType extends PolyTypeExtractor with Serializable

    Definition Classes
    Types → Types
  64. object RefinedType extends RefinedTypeExtractor with Serializable

    Definition Classes
    Types → Types
  65. def Select(qualifier: Tree, sym: Symbol): Select

    Definition Classes
    Trees
  66. final val ShortTag: Int(4)

    Definition Classes
    Constants
  67. object SingleType extends SingleTypeExtractor with Serializable

    Definition Classes
    Types → Types
  68. final val StringTag: Int(10)

    Definition Classes
    Constants
  69. object StripAnnotationsMap extends TypeMap

  70. def Super(sym: Symbol, mix: TypeName): Tree

    Definition Classes
    Trees
  71. object SuperType extends SuperTypeExtractor with Serializable

    Definition Classes
    Types → Types
  72. def Template(parents: List[Tree], self: ValDef, constrMods: Modifiers, vparamss: List[List[ValDef]], argss: List[List[Tree]], body: List[Tree], superPos: Position): Template

    Generates a template with constructor corresponding to

    Generates a template with constructor corresponding to

    constrmods (vparams1_) ... (vparams_n) preSuper { presupers } extends superclass(args_1) ... (args_n) with mixins { self => body }

    This gets translated to

    extends superclass with mixins { self => presupers' // presupers without rhs vparamss // abstract fields corresponding to value parameters def <init>(vparamss) { presupers super.<init>(args) } body }

    Definition Classes
    Trees
  73. def This(sym: Symbol): Tree

    Definition Classes
    Trees
  74. object ThisType extends ThisTypeExtractor with Serializable

    Definition Classes
    Types → Types
  75. object TypeBounds extends TypeBoundsExtractor with Serializable

    Definition Classes
    Types → Types
  76. def TypeDef(sym: Symbol): TypeDef

    A TypeDef node which defines abstract type or type parameter for given sym'

    A TypeDef node which defines abstract type or type parameter for given sym'

    Definition Classes
    Trees
  77. def TypeDef(sym: Symbol, rhs: Tree): TypeDef

    A TypeDef node which defines given sym' with given tight hand side rhs'.

    A TypeDef node which defines given sym' with given tight hand side rhs'.

    Definition Classes
    Trees
  78. object TypeRef extends TypeRefExtractor with Serializable

    Definition Classes
    Types → Types
  79. def TypeTree(tp: Type): TypeTree

    Definition Classes
    Trees
  80. object TypeTree extends TypeTreeExtractor with Serializable

    Definition Classes
    Trees → Trees
  81. object TypeVar extends AnyRef

  82. final val UnitTag: Int(1)

    Definition Classes
    Constants
  83. def ValDef(sym: Symbol): ValDef

    Definition Classes
    Trees
  84. def ValDef(sym: Symbol, rhs: Tree): ValDef

    Definition Classes
    Trees
  85. object WildcardType extends Type with Product with Serializable

    An object representing an unknown type, used during type inference.

  86. def abort(): Nothing

  87. def abort(msg: String): Nothing

  88. def adaptAnnotations(tree: Tree, mode: Int, pt: Type): Tree

    Let registered annotation checkers adapt a tree to a given type (called by Typers.

    Let registered annotation checkers adapt a tree to a given type (called by Typers.adapt). Annotation checkers that cannot do the adaption should pass the tree through unchanged.

    Definition Classes
    AnnotationCheckers
  89. def adaptBoundsToAnnotations(bounds: List[TypeBounds], tparams: List[Symbol], targs: List[Type]): List[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
    AnnotationCheckers
  90. object adaptToNewRunMap extends TypeMap

  91. def addAnnotationChecker(checker: AnnotationChecker): Unit

    Register an annotation checker.

    Register an annotation checker. Typically these are added by compiler plugins.

    Definition Classes
    AnnotationCheckers
  92. def addAnnotations(tree: Tree, tpe: Type): Type

    Let all annotations checkers add extra annotations to this tree's type.

    Let all annotations checkers add extra annotations to this tree's type.

    Definition Classes
    AnnotationCheckers
  93. def addMember(thistp: Type, tp: Type, sym: Symbol): Unit

    Make symbol sym' a member of scope tp.

    Make symbol sym' a member of scope tp.decls' where thistp' is the narrowed owner type of the scope.

    Definition Classes
    Types
  94. final def afterPhase[T](ph: Phase)(op: ⇒ T): T

  95. def annotationsConform(tp1: Type, tp2: Type): Boolean

    Check that the annotations on two types conform.

    Check that the annotations on two types conform. To do so, consult all registered annotation checkers.

    Definition Classes
    AnnotationCheckers
  96. def annotationsGlb(tpe: Type, ts: List[Type]): Type

    Refine the computed greatest lower bound of a list of types.

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

    Definition Classes
    AnnotationCheckers
  97. def annotationsLub(tpe: Type, ts: List[Type]): 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
    AnnotationCheckers
  98. def appliedType(tycon: Type, args: List[Type]): Type

    A creator for type applications

    A creator for type applications

    Definition Classes
    Types
  99. def asCompactString(t: Tree): String

    Definition Classes
    TreePrinters
  100. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  101. def asString(t: Tree): String

    Definition Classes
    TreePrinters
  102. final def atPhase[T](ph: Phase)(op: ⇒ T): T

    Perform given operation at given phase

  103. def atPos[T <: Tree](pos: Position)(tree: T): T

    Definition Classes
    Trees
  104. def backquotedPath(t: Tree): String

    Turns a path into a String, introducing backquotes as necessary.

    Turns a path into a String, introducing backquotes as necessary.

    Definition Classes
    TreePrinters
  105. def baseTypeSingletonSeq(tp: Type): BaseTypeSeq

    Create a base type sequence consisting of a single type

    Create a base type sequence consisting of a single type

    Definition Classes
    BaseTypeSeqs
  106. def beginsWithTypeVarOrIsRefined(tp: Type): Boolean

    Does this type have a prefix that begins with a type variable, or is it a refinement type? For type prefixes that fulfil this condition, type selections with the same name of equal (wrt) =:= prefixes are considered equal wrt =:=

    Does this type have a prefix that begins with a type variable, or is it a refinement type? For type prefixes that fulfil this condition, type selections with the same name of equal (wrt) =:= prefixes are considered equal wrt =:=

    Definition Classes
    Types
  107. def canAdaptAnnotations(tree: Tree, mode: Int, pt: Type): Boolean

    Find out whether any annotation checker can adapt a tree to a given type.

    Find out whether any annotation checker can adapt a tree to a given type. Called by Typers.adapt.

    Definition Classes
    AnnotationCheckers
  108. def checkKindBounds0(tparams: List[Symbol], targs: List[Type], pre: Type, owner: Symbol, explainErrors: Boolean): List[(Type, Symbol, List[(Symbol, Symbol)], List[(Symbol, Symbol)], List[(Symbol, Symbol)])]

    Check well-kindedness of type application (assumes arities are already checked) -- @M

    Check well-kindedness of type application (assumes arities are already checked) -- @M

    This check is also performed when abstract type members become concrete (aka a "type alias") -- then tparams.length==1 (checked one type member at a time -- in that case, prefix is the name of the type alias)

    Type application is just like value application: it's "contravariant" in the sense that the type parameters of the supplied type arguments must conform to the type parameters of the required type parameters:

    • their bounds must be less strict
    • variances must match (here, variances are absolute, the variance of a type parameter does not influence the variance of its higher-order parameters)
    • @M TODO: are these conditions correct,sufficient&necessary?

    e.g. class Iterable[t, m[+x <: t]] --> the application Iterable[Int, List] is okay, since List's type parameter is also covariant and its bounds are weaker than <: Int

    Definition Classes
    Types
  109. var chrs: Array[Char]

    memory to store all names sequentially

    memory to store all names sequentially

    Definition Classes
    Names
  110. lazy val classfileAnnotArgManifest: ClassManifest[ClassfileAnnotArg]

    Definition Classes
    AnnotationInfos → AnnotationInfos
  111. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  112. def cloneSymbols[T <: Symbol](syms: List[T], owner: Symbol): List[T]

    Definition Classes
    Symbols
  113. def cloneSymbols[T <: Symbol](syms: List[T]): List[T]

    Definition Classes
    Symbols
  114. object commonOwnerMap extends TypeMap

    A map to compute the most deeply nested owner that contains all the symbols of thistype or prefixless typerefs/singletype occurrences in given type.

  115. final def compareLengths(xs1: List[_], xs2: List[_]): Int

    Definition Classes
    Types
    Annotations
    @tailrec()
  116. def compoundBaseTypeSeq(tp: Type): BaseTypeSeq

    Create the base type sequence of a compound type wuth given tp.

    Create the base type sequence of a compound type wuth given tp.parents

    Definition Classes
    BaseTypeSeqs
  117. val containsContravariantExistentialCollector: ContainsVariantExistentialCollector

    Definition Classes
    Types
  118. val containsCovariantExistentialCollector: ContainsVariantExistentialCollector

    Definition Classes
    Types
  119. def cookedDocComment(sym: Symbol, docStr: String = ""): String

    The raw doc comment of symbol sym, minus @usecase and @define sections, augmented by missing sections of an inherited doc comment.

    The raw doc comment of symbol sym, minus @usecase and @define sections, augmented by missing sections of an inherited doc comment. If a symbol does not have a doc comment but some overridden version of it does, the doc comment of the overridden version is copied instead.

    Definition Classes
    DocComments
  120. def copyMethodType(tp: Type, params: List[Symbol], restpe: Type): Type

    Create a new MethodType of the same class as tp, i.

    Create a new MethodType of the same class as tp, i.e. keep JavaMethodType

    Definition Classes
    Types
  121. def copyRefinedType(original: RefinedType, parents: List[Type], decls: Scope): Type

    Definition Classes
    Types
  122. def copyTypeRef(tp: Type, pre: Type, sym: Symbol, args: List[Type]): Type

    Definition Classes
    Types
  123. final def corresponds3[A, B, C](xs1: List[A], xs2: List[B], xs3: List[C], f: (A, B, C) ⇒ Boolean): Boolean

    True if all three arguments have the same number of elements and the function is true for all the triples.

    True if all three arguments have the same number of elements and the function is true for all the triples.

    Definition Classes
    Types
    Annotations
    @tailrec()
  124. final def currentPeriod: Period

    The current period

  125. object deAlias extends TypeMap

    Remove any occurrences of type aliases from this type

  126. def debugString(tp: Type): String

    Definition Classes
    TypeDebugging
  127. object definitions extends AbsDefinitions with ValueClassDefinitions

    Definition Classes
    Definitions → StandardDefinitions
  128. def differentOrNone(tp1: Type, tp2: Type): Type

    Definition Classes
    Types
  129. def docComment(sym: Symbol, docStr: String, pos: Position = NoPosition): Any

    Associate comment with symbol sym at position pos.

    Associate comment with symbol sym at position pos.

    Definition Classes
    DocComments
  130. def docCommentPos(sym: Symbol): Position

    The position of the raw doc comment of symbol sym, or NoPosition if missing If a symbol does not have a doc comment but some overridden version of it does, the position of the doc comment of the overridden version is returned instead.

    The position of the raw doc comment of symbol sym, or NoPosition if missing If a symbol does not have a doc comment but some overridden version of it does, the position of the doc comment of the overridden version is returned instead.

    Definition Classes
    DocComments
  131. val docComments: HashMap[Symbol, DocComment]

    The raw doc comment map

    The raw doc comment map

    Definition Classes
    DocComments
  132. object dropSingletonType extends TypeMap

    Remove any occurrence of type <singleton> from this type and its parents

  133. def elimAnonymousClass(t: Type): Type

    Definition Classes
    Types
  134. val emptySymbolArray: Array[Symbol]

    Definition Classes
    Symbols
  135. object emptyValDef extends ValDef

  136. def encode(str: String): TermName

    Definition Classes
    StdNames
  137. def ensureNonOverlapping(tree: Tree, others: List[Tree]): Unit

    Ensure that given tree has no positions that overlap with any of the positions of others.

    Ensure that given tree has no positions that overlap with any of the positions of others. This is done by shortening the range or assigning TransparentPositions to some of the nodes in tree.

    Definition Classes
    Positions
  138. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  140. def existentialAbstraction(tparams: List[Symbol], tpe0: Type): Type

    A creator for existential types.

    A creator for existential types. This generates:

    tpe1 where { tparams }

    where tpe1' is the result of extrapolating tpe' wrt to tparams'. Extrapolating means that type variables in tparams' occurring in covariant positions are replaced by upper bounds, (minus any SingletonClass markers), type variables in tparams' occurring in contravariant positions are replaced by upper bounds, provided the resulting type is legal wrt to stability, and does not contain any type variable in tparams'. The abstraction drops all type parameters that are not directly or indirectly referenced by type tpe1'. If there are no remaining type parameters, simply returns result type tpe'.

    Definition Classes
    Types
  141. def expandVariables(initialStr: String, sym: Symbol, site: Symbol): String

    Expand variable occurrences in string str', until a fix point is reached or a expandLimit is exceeded.

    Expand variable occurrences in string str', until a fix point is reached or a expandLimit is exceeded.

    sym

    The symbol for which doc comments are generated

    site

    The class for which doc comments are generated

    returns

    Expanded string

    Attributes
    protected
    Definition Classes
    DocComments
  142. def expandWiki(str: String): String

    Returns just the wiki expansion (this would correspond to a comment in the input format of the JavaDoc tool, modulo differences in tags.

    Returns just the wiki expansion (this would correspond to a comment in the input format of the JavaDoc tool, modulo differences in tags.)

    Definition Classes
    DocComments
  143. def expandedDocComment(sym: Symbol): String

    The cooked doc comment of symbol sym after variable expansion, or "" if missing.

    The cooked doc comment of symbol sym after variable expansion, or "" if missing.

    sym

    The symbol for which doc comment is returned (site is always the containing class)

    Definition Classes
    DocComments
  144. def expandedDocComment(sym: Symbol, site: Symbol, docStr: String = ""): String

    The cooked doc comment of symbol sym after variable expansion, or "" if missing.

    The cooked doc comment of symbol sym after variable expansion, or "" if missing.

    sym

    The symbol for which doc comment is returned

    site

    The class for which doc comments are generated

    Definition Classes
    DocComments
    Exceptions thrown
    ExpansionLimitExceeded

    when more than 10 successive expansions of the same string are done, which is interpreted as a recursive variable definition.

  145. def explainTypes(op: (Type, Type) ⇒ Any, found: Type, required: Type): Unit

    If option explaintypes' is set, print a subtype trace for op(found, required)'.

    If option explaintypes' is set, print a subtype trace for op(found, required)'.

    Definition Classes
    Types
  146. def explainTypes(found: Type, required: Type): Unit

    If option explaintypes' is set, print a subtype trace for found <:< required'.

    If option explaintypes' is set, print a subtype trace for found <:< required'.

    Definition Classes
    Types
  147. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  148. def flagsIntoString(flags: Long, privateWithin: String): String

    Attributes
    protected
    Definition Classes
    Trees → Trees
  149. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  150. def glb(ts: List[Type]): Type

    Definition Classes
    Types
  151. final def hasLength(xs: List[_], len: Int): Boolean

    Again avoiding calling length, but the lengthCompare interface is clunky.

    Again avoiding calling length, but the lengthCompare interface is clunky.

    Definition Classes
    Types
  152. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  153. var infoTransformers: InfoTransformer

    The set of all installed infotransformers

  154. def instTypeVar(tp: Type): Type

    Definition Classes
    Types
  155. def instantiatedBounds(pre: Type, owner: Symbol, tparams: List[Symbol], targs: List[Type]): List[TypeBounds]

    Definition Classes
    Types
  156. def intersectionType(tps: List[Type]): Type

    A creator for intersection type where intersections of a single type are replaced by the type itself.

    A creator for intersection type where intersections of a single type are replaced by the type itself.

    Definition Classes
    Types
  157. def intersectionType(tps: List[Type], owner: Symbol): Type

    A creator for intersection type where intersections of a single type are replaced by the type itself, and repeated parent classes are merged.

    A creator for intersection type where intersections of a single type are replaced by the type itself, and repeated parent classes are merged.

    Definition Classes
    Types
  158. val intersectionWitness: WeakHashMap[List[Type], WeakReference[Type]]

    A map from lists to compound types that have the given list as parents.

    A map from lists to compound types that have the given list as parents. This is used to avoid duplication in the computation of base type sequences and baseClasses. It makes use of the fact that these two operations depend only on the parents, not on the refinement.

    Definition Classes
    Types
  159. def isConstantType(tp: Type): Boolean

    Definition Classes
    Types
  160. def isDifferentType(tp1: Type, tp2: Type): Boolean

    Definition Classes
    Types
  161. def isDifferentTypeConstructor(tp1: Type, tp2: Type): Boolean

    Definition Classes
    Types
  162. def isErrorOrWildcard(tp: Type): Boolean

    Definition Classes
    Types
  163. def isHKSubType0(tp1: Type, tp2: Type, depth: Int): Boolean

    Definition Classes
    Types
  164. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  165. def isNumericSubType(tp1: Type, tp2: Type): Boolean

    Definition Classes
    Types
  166. def isPopulated(tp1: Type, tp2: Type): Boolean

    Is intersection of given types populated? That is, for all types tp1, tp2 in intersection for all common base classes bc of tp1 and tp2 let bt1, bt2 be the base types of tp1, tp2 relative to class bc Then: bt1 and bt2 have the same prefix, and any corresponding non-variant type arguments of bt1 and bt2 are the same

    Is intersection of given types populated? That is, for all types tp1, tp2 in intersection for all common base classes bc of tp1 and tp2 let bt1, bt2 be the base types of tp1, tp2 relative to class bc Then: bt1 and bt2 have the same prefix, and any corresponding non-variant type arguments of bt1 and bt2 are the same

    Definition Classes
    Types
  167. def isRaw(sym: Symbol, args: List[Type]): Boolean

    Definition Classes
    Types
  168. def isRawType(tp: Type): Boolean

    Is type tp a raw type?

    Is type tp a raw type?

    Definition Classes
    Types
  169. def isSameType(tp1: Type, tp2: Type): Boolean

    Do tp1' and tp2' denote equivalent types?

    Do tp1' and tp2' denote equivalent types?

    Definition Classes
    Types
  170. def isSameType2(tp1: Type, tp2: Type): Boolean

    Definition Classes
    Types
  171. def isSameTypes(tps1: List[Type], tps2: List[Type]): Boolean

    Are tps1' and tps2' lists of pairwise equivalent types?

    Are tps1' and tps2' lists of pairwise equivalent types?

    Definition Classes
    Types
  172. def isSingleType(tp: Type): Boolean

    Definition Classes
    Types
  173. def isSubArg(t1: Type, t2: Type, variance: Int): Boolean

    Definition Classes
    Types
  174. def isSubArgs(tps1: List[Type], tps2: List[Type], tparams: List[Symbol]): Boolean

    Definition Classes
    Types
  175. def isSubType(tp1: Type, tp2: Type, depth: Int): Boolean

    Definition Classes
    Types
  176. def isSubType(tp1: Type, tp2: Type): Boolean

    Definition Classes
    Types
  177. def isSubTypes(tps1: List[Type], tps2: List[Type]): Boolean

    Are tps1' and tps2' lists of equal length such that all elements of tps1' conform to corresponding elements of tps2'?

    Are tps1' and tps2' lists of equal length such that all elements of tps1' conform to corresponding elements of tps2'?

    Definition Classes
    Types
  178. def isTermName(name: Name): Boolean

    Definition Classes
    Names → Names
  179. def isTypeName(name: Name): Boolean

    Definition Classes
    Names → Names
  180. final def isValid(period: Period): Boolean

  181. final def isValidForBaseClasses(period: Period): Boolean

  182. def isWeakSubType(tp1: Type, tp2: Type): Boolean

    Definition Classes
    Types
  183. def isWithinBounds(pre: Type, owner: Symbol, tparams: List[Symbol], targs: List[Type]): Boolean

    Do type arguments targs' conform to formal parameters tparams'?

    Do type arguments targs' conform to formal parameters tparams'?

    tparams

    ...

    targs

    ...

    returns

    ...

    Definition Classes
    Types
  184. val javanme: JavaKeywords

    Definition Classes
    StdNames
  185. def kindsConform(tparams: List[Symbol], targs: List[Type], pre: Type, owner: Symbol): Boolean

    Definition Classes
    Types
  186. def lookupVariable(vble: String, site: Symbol): Option[String]

    Lookup definition of variable.

    Lookup definition of variable.

    vble

    The variable for which a definition is searched

    site

    The class for which doc comments are generated

    Definition Classes
    DocComments
  187. def lub(ts: List[Type], depth: Int): Type

    The least upper bound wrt <:< of a list of types

    The least upper bound wrt <:< of a list of types

    Definition Classes
    Types
  188. def lub(ts: List[Type]): Type

    Definition Classes
    Types
  189. def lubDepth(ts: List[Type]): Int

    The maximum allowable depth of lubs or glbs over types ts' This is the maximum depth of all types in the base type sequences of each of the types ts', plus LubGlbMargin

    The maximum allowable depth of lubs or glbs over types ts' This is the maximum depth of all types in the base type sequences of each of the types ts', plus LubGlbMargin

    Definition Classes
    Types
  190. def map2Conserve[A <: AnyRef, B](xs: List[A], ys: List[B])(f: (A, B) ⇒ A): List[A]

    like map2, but returns list xs' itself - instead of a copy - if function f' maps all elements to themselves.

    like map2, but returns list xs' itself - instead of a copy - if function f' maps all elements to themselves.

    Definition Classes
    Types
  191. final def matchesType(tp1: Type, tp2: Type, alwaysMatchSimple: Boolean): Boolean

    A function implementing tp1' matches tp2'

    A function implementing tp1' matches tp2'

    Definition Classes
    Types
  192. final val maxTostringRecursions: Int(50)

    Definition Classes
    Types
  193. def merge(src: String, dst: String, sym: Symbol, copyFirstPara: Boolean = false): String

    Merge elements of doccomment src into doc comment dst for symbol sym.

    Merge elements of doccomment src into doc comment dst for symbol sym. In detail:

    1. If copyFirstPara is true, copy first paragraph 2. For all parameters of sym if there is no @param section in dst for that parameter name, but there is one on src, copy that section. 3. If there is no @return section in dst but there is one in src, copy it.
    Definition Classes
    DocComments
  194. def mergePrefixAndArgs(tps: List[Type], variance: Int, depth: Int): Option[Type]

    Compute lub (if variance == 1) or glb (if variance == -1) of given list of types tps'. All types in tps' are typerefs or singletypes with the same symbol.

    Compute lub (if variance == 1) or glb (if variance == -1) of given list of types tps'. All types in tps' are typerefs or singletypes with the same symbol. Return Some(x)' if the computation succeeds with result x'. Return None' if the computation fails.

    Definition Classes
    Types
  195. val missingAliasException: MissingAliasControl

    Definition Classes
    Types
  196. def mkTermName(name: Name): TermName

    Definition Classes
    Names → Names
  197. def mkTypeName(name: Name): TypeName

    Definition Classes
    Names → Names
  198. def nameChars: Array[Char]

    Definition Classes
    Names
  199. final val nameDebug: Boolean(false)

    Definition Classes
    Names
  200. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  201. def needsOuterTest(patType: Type, selType: Type, currentOwner: Symbol): Boolean

    Does a pattern of type patType' need an outer test when executed against selector type selType' in context defined by currentOwner'?

    Does a pattern of type patType' need an outer test when executed against selector type selType' in context defined by currentOwner'?

    Definition Classes
    Types
  202. def newCompactTreePrinter(): CompactTreePrinter

    Definition Classes
    TreePrinters
  203. def newCompactTreePrinter(stream: OutputStream): CompactTreePrinter

    Definition Classes
    TreePrinters
  204. def newCompactTreePrinter(writer: PrintWriter): CompactTreePrinter

    Definition Classes
    TreePrinters
  205. def newScope: Scope

    Definition Classes
    Scopes
  206. def newStandardTreePrinter(): TreePrinter

    Definition Classes
    TreePrinters
  207. def newStandardTreePrinter(stream: OutputStream): TreePrinter

    Definition Classes
    TreePrinters
  208. def newStandardTreePrinter(writer: PrintWriter): TreePrinter

    Definition Classes
    TreePrinters
  209. def newTermName(bs: Array[Byte], offset: Int, len: Int): TermName

    Create a term name from the UTF8 encoded bytes in bs[offset.

    Create a term name from the UTF8 encoded bytes in bs[offset..offset+len-1].

    Definition Classes
    Names → Names
  210. def newTermName(s: String): TermName

    create a term name from string

    create a term name from string

    Definition Classes
    Names → Names
  211. def newTermName(cs: Array[Char], offset: Int, len: Int): TermName

    Create a term name from the characters in cs[offset.

    Create a term name from the characters in cs[offset..offset+len-1].

    Definition Classes
    Names → Names
  212. def newTreePrinter(): TreePrinter

    Definition Classes
    TreePrinters
  213. def newTreePrinter(stream: OutputStream): TreePrinter

    Definition Classes
    TreePrinters
  214. def newTreePrinter(writer: PrintWriter): TreePrinter

    Definition Classes
    TreePrinters
  215. def newTypeName(bs: Array[Byte], offset: Int, len: Int): TypeName

    Create a type name from the UTF8 encoded bytes in bs[offset.

    Create a type name from the UTF8 encoded bytes in bs[offset..offset+len-1].

    Definition Classes
    Names → Names
  216. def newTypeName(s: String): TypeName

    Create a type name from string

    Create a type name from string

    Definition Classes
    Names → Names
  217. def newTypeName(cs: Array[Char], offset: Int, len: Int): TypeName

    Create a type name from the characters in cs[offset.

    Create a type name from the characters in cs[offset..offset+len-1].

    Definition Classes
    Names → Names
  218. object nme extends CompilerTermNames with LibraryTermNames with TermNameMangling

    Definition Classes
    StdNames → StdNames
  219. def normalizePlus(tp: Type): Type

    Definition Classes
    Types
  220. final def notify(): Unit

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

    Definition Classes
    AnyRef
  222. def numericGlb(ts: List[Type]): Type

    Definition Classes
    Types
  223. def numericLub(ts: List[Type]): Type

    Definition Classes
    Types
  224. def objToAny(tp: Type): Type

    Definition Classes
    Types
  225. val originalOwner: HashMap[Symbol, Symbol]

    The original owner of a class.

    The original owner of a class. Used by the backend to generate EnclosingMethod attributes.

    Definition Classes
    Symbols
  226. def paramString(tp: Type): String

    Definition Classes
    TypeDebugging
  227. object perRunCaches extends AnyRef

  228. final def period(rid: RunId, pid: Int): Period

  229. final def phase: Phase

  230. final def phaseId(period: Period): Int

    The phase identifier of the given period

  231. final def phaseOf(period: Period): Phase

    The phase associated with given period

  232. final def phase_=(p: Phase): Unit

  233. def polyType(tparams: List[Symbol], tpe: Type): Type

    A creator for type parameterizations that strips empty type parameter lists.

    A creator for type parameterizations that strips empty type parameter lists. Use this factory method to indicate the type has kind * (it's a polymorphic value) until we start tracking explicit kinds equivalent to typeFun (except that the latter requires tparams nonEmpty)

    Definition Classes
    Types
  234. object posAssigner extends Traverser

  235. implicit def promoteTermNamesAsNecessary(name: Name): TermName

    Definition Classes
    Names
  236. def quotedName(name: Name): String

    Definition Classes
    TreePrinters
  237. def quotedName(name: Name, decode: Boolean): String

    Adds backticks if the name is a scala keyword.

    Adds backticks if the name is a scala keyword.

    Definition Classes
    TreePrinters
  238. def rangePos(source: SourceFile, start: Int, point: Int, end: Int): OffsetPosition

    Definition Classes
    Positions
  239. def rawDocComment(sym: Symbol): String

    The raw doc comment of symbol sym, as it appears in the source text, "" if missing.

    The raw doc comment of symbol sym, as it appears in the source text, "" if missing.

    Definition Classes
    DocComments
  240. object rawToExistential extends TypeMap

    The raw to existential map converts a raw type to an existential type. It is necessary because we might have read a raw type of a parameterized Java class from a class file. At the time we read the type the corresponding class file might still not be read, so we do not know what the type parameters of the type are. Therefore the conversion of raw types to existential types might not have taken place in ClassFileparser.sigToType (where it is usually done)

  241. def refinedType(parents: List[Type], owner: Symbol): Type

    The canonical creator for a refined type with an initially empty scope.

    The canonical creator for a refined type with an initially empty scope.

    parents

    ...

    owner

    ...

    returns

    ...

    Definition Classes
    Types
  242. def refinedType(parents: List[Type], owner: Symbol, decls: Scope, pos: Position): Type

    the canonical creator for a refined type with a given scope

    the canonical creator for a refined type with a given scope

    Definition Classes
    Types
  243. def removeAllAnnotationCheckers(): Unit

    Remove all annotation checkers

    Remove all annotation checkers

    Definition Classes
    AnnotationCheckers
  244. def resetAllAttrs[A <: Tree](x: A): A

    resets symbol and tpe fields in a tree, @see ResetAttrsTraverse

    resets symbol and tpe fields in a tree, @see ResetAttrsTraverse

    Definition Classes
    Trees
  245. def resetLocalAttrs[A <: Tree](x: A): A

    Definition Classes
    Trees
  246. object resetPos extends Traverser

  247. final def runId(period: Period): RunId

    The run identifier of the given period

  248. final def sameLength(xs1: List[_], xs2: List[_]): Boolean

    True if two lists have the same length.

    True if two lists have the same length. Since calling length on linear sequences is O(n), it is an inadvisable way to test length equality.

    Definition Classes
    Types
  249. val shorthands: Set[String]

    Definition Classes
    Types
  250. final val showOuterTests: Boolean(false)

    Definition Classes
    TreePrinters
  251. def singleType(pre: Type, sym: Symbol): Type

    The canonical creator for single-types

    The canonical creator for single-types

    Definition Classes
    Types
  252. def singletonBounds(hi: Type): TypeBounds

    Definition Classes
    Types
  253. var skolemizationLevel: Int

    The current skolemization level, needed for the algorithms in isSameType, isSubType that do constraint solving under a prefix

    The current skolemization level, needed for the algorithms in isSameType, isSubType that do constraint solving under a prefix

    Definition Classes
    Types
  254. lazy val sn: SymbolNames

    Definition Classes
    StdNames
  255. def solve(tvars: List[TypeVar], tparams: List[Symbol], variances: List[Int], upper: Boolean, depth: Int): Boolean

    Definition Classes
    Types
  256. def solve(tvars: List[TypeVar], tparams: List[Symbol], variances: List[Int], upper: Boolean): Boolean

    Solve constraint collected in types tvars'.

    Solve constraint collected in types tvars'.

    tvars

    All type variables to be instantiated.

    tparams

    The type parameters corresponding to tvars'

    variances

    The variances of type parameters; need to reverse solution direction for all contravariant variables.

    upper

    When true' search for max solution else min.

    Definition Classes
    Types
  257. def spanningTypes(ts: List[Type]): List[Type]

    A minimal type list which has a given list of types as its base type sequence

    A minimal type list which has a given list of types as its base type sequence

    Definition Classes
    Types
  258. def specializesSym(tp: Type, sym: Symbol): Boolean

    Does type tp' implement symbol sym' with same or stronger type? Exact only if sym' is a member of some refinement type, otherwise we might return false negatives.

    Does type tp' implement symbol sym' with same or stronger type? Exact only if sym' is a member of some refinement type, otherwise we might return false negatives.

    Definition Classes
    Types
  259. final def startRun(period: Period): Period

    The period at the start of run that includes period'

  260. implicit def stringToTermName(s: String): TermName

    Definition Classes
    StdNames
  261. def superComment(sym: Symbol): Option[String]

    The cooked doc comment of an overridden symbol

    The cooked doc comment of an overridden symbol

    Attributes
    protected
    Definition Classes
    DocComments
  262. def symbolCount: Int

    Definition Classes
    Symbols
  263. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  264. def toJavaDoc(s: String): String

    Returns the javadoc format of doc comment string s, including wiki expansion

    Returns the javadoc format of doc comment string s, including wiki expansion

    Definition Classes
    DocComments
  265. def toString(): String

    Definition Classes
    AnyRef → Any
  266. object tpnme extends CompilerTypeNames with LibraryTypeNames with TypeNameMangling

    Definition Classes
    StdNames → StdNames
  267. val treeCopy: LazyTreeCopier

    Definition Classes
    Trees
  268. object treeInfo extends TreeInfo

  269. lazy val treePrinter: TreePrinter

    Definition Classes
    Trees
  270. implicit def treeWrapper(tree: Tree): TreeOps

    Definition Classes
    Trees
  271. def typeArgsString(tp: Type): String

    Definition Classes
    TypeDebugging
  272. object typeDebug extends AnyRef

  273. def typeFun(tps: List[Symbol], body: Type): Type

    A creator for a type functions, assuming the type parameters tps already have the right owner

    A creator for a type functions, assuming the type parameters tps already have the right owner

    Definition Classes
    Types
  274. def typeFunAnon(tps: List[Symbol], body: Type): Type

    A creator for anonymous type functions, where the symbol for the type function still needs to be created

    A creator for anonymous type functions, where the symbol for the type function still needs to be created

    TODO: type params of anonymous type functions, which currently can only arise from normalising type aliases, are owned by the type alias of which they are the eta-expansion higher-order subtyping expects eta-expansion of type constructors that arise from a class; here, the type params are owned by that class, but is that the right thing to do?

    Definition Classes
    Types
  275. def typeParamsString(tp: Type): String

    Definition Classes
    TypeDebugging
  276. def typeParamsToExistentials(clazz: Symbol, tparams: List[Symbol]): List[Symbol]

    Definition Classes
    Types
  277. def typeRef(pre: Type, sym: Symbol, args: List[Type]): Type

    The canonical creator for typerefs todo: see how we can clean this up a bit

    The canonical creator for typerefs todo: see how we can clean this up a bit

    Definition Classes
    Types
  278. object typeVarToOriginMap extends TypeMap

    A map to convert every occurrence of a type variable to a wildcard type

  279. val undetBaseTypeSeq: BaseTypeSeq

    A merker object for a base type sequence that's no yet computed.

    A merker object for a base type sequence that's no yet computed. used to catch inheritance cycles

    Definition Classes
    BaseTypeSeqs
  280. object undoLog extends AnyRef

    A log of type variable with their original constraints.

  281. def uniqueTypeCount: Int

    Definition Classes
    Types
  282. def useCases(sym: Symbol): List[(Symbol, String, Position)]

    Definition Classes
    DocComments
  283. def useCases(sym: Symbol, site: Symbol): List[(Symbol, String, Position)]

    The list of use cases of doc comment of symbol sym seen as a member of class site.

    The list of use cases of doc comment of symbol sym seen as a member of class site. Each use case consists of a synthetic symbol (which is entered nowhere else), of an expanded doc comment string, and of its position.

    sym

    The symbol for which use cases are returned

    site

    The class for which doc comments are generated

    Definition Classes
    DocComments
    Exceptions thrown
    ExpansionLimitExceeded

    when more than 10 successive expansions of the same string are done, which is interpreted as a recursive variable definition.

  284. def validatePositions(tree: Tree): Unit

    Definition Classes
    Positions
  285. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  288. def weakGlb(ts: List[Type]): (Type, Boolean)

    Definition Classes
    Types
  289. def weakLub(ts: List[Type]): (Type, Boolean)

    Definition Classes
    Types
  290. object wildcardToTypeVarMap extends TypeMap

    A map to convert every occurrence of a wildcard type to a fresh type variable

  291. def withTypesExplained[A](op: ⇒ A): A

    Execute op' while printing a trace of the operations on types executed.

    Execute op' while printing a trace of the operations on types executed.

    Definition Classes
    Types
  292. def wrappingPos(trees: List[Tree]): Position

    A position that wraps the non-empty set of trees.

    A position that wraps the non-empty set of trees. The point of the wrapping position is the point of the first trees' position. If all some the trees are non-synthetic, returns a range position enclosing the non-synthetic trees Otherwise returns a synthetic offset position to point.

    Definition Classes
    Positions
  293. def wrappingPos(default: Position, trees: List[Tree]): Position

    A position that wraps a set of trees.

    A position that wraps a set of trees. The point of the wrapping position is the point of the default position. If some of the trees are ranges, returns a range position enclosing all ranges Otherwise returns default position.

    Definition Classes
    Positions

Deprecated Value Members

  1. def view(s: String): TermName

    Definition Classes
    Names
    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0)

Inherited from TypeDebugging

Inherited from DocComments

Inherited from Positions

Inherited from TreePrinters

Inherited from Trees

Inherited from AnnotationCheckers

Inherited from AnnotationInfos

Inherited from StdNames

Inherited from NameManglers

Inherited from InfoTransformers

Inherited from BaseTypeSeqs

Inherited from Definitions

Inherited from Scopes

Inherited from Types

Inherited from Symbols

Inherited from Names

Inherited from Universe

Inherited from StandardDefinitions

Inherited from AnnotationInfos

Inherited from Trees

Inherited from StdNames

Inherited from Names

Inherited from Scopes

Inherited from Constants

Inherited from Types

Inherited from Symbols

Inherited from AnyRef

Inherited from Any