scala.tools.nsc.interactive

Global

class Global extends Global with CompilerControl with RangePositions with ContextTrees with RichCompilationUnits with ScratchPadMaker with Picklers

The main class of the presentation compiler in an interactive environment such as an IDE

Source
Global.scala
Linear Supertypes
Picklers, ScratchPadMaker, RichCompilationUnits, ContextTrees, RangePositions, CompilerControl, Global, Positions, DocComments, Printers, Trees, PhaseAssembly, Plugins, CompilationUnits, SymbolTable, SymbolTable, BuildUtils, StdCreators, StdAttachments, CapturedVariables, Required, Importers, TypeDebugging, Positions, Printers, Trees, AnnotationCheckers, AnnotationInfos, StdNames, Transforms, InfoTransformers, BaseTypeSeqs, Constants, Definitions, Mirrors, Scopes, FlagSets, ExistentialsAndSkolems, Kinds, Types, Symbols, Names, Collections, Universe, Universe, AnnotationInfos, Exprs, Importers, StandardNames, StandardDefinitions, Mirrors, Positions, Constants, Printers, Trees, Names, FlagSets, Types, Symbols, Universe, Mirrors, BuildUtils, StandardNames, StandardDefinitions, StandardTypes, TagInterop, TypeTags, Positions, AnnotationInfos, Constants, Trees, Names, Scopes, FlagSets, Types, Symbols, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Global
  2. Picklers
  3. ScratchPadMaker
  4. RichCompilationUnits
  5. ContextTrees
  6. RangePositions
  7. CompilerControl
  8. Global
  9. Positions
  10. DocComments
  11. Printers
  12. Trees
  13. PhaseAssembly
  14. Plugins
  15. CompilationUnits
  16. SymbolTable
  17. SymbolTable
  18. BuildUtils
  19. StdCreators
  20. StdAttachments
  21. CapturedVariables
  22. Required
  23. Importers
  24. TypeDebugging
  25. Positions
  26. Printers
  27. Trees
  28. AnnotationCheckers
  29. AnnotationInfos
  30. StdNames
  31. Transforms
  32. InfoTransformers
  33. BaseTypeSeqs
  34. Constants
  35. Definitions
  36. Mirrors
  37. Scopes
  38. FlagSets
  39. ExistentialsAndSkolems
  40. Kinds
  41. Types
  42. Symbols
  43. Names
  44. Collections
  45. Universe
  46. Universe
  47. AnnotationInfos
  48. Exprs
  49. Importers
  50. StandardNames
  51. StandardDefinitions
  52. Mirrors
  53. Positions
  54. Constants
  55. Printers
  56. Trees
  57. Names
  58. FlagSets
  59. Types
  60. Symbols
  61. Universe
  62. Mirrors
  63. BuildUtils
  64. StandardNames
  65. StandardDefinitions
  66. StandardTypes
  67. TagInterop
  68. TypeTags
  69. Positions
  70. AnnotationInfos
  71. Constants
  72. Trees
  73. Names
  74. Scopes
  75. FlagSets
  76. Types
  77. Symbols
  78. AnyRef
  79. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Global(settings: Settings, _reporter: Reporter, projectName: String = "")

Type Members

  1. type AbstractFileType = AbstractFile

    Definition Classes
    Global → Required
  2. case class AskInstrumentedItem(source: SourceFile, line: Int, response: Response[(String, Array[Char])]) extends WorkItem with Product with Serializable

    Definition Classes
    CompilerControl
  3. case class AskLinkPosItem(sym: Symbol, source: SourceFile, response: Response[Position]) extends WorkItem with Product with Serializable

    Definition Classes
    CompilerControl
  4. case class AskLoadedTypedItem(source: SourceFile, response: Response[Tree]) extends WorkItem with Product with Serializable

    Definition Classes
    CompilerControl
  5. case class AskParsedEnteredItem(source: SourceFile, keepLoaded: Boolean, response: Response[Tree]) extends WorkItem with Product with Serializable

    Definition Classes
    CompilerControl
  6. case class AskScopeCompletionItem(pos: Position, response: Response[List[Member]]) extends WorkItem with Product with Serializable

    Definition Classes
    CompilerControl
  7. class AskToDoFirstItem extends WorkItem

    Definition Classes
    CompilerControl
  8. case class AskTypeAtItem(pos: Position, response: Response[Tree]) extends WorkItem with Product with Serializable

    Definition Classes
    CompilerControl
  9. case class AskTypeCompletionItem(pos: Position, response: Response[List[Member]]) extends WorkItem with Product with Serializable

    Definition Classes
    CompilerControl
  10. case class AskTypeItem(source: SourceFile, forceReload: Boolean, response: Response[Tree]) extends WorkItem with Product with Serializable

    Definition Classes
    CompilerControl
  11. case class ChangeAfterPhase[+T](ph: Phase, lost: List[T], gained: List[T]) extends Product with Serializable

    Definition Classes
    Global
  12. class CompactTreePrinter extends TreePrinter

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

  13. class CompilationUnit extends AnyRef

    One unit of compilation that has been submitted to the compiler.

  14. class ConditionalWarning extends AnyRef

    Collects for certain classes of warnings during this run.

  15. type Context = Context

    Definition Classes
    ContextTrees
  16. class ContextTree extends AnyRef

    A context tree contains contexts that are indexed by positions.

  17. type Contexts = ArrayBuffer[ContextTree]

    Definition Classes
    ContextTrees
  18. class DependencyGraph extends AnyRef

    Aux datastructure for solving the constraint system The depency graph container with helper methods for node and edge creation

  19. type Diff = (Int, Int, String)

    Definition Classes
    Picklers
  20. case class DocComment(raw: String, pos: Position, codePos: Position) extends Product with Serializable

    Definition Classes
    DocComments
  21. case class DocDef(comment: DocComment, definition: Tree) extends Tree with Product with Serializable

    Documented definition, eliminated by analyzer

  22. class ExpansionLimitExceeded extends Exception

    Definition Classes
    DocComments
  23. case class FilesDeletedItem(sources: List[SourceFile], response: Response[Unit]) extends WorkItem with Product with Serializable

    Definition Classes
    CompilerControl
  24. type FlagSet = Long

    Definition Classes
    FlagSets → FlagSets
  25. class GlobalMirror extends Roots

    Definition Classes
    Global
  26. abstract class GlobalPhase extends Phase

    Definition Classes
    Global
  27. case class InjectDerivedValue(arg: Tree) extends Tree with SymTree with Product with Serializable

    Derived value class injection (equivalent to: new C(arg) after easure); only used during erasure The class C is stored as the symbol of the tree node.

  28. class LazyTreeCopier extends LazyTreeCopier with TreeCopier

    Definition Classes
    Trees → Trees
  29. class Locator extends Traverser

    A locator for trees with given positions.

  30. abstract class Member extends AnyRef

    Info given for every member found by completion

  31. type MethodSymbolApi = MethodSymbolBase

    Definition Classes
    Symbols
  32. abstract type Mirror >: Null <: RootsBase

    Definition Classes
    Mirrors
  33. type ModuleSymbolApi = ModuleSymbolBase

    Definition Classes
    Symbols
  34. class NoWorkScheduler extends WorkScheduler

    A do-nothing work scheduler that responds immediately with MissingResponse.

  35. class OnTypeError[T] extends AnyRef

  36. type OptClassPath = Option[PlatformClassPath]

    Definition Classes
    Global
  37. case class Parens(args: List[Tree]) extends Tree with Product with Serializable

    Only used during parsing

  38. type Period = Int

    Definition Classes
    SymbolTable
  39. type PlatformClassPath = ClassPath[BinaryRepr]

    Definition Classes
    Global
  40. type Position = Position

    Definition Classes
    Positions → Positions → Positions
  41. class PostfixSelect extends Select

    Definition Classes
    Trees
  42. case class Range(pos: Position, tree: Tree) extends Product with Serializable

    Definition Classes
    RangePositions
  43. case class ReloadItem(sources: List[SourceFile], response: Response[Unit]) extends WorkItem with Product with Serializable

    Definition Classes
    CompilerControl
  44. type Response[T] = Response[T]

    Definition Classes
    CompilerControl
  45. class ResponseMap extends MultiHashMap[SourceFile, Response[Tree]]

  46. class RichCompilationUnit extends CompilationUnit

    Definition Classes
    RichCompilationUnits
  47. class Run extends AnyRef

    A Run is a single execution of the compiler on a sets of units

  48. type RunId = Int

    Definition Classes
    SymbolTable
  49. abstract type RuntimeClass >: Null

    Definition Classes
    Mirrors
  50. 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.

  51. case class ScopeMember(sym: Symbol, tpe: Type, accessible: Boolean, viaImport: Tree) extends Member with Product with Serializable

    Definition Classes
    CompilerControl
  52. case class SelectFromArray(qualifier: Tree, name: Name, erasure: Type) extends Tree with TermTree with RefTree with Product with Serializable

    Array selection <qualifier> .

  53. class StrictTreeCopier extends StrictTreeCopier with TreeCopier

    Definition Classes
    Trees → Trees
  54. type ThisPlatform = Platform { val global: Global.this.type }

    Definition Classes
    Global
  55. class Transformer extends Transformer

    Definition Classes
    Trees → Trees
  56. trait TreeCopier extends TreeCopierOps

    Definition Classes
    Trees → Trees
  57. type TreeGen = TreeGen

    Generate ASTs

    Generate ASTs

    Definition Classes
    Global
  58. class TreeMatchTemplate extends AnyRef

    Definition Classes
    Printers
  59. class TreePrinter extends TreePrinter

    Definition Classes
    Printers → Printers → Printers
  60. class TreeReplacer extends Transformer

    A transformer that replaces tree from with tree to in a given tree

  61. case class TypeMember(sym: Symbol, tpe: Type, accessible: Boolean, inherited: Boolean, viaView: Symbol) extends Member with Product with Serializable

    Definition Classes
    CompilerControl
  62. case class TypeTreeWithDeferredRefCheck(check: () ⇒ TypeTree) extends Tree with TypTree with Product with Serializable

    emitted by typer, eliminated by refchecks

  63. class TypedLocator extends Locator

    Definition Classes
    RangePositions
  64. class TyperResult extends Throwable with ControlThrowable

  65. class TyperRun extends Run

    The typer run

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

    Definition Classes
    DocComments
  67. class ValidateException extends Exception

    Definition Classes
    RangePositions
  68. class ValidatingPosAssigner extends Traverser with PosAssigner

    Definition Classes
    Positions
  69. case class WorkEvent(atNode: Int, atMillis: Long) extends Product with Serializable

  70. abstract class WorkItem extends () ⇒ Unit

    Definition Classes
    CompilerControl
  71. abstract type _81.type <: Erasure { val global: Global.this.type } with Singleton

    Definition Classes
    Transforms

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. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from Global to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (Global, B)

    Implicit information
    This member is added by an implicit conversion from Global to ArrowAssoc[Global] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. implicit val AlternativeTag: ClassTag[Alternative]

    Definition Classes
    Trees → Trees
  9. implicit val AnnotatedTag: ClassTag[Annotated]

    Definition Classes
    Trees → Trees
  10. implicit val AnnotatedTypeTag: ClassTag[AnnotatedType]

    Definition Classes
    Types → Types
  11. implicit val AnnotationInfoTag: ClassTag[AnnotationInfo]

    Definition Classes
    AnnotationInfos → AnnotationInfos
  12. lazy val AnyRefTpe: Type

    Definition Classes
    Definitions → StandardTypes
  13. lazy val AnyTpe: Type

    Definition Classes
    Definitions → StandardTypes
  14. lazy val AnyValTpe: Type

    Definition Classes
    Definitions → StandardTypes
  15. implicit val AppliedTypeTreeTag: ClassTag[AppliedTypeTree]

    Definition Classes
    Trees → Trees
  16. def Apply(sym: Symbol, args: Tree*): Tree

    Definition Classes
    Trees → Trees
  17. def ApplyConstructor(tpt: Tree, args: List[Tree]): Apply

    Definition Classes
    Trees → Trees
  18. implicit val ApplyDynamicTag: ClassTag[ApplyDynamic]

    Definition Classes
    Trees → Trees
  19. implicit val ApplyTag: ClassTag[Apply]

    Definition Classes
    Trees → Trees
  20. implicit val ArrayAnnotArgTag: ClassTag[ArrayAnnotArg]

    Definition Classes
    AnnotationInfos → AnnotationInfos
  21. implicit val ArrayValueTag: ClassTag[ArrayValue]

    Definition Classes
    Trees → Trees
  22. implicit val AssignOrNamedArgTag: ClassTag[AssignOrNamedArg]

    Definition Classes
    Trees → Trees
  23. implicit val AssignTag: ClassTag[Assign]

    Definition Classes
    Trees → Trees
  24. def Bind(sym: Symbol, body: Tree): Bind

    Definition Classes
    Trees → Trees
  25. implicit val BindTag: ClassTag[Bind]

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

    Definition Classes
    Trees → Trees
  27. implicit val BlockTag: ClassTag[Block]

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

    Definition Classes
    Constants
  29. lazy val BooleanTpe: Type

    Definition Classes
    Definitions → StandardTypes
  30. implicit val BoundedWildcardTypeTag: ClassTag[BoundedWildcardType]

    Definition Classes
    Types → Types
  31. final val ByteTag: Int(3)

    Definition Classes
    Constants
  32. lazy val ByteTpe: Type

    Definition Classes
    Definitions → StandardTypes
  33. def CaseDef(pat: Tree, body: Tree): CaseDef

    Definition Classes
    Trees → Trees
  34. implicit val CaseDefTag: ClassTag[CaseDef]

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

    Definition Classes
    Constants
  36. lazy val CharTpe: Type

    Definition Classes
    Definitions → StandardTypes
  37. 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
  38. def ClassDef(sym: Symbol, impl: Template): ClassDef

    Definition Classes
    Trees → Trees
  39. implicit val ClassDefTag: ClassTag[ClassDef]

    Definition Classes
    Trees → Trees
  40. implicit val ClassInfoTypeTag: ClassTag[ClassInfoType]

    Definition Classes
    Types → Types
  41. implicit val ClassSymbolTag: ClassTag[ClassSymbol]

    Definition Classes
    Symbols → Symbols
  42. implicit val ClassfileAnnotArgTag: ClassTag[ClassfileAnnotArg]

    Definition Classes
    AnnotationInfos → AnnotationInfos
  43. final val ClazzTag: Int(12)

    Definition Classes
    Constants
  44. implicit val CompoundTypeTag: ClassTag[CompoundType]

    Definition Classes
    Types → Types
  45. implicit val CompoundTypeTreeTag: ClassTag[CompoundTypeTree]

    Definition Classes
    Trees → Trees
  46. implicit val ConstantTag: ClassTag[Constant]

    Definition Classes
    Constants → Constants
  47. implicit val ConstantTypeTag: ClassTag[ConstantType]

    Definition Classes
    Types → Types
  48. val CyclicInheritance: Throwable

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

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

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

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

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

    Definition Classes
    Trees → Trees
  54. implicit val DefDefTag: ClassTag[DefDef]

    Definition Classes
    Trees → Trees
  55. implicit val DefTreeTag: ClassTag[DefTree]

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

    Definition Classes
    Constants
  57. lazy val DoubleTpe: Type

    Definition Classes
    Definitions → StandardTypes
  58. def EmptyPackageClass: ClassSymbol

    Definition Classes
    Global
  59. def EmptyTermName: TermName

    Definition Classes
    Names
  60. lazy val EmptyTreeTypeSubstituter: TreeTypeSubstituter

    Definition Classes
    Trees
  61. def EmptyTypeName: TypeName

    Definition Classes
    Names
  62. final val EnumTag: Int(13)

    Definition Classes
    Constants
  63. implicit val ExistentialTypeTag: ClassTag[ExistentialType]

    Definition Classes
    Types → Types
  64. implicit val ExistentialTypeTreeTag: ClassTag[ExistentialTypeTree]

    Definition Classes
    Trees → Trees
  65. implicit val FlagSetTag: ClassTag[FlagSet]

    Definition Classes
    FlagSets
  66. final val FloatTag: Int(8)

    Definition Classes
    Constants
  67. lazy val FloatTpe: Type

    Definition Classes
    Definitions → StandardTypes
  68. implicit val FreeTermSymbolTag: ClassTag[FreeTermSymbol]

    Definition Classes
    Symbols → Symbols
  69. implicit val FreeTypeSymbolTag: ClassTag[FreeTypeSymbol]

    Definition Classes
    Symbols → Symbols
  70. implicit val FunctionTag: ClassTag[Function]

    Definition Classes
    Trees → Trees
  71. implicit val GenericApplyTag: ClassTag[GenericApply]

    Definition Classes
    Trees → Trees
  72. val GlbFailure: Throwable

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

    Definition Classes
    Trees → Trees
  74. def Ident(name: String): Ident

    Definition Classes
    Trees → Trees
  75. implicit val IdentTag: ClassTag[Ident]

    Definition Classes
    Trees → Trees
  76. implicit val IfTag: ClassTag[If]

    Definition Classes
    Trees → Trees
  77. implicit val ImplDefTag: ClassTag[ImplDef]

    Definition Classes
    Trees → Trees
  78. implicit val ImportSelectorTag: ClassTag[ImportSelector]

    Definition Classes
    Trees → Trees
  79. implicit val ImportTag: ClassTag[Import]

    Definition Classes
    Trees → Trees
  80. final val IntTag: Int(6)

    Definition Classes
    Constants
  81. lazy val IntTpe: Type

    Definition Classes
    Definitions → StandardTypes
  82. def JavaMethodType(params: List[Symbol], resultType: Type): JavaMethodType

    Definition Classes
    Types
  83. final val JustParsed: Int(-1)

    The status value of a unit that has not yet been typechecked

    The status value of a unit that has not yet been typechecked

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

    Definition Classes
    Trees → Trees
  85. implicit val LabelDefTag: ClassTag[LabelDef]

    Definition Classes
    Trees → Trees
  86. implicit val LiteralAnnotArgTag: ClassTag[LiteralAnnotArg]

    Definition Classes
    AnnotationInfos → AnnotationInfos
  87. implicit val LiteralTag: ClassTag[Literal]

    Definition Classes
    Trees → Trees
  88. final val LongTag: Int(7)

    Definition Classes
    Constants
  89. lazy val LongTpe: Type

    Definition Classes
    Definitions → StandardTypes
  90. implicit val MatchTag: ClassTag[Match]

    Definition Classes
    Trees → Trees
  91. val MaxPhases: Int

    Definition Classes
    Global
  92. implicit val MemberDefTag: ClassTag[MemberDef]

    Definition Classes
    Trees → Trees
  93. implicit val MethodSymbolTag: ClassTag[MethodSymbol]

    Definition Classes
    Symbols → Symbols
  94. implicit val MethodTypeTag: ClassTag[MethodType]

    Definition Classes
    Types → Types
  95. def Modifiers(flags: FlagSet): Modifiers

    Definition Classes
    Trees
  96. def Modifiers(flags: FlagSet, privateWithin: Name): Modifiers

    Definition Classes
    Trees
  97. implicit val ModifiersTag: ClassTag[Modifiers]

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

    Definition Classes
    Trees → Trees
  99. implicit val ModuleDefTag: ClassTag[ModuleDef]

    Definition Classes
    Trees → Trees
  100. implicit val ModuleSymbolTag: ClassTag[ModuleSymbol]

    Definition Classes
    Symbols → Symbols
  101. implicit val NameTag: ClassTag[Name]

    Definition Classes
    Names → Names
  102. implicit val NameTreeTag: ClassTag[NameTree]

    Definition Classes
    Trees → Trees
  103. implicit val NestedAnnotArgTag: ClassTag[NestedAnnotArg]

    Definition Classes
    AnnotationInfos → AnnotationInfos
  104. def New(sym: Symbol, args: Tree*): Tree

    Definition Classes
    Trees → Trees
  105. def New(tpe: Type, args: Tree*): Tree

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

    Definition Classes
    Trees → Trees
  107. implicit val NewTag: ClassTag[New]

    Definition Classes
    Trees → Trees
  108. object NoCompilationUnit extends CompilationUnit

    An object representing a missing compilation unit.

  109. lazy val NoContext: Global.this.analyzer.NoContext.type

    Definition Classes
    ContextTrees
  110. val NoFlags: FlagSet

    Definition Classes
    FlagSets
  111. val NoKindErrors: KindErrors

    Definition Classes
    Kinds
  112. lazy val NoMods: Modifiers

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

    Definition Classes
    SymbolTable
  114. val NoPosition: reflect.internal.util.NoPosition.type

    Definition Classes
    Positions → Positions
  115. final val NoRunId: Int(0)

    Definition Classes
    SymbolTable
  116. lazy val NoSymbol: NoSymbol

    Definition Classes
    Symbols → Symbols
  117. final val NoTag: Int(0)

    Definition Classes
    Constants
  118. final val NotLoaded: Int(-2)

    The status value of a unit that has not yet been loaded

    The status value of a unit that has not yet been loaded

    Definition Classes
    RichCompilationUnits
  119. lazy val NothingTpe: Type

    Definition Classes
    Definitions → StandardTypes
  120. final val NullTag: Int(11)

    Definition Classes
    Constants
  121. lazy val NullTpe: Type

    Definition Classes
    Definitions → StandardTypes
  122. implicit val NullaryMethodTypeTag: ClassTag[NullaryMethodType]

    Definition Classes
    Types → Types
  123. lazy val ObjectTpe: Type

    Definition Classes
    Definitions → StandardTypes
  124. implicit val PackageDefTag: ClassTag[PackageDef]

    Definition Classes
    Trees → Trees
  125. final val PartiallyChecked: Int(0)

    The status value of a unit that has been partially typechecked

    The status value of a unit that has been partially typechecked

    Definition Classes
    RichCompilationUnits
  126. implicit val PolyTypeTag: ClassTag[PolyType]

    Definition Classes
    Types → Types
  127. implicit val PositionTag: ClassTag[Position]

    Definition Classes
    Positions → Positions
  128. implicit val RefTreeTag: ClassTag[RefTree]

    Definition Classes
    Trees → Trees
  129. implicit val ReferenceToBoxedTag: ClassTag[ReferenceToBoxed]

    Definition Classes
    Trees → Trees
  130. implicit val RefinedTypeTag: ClassTag[RefinedType]

    Definition Classes
    Types → Types
  131. implicit val ReturnTag: ClassTag[Return]

    Definition Classes
    Trees → Trees
  132. def RootClass: ClassSymbol

    Definition Classes
    Global
  133. implicit val ScopeTag: ClassTag[Scope]

    Definition Classes
    Scopes → Scopes
  134. def Select(qualifier: Tree, sym: Symbol): Select

    Definition Classes
    Trees → Trees
  135. def Select(qualifier: Tree, name: String): Select

    Definition Classes
    Trees → Trees
  136. implicit val SelectFromTypeTreeTag: ClassTag[SelectFromTypeTree]

    Definition Classes
    Trees → Trees
  137. implicit val SelectTag: ClassTag[Select]

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

    Definition Classes
    Constants
  139. lazy val ShortTpe: Type

    Definition Classes
    Definitions → StandardTypes
  140. implicit val SingleTypeTag: ClassTag[SingleType]

    Definition Classes
    Types → Types
  141. implicit val SingletonTypeTag: ClassTag[SingletonType]

    Definition Classes
    Types → Types
  142. implicit val SingletonTypeTreeTag: ClassTag[SingletonTypeTree]

    Definition Classes
    Trees → Trees
  143. implicit val StarTag: ClassTag[Star]

    Definition Classes
    Trees → Trees
  144. final val StringTag: Int(10)

    Definition Classes
    Constants
  145. def Super(sym: Symbol, mix: TypeName): Tree

    Definition Classes
    Trees → Trees
  146. implicit val SuperTag: ClassTag[Super]

    Definition Classes
    Trees → Trees
  147. implicit val SuperTypeTag: ClassTag[SuperType]

    Definition Classes
    Types → Types
  148. implicit val SymTreeTag: ClassTag[SymTree]

    Definition Classes
    Trees → Trees
  149. implicit val SymbolTag: ClassTag[Symbol]

    Definition Classes
    Symbols → Symbols
  150. 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
  151. implicit val TemplateTag: ClassTag[Template]

    Definition Classes
    Trees → Trees
  152. implicit val TermNameTag: ClassTag[TermName]

    Definition Classes
    Names → Names
  153. implicit val TermSymbolTag: ClassTag[TermSymbol]

    Definition Classes
    Symbols → Symbols
  154. implicit val TermTreeTag: ClassTag[TermTree]

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

    Definition Classes
    Trees → Trees
  156. implicit val ThisTag: ClassTag[This]

    Definition Classes
    Trees → Trees
  157. implicit val ThisTypeTag: ClassTag[ThisType]

    Definition Classes
    Types → Types
  158. def Throw(tpe: Type, args: Tree*): Throw

    Definition Classes
    Trees → Trees
  159. implicit val ThrowTag: ClassTag[Throw]

    Definition Classes
    Trees → Trees
  160. implicit val TreeTag: ClassTag[Tree]

    Definition Classes
    Trees → Trees
  161. def Try(body: Tree, cases: (Tree, Tree)*): Try

    Definition Classes
    Trees → Trees
  162. implicit val TryTag: ClassTag[Try]

    Definition Classes
    Trees → Trees
  163. implicit val TypTreeTag: ClassTag[TypTree]

    Definition Classes
    Trees → Trees
  164. implicit val TypeApplyTag: ClassTag[TypeApply]

    Definition Classes
    Trees → Trees
  165. implicit val TypeBoundsTag: ClassTag[TypeBounds]

    Definition Classes
    Types → Types
  166. implicit val TypeBoundsTreeTag: ClassTag[TypeBoundsTree]

    Definition Classes
    Trees → Trees
  167. def TypeDef(sym: Symbol): TypeDef

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

    Definition Classes
    Trees → Trees
  169. implicit val TypeDefTag: ClassTag[TypeDef]

    Definition Classes
    Trees → Trees
  170. implicit val TypeNameTag: ClassTag[TypeName]

    Definition Classes
    Names → Names
  171. implicit val TypeRefTag: ClassTag[TypeRef]

    Definition Classes
    Types → Types
  172. implicit val TypeSymbolTag: ClassTag[TypeSymbol]

    Definition Classes
    Symbols → Symbols
  173. implicit val TypeTagg: ClassTag[Type]

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

    Definition Classes
    Trees → Trees
  175. implicit val TypeTreeTag: ClassTag[TypeTree]

    Definition Classes
    Trees → Trees
  176. implicit val TypedTag: ClassTag[Typed]

    Definition Classes
    Trees → Trees
  177. implicit val UnApplyTag: ClassTag[UnApply]

    Definition Classes
    Trees → Trees
  178. final val UnitTag: Int(1)

    Definition Classes
    Constants
  179. lazy val UnitTpe: Type

    Definition Classes
    Definitions → StandardTypes
  180. def ValDef(sym: Symbol): ValDef

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

    Definition Classes
    Trees → Trees
  182. implicit val ValDefTag: ClassTag[ValDef]

    Definition Classes
    Trees → Trees
  183. implicit val ValOrDefDefTag: ClassTag[ValOrDefDef]

    Definition Classes
    Trees → Trees
  184. def abort(msg: String): Nothing

    Definition Classes
    Global → SymbolTable
  185. implicit def abstractFile: Pickler[AbstractFile]

    Definition Classes
    Picklers
  186. def abstractTypesToBounds(tp: Type): Type

    Definition Classes
    Types
  187. implicit def action: Pickler[() ⇒ Unit]

    Definition Classes
    Picklers
  188. def adaptAnnotations(tree: Tree, mode: Int, pt: Type): Tree

    Definition Classes
    AnnotationCheckers
  189. def adaptBoundsToAnnotations(bounds: List[TypeBounds], tparams: List[Symbol], targs: List[Type]): List[TypeBounds]

    Definition Classes
    AnnotationCheckers
  190. def addAnnotationChecker(checker: AnnotationChecker): Unit

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

    Definition Classes
    AnnotationCheckers
  192. def addContext(contexts: Contexts, context: Context, cpos: Position): Unit

    Insert a context with non-transparent position cpos at correct position into a buffer of context trees.

    Insert a context with non-transparent position cpos at correct position into a buffer of context trees.

    Definition Classes
    ContextTrees
  193. def addContext(contexts: Contexts, context: Context): Unit

    Insert a context at correct position into a buffer of context trees.

    Insert a context at correct position into a buffer of context trees. If the context has a transparent position, add it multiple times at the positions of all its solid descendant trees.

    Definition Classes
    ContextTrees
  194. implicit def addFlagOps(left: FlagSet): FlagOps

    Definition Classes
    FlagSets → FlagSets
  195. def addMember(thistp: Type, tp: Type, sym: Symbol, depth: Int): Unit

    Definition Classes
    Types
  196. def addMember(thistp: Type, tp: Type, sym: Symbol): Unit

    Definition Classes
    Types
  197. implicit def addOnTypeError[T](x: ⇒ T): OnTypeError[T]

  198. def addSerializable(ps: Type*): List[Type]

    Definition Classes
    Types
  199. def addToPhasesSet(sub: SubComponent, descr: String): Unit

    Attributes
    protected
    Definition Classes
    Global
  200. final def afterCurrentPhase[T](op: ⇒ T): T

    Definition Classes
    SymbolTable
    Annotations
    @inline()
  201. def afterEachPhase[T](op: ⇒ T): List[(Phase, T)]

    Returns List of (phase, value) pairs, including only those where the value compares unequal to the previous phase's value.

    Returns List of (phase, value) pairs, including only those where the value compares unequal to the previous phase's value.

    Definition Classes
    Global
  202. final def afterErasure[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  203. final def afterExplicitOuter[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  204. final def afterFlatten[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  205. final def afterIcode[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  206. final def afterMixin[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  207. final def afterPhase[T](ph: Phase)(op: ⇒ T): T

    Definition Classes
    SymbolTable
    Annotations
    @inline()
  208. final def afterPickler[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  209. final def afterRefchecks[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  210. final def afterSpecialize[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  211. final def afterTyper[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  212. final def afterUncurry[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  213. var allSources: List[SourceFile]

    A list giving all files to be typechecked in the order they should be checked.

    A list giving all files to be typechecked in the order they should be checked.

    Attributes
    protected
  214. object analysis extends TypeFlowAnalysis

    ICode analysis for optimization

  215. lazy val analyzer: Analyzer { val global: Global.this.type }

    Definition Classes
    Global
  216. def annotatedType(annots: List[AnnotationInfo], underlying: Type, selfsym: Symbol): Type

    Definition Classes
    Types
  217. def annotationsConform(tp1: Type, tp2: Type): Boolean

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

    Definition Classes
    AnnotationCheckers
  219. def annotationsLub(tpe: Type, ts: List[Type]): Type

    Definition Classes
    AnnotationCheckers
  220. def appliedType(tyconSym: Symbol, args: Type*): Type

    Definition Classes
    Types
  221. def appliedType(tycon: Type, args: List[Type]): Type

    Definition Classes
    Types → Types
  222. def appliedTypeAsUpperBounds(tycon: Type, args: List[Type]): Type

    Definition Classes
    Types
  223. def arrayToRepeated(tp: Type): Type

    Definition Classes
    SymbolTable
  224. def asCompactString(t: Tree): String

    Definition Classes
    Printers
  225. final def asInstanceOf[T0]: T0

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

    Definition Classes
    Printers
  227. def ask[A](op: () ⇒ A): A

    Asks for a computation to be done quickly on the presentation compiler thread

    Asks for a computation to be done quickly on the presentation compiler thread

    Definition Classes
    CompilerControl
  228. def askFilesDeleted(sources: List[SourceFile], response: Response[Unit]): Unit

    Removes source files and toplevel symbols, and issues a new typer run.

    Removes source files and toplevel symbols, and issues a new typer run. Returns () to syncvar response on completion.

    Definition Classes
    CompilerControl
  229. def askInstrumented(source: SourceFile, line: Int, response: Response[(String, Array[Char])]): Unit

    Set sync var response to a pair consisting of

    Set sync var response to a pair consisting of

    • the fully qualified name of the first top-level object definition in the file. or "" if there are no object definitions.
    • the text of the instrumented program which, when run, prints its output and all defined values in a comment column.
    source

    The source file to be analyzed

    response

    The response.

    Definition Classes
    CompilerControl
  230. def askLinkPos(sym: Symbol, source: SourceFile, response: Response[Position]): Unit

    Sets sync var response to the position of the definition of the given link in the given sourcefile.

    Sets sync var response to the position of the definition of the given link in the given sourcefile.

    sym

    The symbol referenced by the link (might come from a classfile)

    source

    The source file that's supposed to contain the definition

    response

    A response that will be set to the following: If source contains a definition that is referenced by the given link the position of that definition, otherwise NoPosition. Note: This operation does not automatically load source. If source is unloaded, it stays that way.

    Definition Classes
    CompilerControl
  231. implicit def askLinkPosItem: CondPickler[AskLinkPosItem]

    Definition Classes
    Picklers
  232. def askLoadedTyped(source: SourceFile, response: Response[Tree]): Unit

    If source is not yet loaded, loads it, and starts a new run, otherwise continues with current pass.

    If source is not yet loaded, loads it, and starts a new run, otherwise continues with current pass. Waits until source is fully type checked and returns body in response.

    source

    The source file that needs to be fully typed.

    response

    The response, which is set to the fully attributed tree of source. If the unit corresponding to source has been removed in the meantime the a NoSuchUnitError is raised in the response.

    Definition Classes
    CompilerControl
  233. implicit def askLoadedTypedItem: CondPickler[AskLoadedTypedItem]

    Definition Classes
    Picklers
  234. def askParsedEntered(source: SourceFile, keepLoaded: Boolean, response: Response[Tree]): Unit

    Set sync var response to the parse tree of source with all top-level symbols entered.

    Set sync var response to the parse tree of source with all top-level symbols entered.

    source

    The source file to be analyzed

    keepLoaded

    If set to true, source file will be kept as a loaded unit afterwards. If keepLoaded is false the operation is run at low priority, only after everything is brought up to date in a regular type checker run.

    response

    The response.

    Definition Classes
    CompilerControl
  235. implicit def askParsedEnteredItem: CondPickler[AskParsedEnteredItem]

    Definition Classes
    Picklers
  236. def askReload(sources: List[SourceFile], response: Response[Unit]): Unit

    Makes sure a set of compilation units is loaded and parsed.

    Makes sure a set of compilation units is loaded and parsed. Returns () to syncvar response on completion. Afterwards a new background compiler run is started with the given sources at the head of the list of to-be-compiled sources.

    Definition Classes
    CompilerControl
  237. def askReset(): Unit

    Cancels current compiler run and start a fresh one where everything will be re-typechecked (but not re-loaded).

    Cancels current compiler run and start a fresh one where everything will be re-typechecked (but not re-loaded).

    Definition Classes
    CompilerControl
  238. def askScopeCompletion(pos: Position, response: Response[List[Member]]): Unit

    Sets sync var response to list of members that are visible as members of the scope enclosing pos.

    Sets sync var response to list of members that are visible as members of the scope enclosing pos.

    Definition Classes
    CompilerControl
  239. implicit def askScopeCompletionItem: CondPickler[AskScopeCompletionItem]

    Definition Classes
    Picklers
  240. def askShutdown(): Unit

    Tells the compile server to shutdown, and not to restart again

    Tells the compile server to shutdown, and not to restart again

    Definition Classes
    CompilerControl
  241. def askStructure(keepSrcLoaded: Boolean)(source: SourceFile, response: Response[Tree]): Unit

    If source if not yet loaded, get an outline view with askParseEntered.

    If source if not yet loaded, get an outline view with askParseEntered. If source is loaded, wait for it to be typechecked. In both cases, set response to parsed (and possibly typechecked) tree.

    keepSrcLoaded

    If set to true, source file will be kept as a loaded unit afterwards.

    Definition Classes
    CompilerControl
  242. def askToDoFirst(source: SourceFile): Unit

    Asks to do unit corresponding to given source file on present and subsequent type checking passes.

    Asks to do unit corresponding to given source file on present and subsequent type checking passes. If the file is in the 'crashedFiles' ignore list it is removed and typechecked normally.

    Definition Classes
    CompilerControl
  243. implicit def askToDoFirstItem: CondPickler[AskToDoFirstItem]

    Definition Classes
    Picklers
  244. def askType(source: SourceFile, forceReload: Boolean, response: Response[Tree]): Unit

    Sets sync var response to the fully attributed & typechecked tree contained in source.

    Sets sync var response to the fully attributed & typechecked tree contained in source.

    Definition Classes
    CompilerControl
  245. def askTypeAt(pos: Position, response: Response[Tree]): Unit

    Sets sync var response to the smallest fully attributed tree that encloses position pos.

    Sets sync var response to the smallest fully attributed tree that encloses position pos. Note: Unlike for most other ask... operations, the source file belonging to pos needs not be loaded.

    Definition Classes
    CompilerControl
  246. implicit def askTypeAtItem: CondPickler[AskTypeAtItem]

    Definition Classes
    Picklers
  247. def askTypeCompletion(pos: Position, response: Response[List[Member]]): Unit

    Sets sync var response to list of members that are visible as members of the tree enclosing pos, possibly reachable by an implicit.

    Sets sync var response to list of members that are visible as members of the tree enclosing pos, possibly reachable by an implicit.

    Definition Classes
    CompilerControl
  248. implicit def askTypeCompletionItem: CondPickler[AskTypeCompletionItem]

    Definition Classes
    Picklers
  249. implicit def askTypeItem: CondPickler[AskTypeItem]

    Definition Classes
    Picklers
  250. final def assert(assertion: Boolean): Unit

    Definition Classes
    Global
    Annotations
    @inline()
  251. final def assert(assertion: Boolean, message: ⇒ Any): Unit

    Definition Classes
    Global
    Annotations
    @inline()
  252. final def atPhase[T](ph: Phase)(op: ⇒ T): T

    Definition Classes
    SymbolTable
    Annotations
    @inline()
  253. final def atPhaseNotLaterThan[T](target: Phase)(op: ⇒ T): T

    Definition Classes
    SymbolTable
    Annotations
    @inline()
  254. final def atPhaseStack: List[Phase]

    Definition Classes
    SymbolTable
  255. def atPhaseStackMessage: String

    Definition Classes
    SymbolTable
  256. def atPos[T <: Tree](pos: Position)(tree: T): T

    Position a tree.

    Position a tree. This means: Set position of a node and position all its unpositioned children.

    Definition Classes
    RangePositions → Positions → Positions
  257. def backquotedPath(t: Tree): String

    Definition Classes
    Printers
  258. def baseTypeOfNonClassTypeRef(tpe: NonClassTypeRef, clazz: Symbol): Type

    Attributes
    protected
    Definition Classes
    Types
  259. def baseTypeSingletonSeq(tp: Type): BaseTypeSeq

    Definition Classes
    BaseTypeSeqs
  260. final def beforeErasure[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  261. final def beforeExplicitOuter[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  262. final def beforeFlatten[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  263. final def beforeIcode[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  264. final def beforeMixin[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  265. final def beforePhase[T](ph: Phase)(op: ⇒ T): T

    Definition Classes
    SymbolTable
    Annotations
    @inline()
  266. final def beforePickler[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  267. final def beforePrevPhase[T](op: ⇒ T): T

    Definition Classes
    SymbolTable
    Annotations
    @inline()
  268. final def beforeRefchecks[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  269. final def beforeSpecialize[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  270. final def beforeTyper[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  271. final def beforeUncurry[T](op: ⇒ T): T

    Definition Classes
    Global
    Annotations
    @inline()
  272. def beginsWithTypeVarOrIsRefined(tp: Type): Boolean

    Definition Classes
    Types
  273. val build: BuildBase

    Definition Classes
    BuildUtils → BuildUtils
  274. def buildCompilerFromPhasesSet(): List[SubComponent]

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

    Definition Classes
    AnnotationCheckers
  276. def captureVariable(vble: Symbol): Unit

    Definition Classes
    CapturedVariables
  277. def capturedVariableType(vble: Symbol, tpe: Type, erasedTypes: Boolean): Type

    Definition Classes
    CapturedVariables
  278. def capturedVariableType(vble: Symbol): Type

    Definition Classes
    CapturedVariables
  279. def changesAfterEachPhase[T](op: ⇒ List[T]): List[ChangeAfterPhase[T]]

    Returns List of ChangeAfterPhase objects, encapsulating those phase transitions where the result of the operation gave a different list than it had when run during the previous phase.

    Returns List of ChangeAfterPhase objects, encapsulating those phase transitions where the result of the operation gave a different list than it had when run during the previous phase.

    Definition Classes
    Global
  280. def checkForMoreWork(pos: Position): Unit

    Attributes
    protected
  281. def checkKindBounds0(tparams: List[Symbol], targs: List[Type], pre: Type, owner: Symbol, explainErrors: Boolean): List[(Type, Symbol, KindErrors)]

    Definition Classes
    Kinds
  282. def checkNoResponsesOutstanding(): Unit

  283. var chrs: Array[Char]

    Definition Classes
    Names
  284. def classPath: PlatformClassPath

    Definition Classes
    Global
  285. object cleanup extends CleanUp

    Definition Classes
    Global
  286. def clearIgnoredFiles(): Unit

    Flush the buffer of sources that are ignored during background compilation.

  287. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  288. def cloneSymbols(syms: List[Symbol]): List[Symbol]

    Definition Classes
    Symbols
  289. def cloneSymbolsAndModify(syms: List[Symbol], infoFn: (Type) ⇒ Type): List[Symbol]

    Definition Classes
    Symbols
  290. def cloneSymbolsAtOwner(syms: List[Symbol], owner: Symbol): List[Symbol]

    Definition Classes
    Symbols
  291. def cloneSymbolsAtOwnerAndModify(syms: List[Symbol], owner: Symbol, infoFn: (Type) ⇒ Type): List[Symbol]

    Definition Classes
    Symbols
  292. object closureElimination extends ClosureElimination

    Definition Classes
    Global
  293. final def collectMap2[A, B, C](xs1: List[A], xs2: List[B])(p: (A, B) ⇒ Boolean): Map[A, B]

    Definition Classes
    Collections
  294. def commonOwnerMap: CommonOwnerMap

    Attributes
    protected
    Definition Classes
    Types
  295. final def compareLengths(xs1: List[_], xs2: List[_]): Int

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

    Definition Classes
    BaseTypeSeqs
  297. def computeInternalPhases(): Unit

    Add the internal compiler phases to the phases set.

    Add the internal compiler phases to the phases set. This implementation creates a description map at the same time.

    Attributes
    protected
    Definition Classes
    Global
  298. def computePhaseDescriptors: List[SubComponent]

    Attributes
    protected
    Definition Classes
    Global
  299. def computePlatformPhases(): Unit

    Attributes
    protected
    Definition Classes
    Global
  300. def computePluginPhases(): Unit

    Extract all phases supplied by plugins and add them to the phasesSet.

    Extract all phases supplied by plugins and add them to the phasesSet.

    Attributes
    protected
    Definition Classes
    Plugins
    See also

    phasesSet

  301. def connectModuleToClass(m: ModuleSymbol, moduleClass: ClassSymbol): ModuleSymbol

    Definition Classes
    Symbols
  302. object constfold extends ConstantFolder

    Fold constants

  303. object constructors extends Constructors

    Definition Classes
    Global
  304. def containsExistential(tpe: Type): Boolean

    Definition Classes
    Types
  305. 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
  306. var cookedDocComments: Map[Symbol, String]

    Definition Classes
    DocComments
  307. def copyClassDef(tree: Tree)(mods: Modifiers, name: Name, tparams: List[TypeDef], impl: Template): ClassDef

    Definition Classes
    Trees
  308. def copyDefDef(tree: Tree)(mods: Modifiers, name: Name, tparams: List[TypeDef], vparamss: List[List[ValDef]], tpt: Tree, rhs: Tree): DefDef

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

    Definition Classes
    Types
  310. object copyPropagation extends CopyPropagation

    Copy propagation for optimization

  311. def copyRefinedType(original: RefinedType, parents: List[Type], decls: Scope): Type

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

    Definition Classes
    Types
  313. def copyValDef(tree: Tree)(mods: Modifiers, name: Name, tpt: Tree, rhs: Tree): ValDef

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

    Definition Classes
    Collections
    Annotations
    @tailrec()
  315. def createFromClonedSymbols[T](syms: List[Symbol], tpe: Type)(creator: (List[Symbol], Type) ⇒ T): T

    Definition Classes
    Symbols
  316. def createFromClonedSymbolsAtOwner[T](syms: List[Symbol], owner: Symbol, tpe: Type)(creator: (List[Symbol], Type) ⇒ T): T

    Definition Classes
    Symbols
  317. def createJavadoc: Boolean

    Definition Classes
    Global
  318. final def currentPeriod: Period

    Definition Classes
    SymbolTable
  319. def currentRun: Run

    The currently active run

    The currently active run

    Definition Classes
    Global
  320. def currentRunId: Int

    The id of the currently active run

    The id of the currently active run

    Definition Classes
    Global → SymbolTable
  321. var currentSettings: Settings

    Definition Classes
    Global
  322. def currentSource: SourceFile

    Definition Classes
    Global
  323. def currentUnit: CompilationUnit

    Definition Classes
    Global
  324. object deadCode extends DeadCodeElimination

    Definition Classes
    Global
  325. val debugIDE: Boolean

  326. def debugInfo(source: SourceFile, start: Int, length: Int): String

  327. final def debugLog(msg: ⇒ String): Unit

    Print msg only when debugIDE is true.

    Print msg only when debugIDE is true.

    Annotations
    @inline()
  328. def debugStack(t: Throwable): Unit

    Definition Classes
    SymbolTable
  329. def debugString(tp: Type): String

    Definition Classes
    TypeDebugging
  330. final def debuglog(msg: ⇒ String): Unit

    Definition Classes
    Global → SymbolTable
    Annotations
    @inline()
  331. final def debugwarn(msg: ⇒ String): Unit

    Definition Classes
    Global → SymbolTable
    Annotations
    @inline()
  332. def decodedSymName(tree: Tree, name: Name): String

    Definition Classes
    Printers
  333. def defaultThrowable[T <: Throwable]: CondPickler[T]

    Definition Classes
    Picklers
  334. def defineBaseClassesOfCompoundType(tpe: CompoundType): Unit

    Attributes
    protected
    Definition Classes
    Types
  335. def defineBaseTypeSeqOfCompoundType(tpe: CompoundType): Unit

    Attributes
    protected
    Definition Classes
    Types
  336. def defineBaseTypeSeqOfTypeRef(tpe: TypeRef): Unit

    Attributes
    protected
    Definition Classes
    Types
  337. def defineParentsOfTypeRef(tpe: TypeRef): Unit

    Attributes
    protected
    Definition Classes
    Types
  338. def defineUnderlyingOfSingleType(tpe: SingleType): Unit

    Attributes
    protected
    Definition Classes
    Types
  339. val deletedTopLevelSyms: LinkedHashSet[Symbol] with SynchronizedSet[Symbol]

    The top level classes and objects no longer seen in the presentation compiler

  340. def delta(f: AbstractFile, cs: Array[Char]): (Int, Int, String)

    Definition Classes
    Picklers
  341. def demandNewCompilerRun(): Unit

  342. object dependencyAnalysis extends SubComponent with DependencyAnalysis

    Definition Classes
    Global
  343. def deriveCaseDef(cdef: Tree)(applyToBody: (Tree) ⇒ Tree): CaseDef

    Definition Classes
    Trees
  344. def deriveClassDef(cdef: Tree)(applyToImpl: (Template) ⇒ Template): ClassDef

    Definition Classes
    Trees
  345. def deriveDefDef(ddef: Tree)(applyToRhs: (Tree) ⇒ Tree): DefDef

    Definition Classes
    Trees
  346. def deriveFreshSkolems(tparams: List[Symbol]): List[Symbol]

    Definition Classes
    ExistentialsAndSkolems
  347. def deriveLabelDef(ldef: Tree)(applyToRhs: (Tree) ⇒ Tree): LabelDef

    Definition Classes
    Trees
  348. def deriveModuleDef(mdef: Tree)(applyToImpl: (Template) ⇒ Template): ModuleDef

    Definition Classes
    Trees
  349. def deriveSymbols(syms: List[Symbol], symFn: (Symbol) ⇒ Symbol): List[Symbol]

    Definition Classes
    Symbols
  350. def deriveTemplate(templ: Tree)(applyToBody: (List[Tree]) ⇒ List[Tree]): Template

    Definition Classes
    Trees
  351. def deriveType(syms: List[Symbol], symFn: (Symbol) ⇒ Symbol)(tpe: Type): Type

    Definition Classes
    Symbols
  352. def deriveTypeWithWildcards(syms: List[Symbol])(tpe: Type): Type

    Definition Classes
    Symbols
  353. def deriveValDef(vdef: Tree)(applyToRhs: (Tree) ⇒ Tree): ValDef

    Definition Classes
    Trees
  354. def describeAfterEachPhase[T](op: ⇒ T): List[String]

    Definition Classes
    Global
  355. def describeAfterEveryPhase[T](op: ⇒ T): String

    Definition Classes
    Global
  356. def deskolemizeTypeParams(tparams: List[Symbol])(tp: Type): Type

    Definition Classes
    ExistentialsAndSkolems
  357. def differentOrNone(tp1: Type, tp2: Type): Type

    Definition Classes
    Types
  358. final def distinctBy[A, B](xs: List[A])(f: (A) ⇒ B): List[A]

    Definition Classes
    Collections
  359. def doInvalidation(): Any

    Invalidate contents of setting -Yinvalidate

    Invalidate contents of setting -Yinvalidate

    Definition Classes
    Global
  360. def doLocateContext(pos: Position): Context

    Returns the smallest context that contains given pos, throws FatalError if none exists.

    Returns the smallest context that contains given pos, throws FatalError if none exists.

    Definition Classes
    CompilerControl
  361. 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
  362. 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
  363. val docComments: HashMap[Symbol, DocComment]

    The raw doc comment map

    The raw doc comment map

    Definition Classes
    DocComments
  364. def echoPhaseSummary(ph: Phase): Unit

    Definition Classes
    Global
  365. def elimAnonymousClass(t: Type): Type

    Definition Classes
    Types
  366. def elimRefinement(t: Type): Type

    Definition Classes
    Types
  367. implicit def emptyAction: CondPickler[EmptyAction]

    Definition Classes
    Picklers
  368. val emptySymbolArray: Array[Symbol]

    Definition Classes
    Symbols
  369. def enableIgnoredFile(file: AbstractFile): Unit

    Remove a crashed file from the ignore buffer.

    Remove a crashed file from the ignore buffer. Background compilation will take it into account and errors will be reported against it.

  370. val enableTypeVarExperimentals: Boolean

    Attributes
    protected
    Definition Classes
    Global → Types
  371. def encode(str: String): TermName

    Definition Classes
    StdNames
  372. 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
    RangePositions → Positions
  373. def ensuring(cond: (Global) ⇒ Boolean, msg: ⇒ Any): Global

    Implicit information
    This member is added by an implicit conversion from Global to Ensuring[Global] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  374. def ensuring(cond: (Global) ⇒ Boolean): Global

    Implicit information
    This member is added by an implicit conversion from Global to Ensuring[Global] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  375. def ensuring(cond: Boolean, msg: ⇒ Any): Global

    Implicit information
    This member is added by an implicit conversion from Global to Ensuring[Global] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  376. def ensuring(cond: Boolean): Global

    Implicit information
    This member is added by an implicit conversion from Global to Ensuring[Global] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  377. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  379. object erasure extends Erasure

    Definition Classes
    Global → Transforms
  380. def error(msg: String): Unit

    Definition Classes
    Global
  381. val etaExpandKeepsStar: Boolean

    Attributes
    protected
    Definition Classes
    Global → Types
  382. def existentialAbstraction(tparams: List[Symbol], tpe0: Type): Type

    Definition Classes
    Types → Types
  383. def existentialsInType(tpe: Type): List[Symbol]

    Definition Classes
    Types
  384. final def exists2[A, B](xs1: List[A], xs2: List[B])(f: (A, B) ⇒ Boolean): Boolean

    Definition Classes
    Collections
  385. def expandInheritdoc(parent: String, child: String, sym: Symbol): String

    Expand inheritdoc tags

    Expand inheritdoc tags

    • for the main comment we transform the inheritdoc into the super variable, and the variable expansion can expand it further
    • for the param, tparam and throws sections we must replace comments on the spot

    This is done separately, for two reasons: 1. It takes longer to run compared to merge 2. The inheritdoc annotation should not be used very often, as building the comment from pieces severely impacts performance

    parent

    The source (or parent) comment

    child

    The child (overriding member or usecase) comment

    sym

    The child symbol

    returns

    The child comment with the inheritdoc sections expanded

    Definition Classes
    DocComments
  386. 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
  387. 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
  388. 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
  389. 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.

  390. def explain[T](op: String, p: (Type, T) ⇒ Boolean, tp1: Type, arg2: T): Boolean

    Attributes
    protected
    Definition Classes
    Types
  391. def explainContext(c: Context): String

    Definition Classes
    Global
  392. def explainTree(t: Tree): String

    Definition Classes
    Global
  393. def explainTypes(op: (Type, Type) ⇒ Any, found: Type, required: Type): Unit

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

    Definition Classes
    Types
  395. object explicitOuter extends ExplicitOuter

    Definition Classes
    Global
  396. object extensionMethods extends ExtensionMethods

    Definition Classes
    Global
  397. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  398. def findMemberFromRoot(fullName: Name): Symbol

    Definition Classes
    Global
  399. final def findOrElse[A](xs: TraversableOnce[A])(p: (A) ⇒ Boolean)(orElse: ⇒ A): A

    Definition Classes
    Collections
  400. def findOverlapping(cts: List[Tree]): List[(Tree, Tree)]

    Does given list of trees have mutually non-overlapping positions? pre: None of the trees is transparent

    Does given list of trees have mutually non-overlapping positions? pre: None of the trees is transparent

    Definition Classes
    RangePositions
  401. def findRecursiveBounds(ts: List[Type]): List[(Symbol, Symbol)]

    Definition Classes
    Types
  402. final def flatCollect[A, B](elems: List[A])(pf: PartialFunction[A, Traversable[B]]): List[B]

    Definition Classes
    Collections
  403. final def flatMap2[A, B, C](xs1: List[A], xs2: List[B])(f: (A, B) ⇒ List[C]): List[C]

    Definition Classes
    Collections
  404. object flatten extends Flatten

    Definition Classes
    Global
  405. final def flattensToEmpty(xss: Seq[Seq[_]]): Boolean

    Definition Classes
    Collections
    Annotations
    @tailrec()
  406. def forInteractive: Boolean

    Definition Classes
    GlobalGlobal → Required
  407. def forJVM: Boolean

    Definition Classes
    Global
  408. def forMSIL: Boolean

    Definition Classes
    Global → SymbolTable
  409. def forScaladoc: Boolean

    Definition Classes
    Global → Required
  410. final def forall2[A, B](xs1: List[A], xs2: List[B])(f: (A, B) ⇒ Boolean): Boolean

    Definition Classes
    Collections
  411. final def forall3[A, B, C](xs1: List[A], xs2: List[B], xs3: List[C])(f: (A, B, C) ⇒ Boolean): Boolean

    Definition Classes
    Collections
  412. final def foreach2[A, B](xs1: List[A], xs2: List[B])(f: (A, B) ⇒ Unit): Unit

    Definition Classes
    Collections
  413. final def foreach3[A, B, C](xs1: List[A], xs2: List[B], xs3: List[C])(f: (A, B, C) ⇒ Unit): Unit

    Definition Classes
    Collections
  414. final def foreachWithIndex[A, B](xs: List[A])(f: (A, Int) ⇒ Unit): Unit

    Definition Classes
    Collections
  415. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from Global to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  416. def freshExistentialName(suffix: String): TypeName

    Attributes
    protected
    Definition Classes
    Symbols
  417. lazy val freshRunReq: CondPickler[FreshRunReq]

    Definition Classes
    Picklers
  418. def fromDeBruijn(owner: Symbol): TypeMap

    Definition Classes
    Types
  419. object gen extends TreeGen

    Definition Classes
    Global → SymbolTable
  420. object genASM extends GenASM

    Definition Classes
    Global
  421. object genJVM extends GenJVM

    Definition Classes
    Global
  422. def genPolyType(params: List[Symbol], tpe: Type): Type

    Definition Classes
    Types
  423. object genicode extends GenICode

    Definition Classes
    Global
  424. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  425. def getFile(clazz: Symbol, suffix: String): File

    Returns the file with the given suffix for the given class.

    Returns the file with the given suffix for the given class. Used for icode writing.

    Definition Classes
    Global
  426. def getFile(source: AbstractFile, segments: Array[String], suffix: String): File

    Definition Classes
    Global
  427. def getInstrumented(source: SourceFile, line: Int, response: Response[(String, Array[Char])]): Unit

  428. def getOrCreateUnitOf(source: SourceFile): RichCompilationUnit

    The compilation unit corresponding to a source file if it does not yet exist create a new one atomically Note: We want to remove this.

    The compilation unit corresponding to a source file if it does not yet exist create a new one atomically Note: We want to remove this.

    Attributes
    protected[interactive]
  429. var getParsedEnteredResponses: ResponseMap

    A map that associates with each abstract file the set of responses that ware waiting (via build) for the unit associated with the abstract file to be parsed and entered

    A map that associates with each abstract file the set of responses that ware waiting (via build) for the unit associated with the abstract file to be parsed and entered

    Attributes
    protected
  430. def getSourceFile(name: String): SourceFile

    Definition Classes
    Global
  431. def getSourceFile(f: AbstractFile): BatchSourceFile

    Definition Classes
    Global
  432. def getUnit(s: SourceFile): Option[RichCompilationUnit]

    Work through toBeRemoved list to remove any units.

    Work through toBeRemoved list to remove any units. Then return optionally unit associated with given source.

    Attributes
    protected[interactive]
  433. def getUnitOf(s: SourceFile): Option[RichCompilationUnit]

    Return the compilation unit attached to a source file, or None if source is not loaded.

    Return the compilation unit attached to a source file, or None if source is not loaded.

    Definition Classes
    CompilerControl
  434. def glb(ts: List[Type]): Type

    Definition Classes
    Types → Types
  435. def glbNorm(ts: List[Type], depth: Int): Type

    Attributes
    protected
    Definition Classes
    Types
  436. def globalError(msg: String): Unit

    Definition Classes
    Global
  437. var globalPhase: Phase

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

    Definition Classes
    Types
  439. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  440. object icodeChecker extends ICodeChecker

    Definition Classes
    Global
  441. object icodeCheckers extends ICodeCheckers

    Icode verification

  442. object icodes extends ICodes

    ICode generator

  443. var ids: Int

    Attributes
    protected
    Definition Classes
    Symbols
  444. final def ifDebug(body: ⇒ Unit): Unit

    Definition Classes
    Global
    Annotations
    @inline()
  445. var infoTransformers: InfoTransformer

    Definition Classes
    SymbolTable
  446. def inform[T](msg: String, value: T): T

    Definition Classes
    Global
  447. def inform(msg: String): Unit

    Definition Classes
    Global
  448. def informComplete(msg: String): Unit

    Definition Classes
    Global
  449. final def informIDE(msg: ⇒ String): Unit

    Inform with msg only when verboseIDE is true.

    Inform with msg only when verboseIDE is true.

    Annotations
    @inline()
  450. def informProgress(msg: String): Unit

    Definition Classes
    Global
  451. def informTime(msg: String, start: Long): Unit

    Definition Classes
    Global
  452. object inlineExceptionHandlers extends InlineExceptionHandlers

    Definition Classes
    Global
  453. object inliner extends Inliners

    Definition Classes
    Global
  454. def instTypeVar(tp: Type): Type

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

    Definition Classes
    Types
  456. def instrument(source: SourceFile, line: Int): (String, Array[Char])

    Compute an instrumented version of a sourcefile.

    Compute an instrumented version of a sourcefile.

    source

    The given sourcefile.

    line

    The line up to which results should be printed, -1 = whole document.

    returns

    A pair consisting of

    • the fully qualified name of the first top-level object definition in the file. or "" if there are no object definitions.
    • the text of the instrumented program which, when run, prints its output and all defined values in a comment column.
    Attributes
    protected
    Definition Classes
    ScratchPadMaker
  457. implicit def interruptReq: Pickler[InterruptReq]

    Definition Classes
    Picklers
  458. def intersectionType(tps: List[Type]): Type

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

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

    Definition Classes
    Types
  461. def invalidateClassPathEntries(paths: String*): (List[ClassSymbol], List[ClassSymbol])

    Invalidates packages that contain classes defined in a classpath entry, and rescans that entry.

    Invalidates packages that contain classes defined in a classpath entry, and rescans that entry.

    returns

    A pair consisting of

    • a list of invalidated packages
    • a list of of packages that should have been invalidated but were not because they are system packages.
    Definition Classes
    Global
  462. final def isAtPhaseAfter(p: Phase): Boolean

    Definition Classes
    SymbolTable
  463. def isBoundedGeneric(tp: Type): Boolean

    Definition Classes
    Types
  464. def isCompilerUniverse: Boolean

    Definition Classes
    Global → SymbolTable
  465. def isConstantType(tp: Type): Boolean

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

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

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

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

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

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

    Definition Classes
    Types
  472. def isOutOfDate: Boolean

  473. def isPopulated(tp1: Type, tp2: Type): Boolean

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

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

    Definition Classes
    Types
  476. def isReferenceToAnyVal(t: Tree): Boolean

    Definition Classes
    Trees
  477. def isReferenceToPredef(t: Tree): Boolean

    Definition Classes
    Trees
  478. def isReferenceToScalaMember(t: Tree, Id: Name): Boolean

    Definition Classes
    Trees
  479. def isSameType(tp1: Type, tp2: Type): Boolean

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

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

    Definition Classes
    Types
  482. def isScriptRun: Boolean

    Definition Classes
    Global
  483. def isSingleType(tp: Type): Boolean

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

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

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

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

    Definition Classes
    Types
  488. def isUnboundedGeneric(tp: Type): Boolean

    Definition Classes
    Types
  489. final def isValid(period: Period): Boolean

    Definition Classes
    SymbolTable
  490. final def isValidForBaseClasses(period: Period): Boolean

    Definition Classes
    SymbolTable
  491. def isWeakSubType(tp1: Type, tp2: Type): Boolean

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

    Definition Classes
    Types
  493. def itransform(transformer: Transformer, tree: Tree): Tree

    Attributes
    protected
    Definition Classes
    Trees → Trees
  494. def itraverse(traverser: Traverser, tree: Tree): Unit

    Attributes
    protected
    Definition Classes
    Trees → Trees
  495. val javanme: JavaKeywords

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

    Definition Classes
    Kinds
  497. object lambdaLift extends LambdaLift

    Definition Classes
    Global
  498. object lazyVals extends LazyVals

    Definition Classes
    Global
  499. def loadPlugins(): List[Plugin]

    Load all available plugins.

    Load all available plugins. Skips plugins that either have the same name as another one, or which define a phase name that another one does.

    Attributes
    protected
    Definition Classes
    Plugins
  500. def loadRoughPluginsList(): List[Plugin]

    Load a rough list of the plugins.

    Load a rough list of the plugins. For speed, it does not instantiate a compiler run. Therefore it cannot test for same-named phases or other problems that are filtered from the final list of plugins.

    Attributes
    protected
    Definition Classes
    Plugins
  501. lazy val loaders: BrowsingLoaders { val global: Global.this.type }

    Symbol loaders in the IDE parse all source files loaded from a package for top-level idents.

    Symbol loaders in the IDE parse all source files loaded from a package for top-level idents. Therefore, we can detect top-level symbols that have a name different from their source file

    Definition Classes
    GlobalGlobal
  502. def locateContext(contexts: Contexts, pos: Position): Option[Context]

    Optionally returns the smallest context that contains given pos, or None if none exists.

    Optionally returns the smallest context that contains given pos, or None if none exists.

    Definition Classes
    ContextTrees
  503. def locateContext(pos: Position): Option[Context]

    Locates smallest context that encloses position as an optional value.

    Locates smallest context that encloses position as an optional value.

    Definition Classes
    CompilerControl
  504. def locateContextTree(contexts: Contexts, pos: Position): Option[ContextTree]

    Definition Classes
    ContextTrees
  505. def locateTree(pos: Position): Tree

    Locate smallest tree that encloses position

    Locate smallest tree that encloses position

    Definition Classes
    CompilerControl
  506. final def log(msg: ⇒ AnyRef): Unit

    Definition Classes
    Global → SymbolTable
    Annotations
    @inline()
  507. val log: LogReplay

  508. def logAfterEveryPhase[T](msg: String)(op: ⇒ T): Unit

    Definition Classes
    Global
  509. def logError(msg: String, t: Throwable): Unit

    Definition Classes
    Global
  510. def logThrowable(t: Throwable): Unit

    Definition Classes
    Global
  511. 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
  512. implicit def lowPriorityNameOrdering[T <: Name]: Ordering[T]

    Definition Classes
    SymbolTable
  513. implicit def lowerTermNames(n: TermName): String

    Definition Classes
    StdNames
  514. def lub(ts: List[Type]): Type

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

    Definition Classes
    Types
  516. def makeNoSymbol: NoSymbol

    Attributes
    protected
    Definition Classes
    Symbols
  517. def manifestToTypeTag[T](mirror: Any, manifest: Manifest[T]): TypeTag[T]

    Definition Classes
    TagInterop
  518. final def map2[A, B, C](xs1: List[A], xs2: List[B])(f: (A, B) ⇒ C): List[C]

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

    Definition Classes
    Types
  520. final def map3[A, B, C, D](xs1: List[A], xs2: List[B], xs3: List[C])(f: (A, B, C) ⇒ D): List[D]

    Definition Classes
    Collections
  521. final def mapFrom[A, A1 >: A, B](xs: List[A])(f: (A) ⇒ B): Map[A1, B]

    Definition Classes
    Collections
  522. def mapParamss[T](sym: Symbol)(f: (Symbol) ⇒ T): List[List[T]]

    Definition Classes
    Symbols
  523. final def mapWithIndex[A, B](xs: List[A])(f: (A, Int) ⇒ B): List[B]

    Definition Classes
    Collections
  524. final def matchesType(tp1: Type, tp2: Type, alwaysMatchSimple: Boolean): Boolean

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

    Definition Classes
    Types
  526. 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
  527. def mergePrefixAndArgs(tps: List[Type], variance: Int, depth: Int): Option[Type]

    Definition Classes
    Types
  528. final def mexists[A](xss: List[List[A]])(p: (A) ⇒ Boolean): Boolean

    Definition Classes
    Collections
  529. final def mfilter[A](xss: List[List[A]])(p: (A) ⇒ Boolean): List[A]

    Definition Classes
    Collections
  530. final def mfind[A](xss: List[List[A]])(p: (A) ⇒ Boolean): Option[A]

    Definition Classes
    Collections
  531. final def mforall[A](xss: List[List[A]])(p: (A) ⇒ Boolean): Boolean

    Definition Classes
    Collections
  532. final def mforeach[A](xss: List[List[A]])(f: (A) ⇒ Unit): Unit

    Definition Classes
    Collections
  533. var minRunId: Int

    Attributes
    protected[interactive]
  534. def mirrorThatLoaded(sym: Symbol): Mirror

    Returns the mirror that loaded given symbol

    Returns the mirror that loaded given symbol

    Definition Classes
    Global → SymbolTable
  535. val missingAliasException: MissingAliasControl

    Definition Classes
    Types
  536. def missingHook(owner: Symbol, name: Name): Symbol

    Definition Classes
    SymbolTable
  537. object mixer extends Mixin

    Definition Classes
    Global
  538. def mkAttributedQualifier(tpe: Type, termSym: Symbol): Tree

    Definition Classes
    Global
  539. def mkImporter(from0: Universe): Importer { val from: from0.type }

    Definition Classes
    Importers
  540. final def mmap[A, B](xss: List[List[A]])(f: (A) ⇒ B): List[List[B]]

    Definition Classes
    Collections
  541. def moveToFront(fs: List[SourceFile]): Unit

    Move list of files to front of allSources

  542. def nameChars: Array[Char]

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

    Definition Classes
    Names
  544. implicit lazy val namePickler: Pickler[Name]

    Definition Classes
    Picklers
  545. final def ne(arg0: AnyRef): Boolean

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

    Definition Classes
    Types
  547. def newBaseTypeSeq(parents: List[Type], elems: Array[Type]): BaseTypeSeq

    Attributes
    protected
    Definition Classes
    BaseTypeSeqs
  548. def newCompactTreePrinter(): CompactTreePrinter

    Definition Classes
    Printers
  549. def newCompactTreePrinter(stream: OutputStream): CompactTreePrinter

    Definition Classes
    Printers
  550. def newCompactTreePrinter(writer: PrintWriter): CompactTreePrinter

    Definition Classes
    Printers
  551. def newCompilationUnit(code: String): CompilationUnit

    Definition Classes
    Global
  552. def newExistentialType(quantified: List[Symbol], underlying: Type): Type

    Definition Classes
    Types
  553. def newFreeTermSymbol(name: TermName, info: Type, value: ⇒ Any, flags: Long, origin: String): FreeTermSymbol

    Definition Classes
    Symbols
  554. def newFreeTypeSymbol(name: TypeName, info: Type, value: ⇒ Any, flags: Long, origin: String): FreeTypeSymbol

    Definition Classes
    Symbols
  555. def newLazyTreeCopier: TreeCopier

    Definition Classes
    Trees → Trees
  556. def newNestedScope(outer: Scope): Scope

    Definition Classes
    Scopes → Scopes
  557. def newPackageScope(pkgClass: Symbol): Scope

    Definition Classes
    Scopes
  558. def newRawTreePrinter(): RawTreePrinter

    Definition Classes
    Printers
  559. def newRawTreePrinter(stream: OutputStream): RawTreePrinter

    Definition Classes
    Printers
  560. def newRawTreePrinter(writer: PrintWriter): RawTreePrinter

    Definition Classes
    Printers → Printers
  561. def newScope: Scope

    Definition Classes
    Scopes → Scopes
  562. def newScopeWith(elems: Symbol*): Scope

    Definition Classes
    Scopes → Scopes
  563. def newSourceFile(code: String): BatchSourceFile

    Definition Classes
    Global
  564. def newStandardTreePrinter(): TreePrinter

    Definition Classes
    Printers
  565. def newStandardTreePrinter(stream: OutputStream): TreePrinter

    Definition Classes
    Printers
  566. def newStandardTreePrinter(writer: PrintWriter): TreePrinter

    Definition Classes
    Printers
  567. def newStrictTreeCopier: TreeCopier

    Definition Classes
    Trees → Trees
  568. def newTermName(bs: Array[Byte], offset: Int, len: Int): TermName

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

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

    Attributes
    protected
    Definition Classes
    Names
  571. def newTermName(cs: Array[Char]): TermName

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

    Definition Classes
    Names
  573. def newTermNameCached(s: String): TermName

    Definition Classes
    Names
  574. def newTreePrinter(): TreePrinter

    Definition Classes
    Printers → Printers
  575. def newTreePrinter(stream: OutputStream): TreePrinter

    Definition Classes
    Printers → Printers
  576. def newTreePrinter(writer: PrintWriter): TreePrinter

    Definition Classes
    Printers → Printers → Printers
  577. def newTypeName(bs: Array[Byte], offset: Int, len: Int): TypeName

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

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

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

    Attributes
    protected
    Definition Classes
    Names
  581. def newTypeName(cs: Array[Char]): TypeName

    Definition Classes
    Names
  582. def newTypeNameCached(s: String): TypeName

    Definition Classes
    Names
  583. def newTyperRun(): Unit

  584. def newUndoLog: UndoLog

    Attributes
    protected
    Definition Classes
    Types
  585. def newUnitParser(code: String): UnitParser

    Definition Classes
    Global
  586. def newUnitScanner(code: String): UnitScanner

    Definition Classes
    Global
  587. def nextId(): Int

    Attributes
    protected
    Definition Classes
    Symbols
  588. lazy val noPosition: CondPickler[reflect.internal.util.NoPosition.type]

    Definition Classes
    Picklers
  589. object nodePrinters extends NodePrinters

    Print tree in detailed form

  590. val nodeToString: (Tree) ⇒ String

    Definition Classes
    Global
  591. object noopTransformer extends Transformer

    Definition Classes
    Trees
  592. def normalizePlus(tp: Type): Type

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

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

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

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

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

    Definition Classes
    Types
  598. lazy val offsetPosition: CondPickler[OffsetPosition]

    Definition Classes
    Picklers
  599. def onCompilerThread: Boolean

    Definition Classes
    CompilerControl
  600. def onUnitOf[T](source: SourceFile)(op: (RichCompilationUnit) ⇒ T): T

    Run operation op on a compilation unit associated with given source.

    Run operation op on a compilation unit associated with given source. If source has a loaded compilation unit, this one is passed to op. Otherwise a new compilation unit is created, but not added to the set of loaded units.

    Definition Classes
    CompilerControl
  601. def openPackageModule(pkgClass: Symbol): Unit

    Definition Classes
    SymbolTable
  602. def openPackageModule(container: Symbol, dest: Symbol): Unit

    Definition Classes
    SymbolTable
  603. object opt extends AestheticSettings

    Definition Classes
    Global
  604. val originalOwner: HashMap[Symbol, Symbol]

    Definition Classes
    Symbols
  605. def overloadedType(pre: Type, alternatives: List[Symbol]): Type

    Definition Classes
    Types
  606. object overridingPairs extends OverridingPairs

    Computing pairs of overriding/overridden symbols

  607. def paramString(tp: Type): String

    Definition Classes
    TypeDebugging
  608. def parseTree(source: SourceFile): Tree

    Returns parse tree for source source.

    Returns parse tree for source source. No symbols are entered. Syntax errors are reported. Can be called asynchronously from presentation compiler.

    Definition Classes
    CompilerControl
  609. def patch(f: AbstractFile, d: (Int, Int, String)): Array[Char]

    Definition Classes
    Picklers
  610. object patmat extends SubComponent with PatternMatching

    Definition Classes
    Global
  611. final def period(rid: RunId, pid: Int): Period

    Definition Classes
    SymbolTable
  612. var phStack: List[Phase]

    Definition Classes
    SymbolTable
  613. final def phase: Phase

    Definition Classes
    SymbolTable
  614. def phaseDescriptions: String

    A description of the phases that will run

    A description of the phases that will run

    Definition Classes
    Global
  615. lazy val phaseDescriptors: List[SubComponent]

    Definition Classes
    Global
  616. def phaseFlagDescriptions: String

    Summary of the per-phase values of nextFlags and newFlags, shown with -Xshow-phases if -Ydebug also given.

    Summary of the per-phase values of nextFlags and newFlags, shown with -Xshow-phases if -Ydebug also given.

    Definition Classes
    Global
  617. final def phaseId(period: Period): Int

    Definition Classes
    SymbolTable
  618. lazy val phaseNames: List[String]

    The names of the phases.

    The names of the phases.

    Definition Classes
    Global
  619. final def phaseOf(period: Period): Phase

    Definition Classes
    SymbolTable
  620. val phaseWithId: Array[Phase]

    Definition Classes
    Global → SymbolTable
  621. final def phase_=(p: Phase): Unit

    Definition Classes
    SymbolTable
  622. lazy val phasesDescMap: Map[SubComponent, String]

    Attributes
    protected
    Definition Classes
    Global
  623. lazy val phasesSet: HashSet[SubComponent]

    Attributes
    protected
    Definition Classes
    Global
  624. object pickler extends Pickler

    Definition Classes
    Global
  625. def picklerPhase: Phase

    Definition Classes
    Global → Required
  626. lazy val platform: ThisPlatform

    Definition Classes
    Global
  627. def pluginDescriptions: String

    A description of all the plugins that are loaded

    A description of all the plugins that are loaded

    Definition Classes
    Plugins
  628. def pluginOptionsHelp: String

    Summary of the options for all loaded plugins

    Summary of the options for all loaded plugins

    Definition Classes
    Plugins
  629. lazy val plugins: List[Plugin]

    Definition Classes
    Plugins
  630. final def popPhase(ph: Phase): Unit

    Definition Classes
    SymbolTable
  631. lazy val posAssigner: PosAssigner

    Attributes
    protected[this]
    Definition Classes
    Positions → Positions
  632. implicit lazy val position: Pickler[Position]

    Definition Classes
    Picklers
  633. object postErasure extends SubComponent with PostErasure

    Definition Classes
    Global
  634. def printAfterEachPhase[T](op: ⇒ T): Unit

    Definition Classes
    Global
  635. def printAllUnits(): Unit

    Definition Classes
    Global
  636. var printInfers: Boolean

    Definition Classes
    Global
  637. var printTypings: Boolean

    Switch to turn on detailed type logs

    Switch to turn on detailed type logs

    Definition Classes
    Global
  638. implicit def promoteTermNamesAsNecessary(name: Name): TermName

    Definition Classes
    Names
  639. final def pushPhase(ph: Phase): Phase

    Definition Classes
    SymbolTable
  640. def quotedName(name: String): String

    Definition Classes
    Printers
  641. def quotedName(name: Name): String

    Definition Classes
    Printers
  642. def quotedName(name: Name, decode: Boolean): String

    Definition Classes
    Printers
  643. def rangePos(source: SourceFile, start: Int, point: Int, end: Int): RangePosition

    Definition Classes
    RangePositionsPositions
  644. lazy val rangePosition: CondPickler[RangePosition]

    Definition Classes
    Picklers
  645. 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
  646. def rawToExistential: TypeMap

    Definition Classes
    Types
  647. def recentlyDeleted(): List[Symbol]

    Returns the top level classes and objects that were deleted in the editor since last time recentlyDeleted() was called.

    Returns the top level classes and objects that were deleted in the editor since last time recentlyDeleted() was called.

    Definition Classes
    CompilerControl
  648. object refChecks extends RefChecks

    Definition Classes
    Global → Transforms
  649. def referenceCapturedVariable(vble: Symbol): Tree

    Definition Classes
    CapturedVariables
  650. def refinedType(parents: List[Type], owner: Symbol): Type

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

    Definition Classes
    Types → Types
  652. def registerContext(c: Context): Unit

    Called from typechecker every time a context is created.

    Called from typechecker every time a context is created. Registers the context in a context tree

    Definition Classes
    GlobalGlobal
  653. def registerTopLevelSym(sym: Symbol): Unit

    Called from typechecker every time a top-level class or object is entered.

    Called from typechecker every time a top-level class or object is entered.

    Definition Classes
    GlobalGlobal
  654. def reify[T](expr: T): Expr[T]

    Definition Classes
    Universe
  655. implicit def reloadItem: CondPickler[ReloadItem]

    Definition Classes
    Picklers
  656. def removeAllAnnotationCheckers(): Unit

    Definition Classes
    AnnotationCheckers
  657. def removeUnitOf(s: SourceFile): Option[RichCompilationUnit]

    Removes the CompilationUnit corresponding to the given SourceFile from consideration for recompilation.

    Removes the CompilationUnit corresponding to the given SourceFile from consideration for recompilation.

    Definition Classes
    CompilerControl
  658. def render(what: Any, mkPrinter: (PrintWriter) ⇒ TreePrinter, printTypes: BooleanFlag, printIds: BooleanFlag, printKinds: BooleanFlag, printMirrors: BooleanFlag): String

    Attributes
    protected
    Definition Classes
    Printers
  659. def repackExistential(tp: Type): Type

    Definition Classes
    Types
  660. var reporter: Reporter

    Definition Classes
    Global
  661. final def require(requirement: Boolean): Unit

    Definition Classes
    Global
    Annotations
    @inline()
  662. final def require(requirement: Boolean, message: ⇒ Any): Unit

    Definition Classes
    Global
    Annotations
    @inline()
  663. def resetAllAttrs(x: Tree, leaveAlone: (Tree) ⇒ Boolean = null): Tree

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

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

    Definition Classes
    Trees
  664. def resetLocalAttrs(x: Tree, leaveAlone: (Tree) ⇒ Boolean = null): Tree

    Definition Classes
    Trees
  665. def resetLocalAttrsKeepLabels(x: Tree, leaveAlone: (Tree) ⇒ Boolean = null): Tree

    Definition Classes
    Trees
  666. object resetPos extends Traverser

    Definition Classes
    Trees
  667. def respond[T](result: Response[T])(op: ⇒ T): Unit

  668. def respondGradually[T](response: Response[T])(op: ⇒ Stream[T]): Unit

  669. lazy val rootMirror: Mirror

    Definition Classes
    Global → Mirrors
  670. lazy val roughPluginsList: List[Plugin]

    Attributes
    protected
    Definition Classes
    Plugins
  671. final def runId(period: Period): RunId

    Definition Classes
    SymbolTable
  672. final def sameLength(xs1: List[_], xs2: List[_]): Boolean

    Definition Classes
    Types
  673. object sampleTransform extends SampleTransform

    Definition Classes
    Global
  674. object scalaPrimitives extends ScalaPrimitives

    Scala primitives, used in genicode

  675. var scheduler: WorkScheduler

    The scheduler by which client and compiler communicate Must be initialized before starting compilerRunner

    The scheduler by which client and compiler communicate Must be initialized before starting compilerRunner

    Attributes
    protected[interactive]
    Definition Classes
    CompilerControl
  676. def scopeTransform(owner: Symbol)(op: ⇒ Scope): Scope

    Definition Classes
    Scopes
  677. val shorthands: Set[String]

    Definition Classes
    Types
  678. def shouldLogAtThisPhase: Boolean

    Definition Classes
    Global
  679. def show(flags: FlagSet): String

    Definition Classes
    Printers → Printers
  680. def show(name: Name): String

    Definition Classes
    Printers → Printers
  681. def show(any: Any, printTypes: BooleanFlag, printIds: BooleanFlag, printKinds: BooleanFlag, printMirrors: BooleanFlag): String

    Definition Classes
    Printers
  682. def showDef(fullName: Name, declsOnly: Boolean, ph: Phase): Unit

    We resolve the class/object ambiguity by passing a type/term name.

    We resolve the class/object ambiguity by passing a type/term name.

    Definition Classes
    Global
  683. final val showOuterTests: Boolean(false)

    Definition Classes
    Printers
  684. def showRaw(flags: FlagSet): String

    Definition Classes
    Printers
  685. def showRaw(name: Name): String

    Definition Classes
    Printers
  686. def showRaw(any: Any, printTypes: BooleanFlag, printIds: BooleanFlag, printKinds: BooleanFlag, printMirrors: BooleanFlag): String

    Definition Classes
    Printers
  687. lazy val shutdownReq: CondPickler[scala.tools.nsc.interactive.ShutdownReq.type]

    Definition Classes
    Picklers
  688. def signalDone(context: Context, old: Tree, result: Tree): Unit

    Called from typechecker, which signals hereby that a node has been completely typechecked.

    Called from typechecker, which signals hereby that a node has been completely typechecked. If the node includes unit.targetPos, abandons run and returns newly attributed tree. Otherwise, if there's some higher priority work to be done, also abandons run with a FreshRunReq.

    context

    The context that typechecked the node

    old

    The original node

    result

    The transformed node

    Definition Classes
    GlobalGlobal
  689. def signalParseProgress(pos: Position): Unit

    Called from parser, which signals hereby that a method definition has been parsed.

    Called from parser, which signals hereby that a method definition has been parsed.

    Definition Classes
    GlobalGlobal
  690. def singleType(pre: Type, sym: Symbol): Type

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

    Definition Classes
    Types
  692. var skolemizationLevel: Int

    Definition Classes
    Types
  693. lazy val sn: SymbolNames

    Definition Classes
    StdNames
  694. def solidDescendants(tree: Tree): List[Tree]

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

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

    Definition Classes
    Types
  697. implicit lazy val sourceFile: Pickler[SourceFile]

    Definition Classes
    Picklers
  698. def spanningTypes(ts: List[Type]): List[Type]

    Definition Classes
    Types
  699. object specializeTypes extends SpecializeTypes

    Definition Classes
    Global
  700. def specializesSym(tp: Type, sym: Symbol, depth: Int): Boolean

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

    Definition Classes
    Types
  702. def stabilizedType(tree: Tree): Type

  703. final def startRun(period: Period): Period

    Definition Classes
    SymbolTable
  704. object statistics extends StatisticsInfo

    Some statistics (normally disabled) set with -Ystatistics

  705. object superAccessors extends SuperAccessors

    Definition Classes
    Global
  706. 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
  707. def supplementErrorMessage(errorMessage: String): String

    Don't want to introduce new errors trying to report errors, so swallow exceptions.

    Don't want to introduce new errors trying to report errors, so swallow exceptions.

    Definition Classes
    Global → SymbolTable
  708. def suspendTypeVarsInType(tp: Type): List[TypeVar]

    Definition Classes
    Types
  709. def symName(tree: Tree, name: Name): String

    Definition Classes
    Printers
  710. implicit lazy val symPickler: Pickler[Symbol]

    Definition Classes
    Picklers
  711. def syncTopLevelSyms(unit: RichCompilationUnit): Unit

    Update deleted and current top-level symbols sets

  712. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  713. object syntaxAnalyzer extends SyntaxAnalyzer

    Definition Classes
    Global
  714. object tailCalls extends TailCalls

    Definition Classes
    Global
  715. object terminal extends SubComponent

    Definition Classes
    Global
  716. implicit lazy val throwable: Pickler[Throwable]

    Definition Classes
    Picklers
  717. def throwableAsString(t: Throwable): String

    Definition Classes
    Global → SymbolTable
  718. val toBeRemoved: Set[AbstractFile]

    A set containing all those files that need to be removed Units are removed by getUnit, typically once a unit is finished compiled.

    A set containing all those files that need to be removed Units are removed by getUnit, typically once a unit is finished compiled.

    Attributes
    protected
  719. val toBeRemovedAfterRun: Set[AbstractFile]

    A set containing all those files that need to be removed after a full background compiler run

    A set containing all those files that need to be removed after a full background compiler run

    Attributes
    protected
  720. 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
  721. def toString(): String

    Definition Classes
    AnyRef → Any
  722. final val traceSymbolActivity: Boolean

    Definition Classes
    SymbolTable
  723. def transformedType(tpe: Type): _81.global.Type forSome { val _81: scala.reflect.internal.transform.Erasure{val global: Global.this.type} }

    Definition Classes
    Transforms
  724. def transformedType(sym: Symbol): _82.global.Type forSome { val _82: scala.reflect.internal.transform.Erasure{val global: Global.this.type} }

    Definition Classes
    Transforms
  725. lazy val transparentPosition: CondPickler[TransparentPosition]

    Definition Classes
    Picklers
  726. final def transposeSafe[A](ass: List[List[A]]): Option[List[List[A]]]

    Definition Classes
    Collections
  727. val treeBrowser: SwingBrowser

    Definition Classes
    Global
  728. object treeBrowsers extends TreeBrowsers

    Representing ASTs as graphs

  729. lazy val treeBuild: TreeGen { val global: Global.this.type }

    Definition Classes
    SymbolTable → Universe
  730. object treeChecker extends TreeCheckers

    Tree checker

  731. val treeCopy: TreeCopier

    Definition Classes
    Trees
  732. object treeInfo extends TreeInfo

    Definition Classes
    Trees
  733. def treeLine(t: Tree): String

    Definition Classes
    Trees
  734. val treeNodeCount: View

    Definition Classes
    Trees
  735. lazy val treePrinter: TreePrinter

    Definition Classes
    Trees
  736. def treeStatus(t: Tree, enclosingTree: Tree = null): String

    Definition Classes
    Trees
  737. def treeSymStatus(t: Tree): String

    Definition Classes
    Trees
  738. def treeToString(tree: Tree): String

    Attributes
    protected
    Definition Classes
    Printers
  739. def typeArgsString(tp: Type): String

    Definition Classes
    TypeDebugging
  740. object typeDeconstruct extends StructuredTypeStrings

    Definition Classes
    Global
  741. def typeDepth(tp: Type): Int

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

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

    Definition Classes
    Types
  744. def typeOf[T](implicit ttag: TypeTag[T]): Type

    Definition Classes
    TypeTags
  745. def typeParamsString(tp: Type): String

    Definition Classes
    TypeDebugging
  746. def typeParamsToExistentials(clazz: Symbol): List[Symbol]

    Definition Classes
    Types
  747. def typeParamsToExistentials(clazz: Symbol, tparams: List[Symbol]): List[Symbol]

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

    Definition Classes
    Types → Types
  749. def typeTag[T](implicit ttag: TypeTag[T]): TypeTag[T]

    Definition Classes
    TypeTags
  750. def typeTagToManifest[T](mirror: Any, tag: TypeTag[T])(implicit arg0: ClassTag[T]): Manifest[T]

    Definition Classes
    TagInterop
  751. def typeToString(tpe: Type): String

    Attributes
    protected
    Definition Classes
    Types
  752. def typeVarsInType(tp: Type): List[TypeVar]

    Definition Classes
    Types
  753. object typer extends Typer

    Definition Classes
    Global
  754. object uncurry extends UnCurry

    Definition Classes
    Global → Transforms
  755. val undetBaseTypeSeq: BaseTypeSeq

    Definition Classes
    BaseTypeSeqs
  756. lazy val undoLog: UndoLog

    Definition Classes
    Types
  757. def unique[T <: Type](tp: T): T

    Attributes
    protected
    Definition Classes
    Types
  758. val unitOfFile: LinkedHashMap[AbstractFile, RichCompilationUnit] with SynchronizedMap[AbstractFile, RichCompilationUnit]

    A map of all loaded files to the rich compilation units that correspond to them.

  759. def useCases(sym: Symbol): List[(Symbol, String, Position)]

    Definition Classes
    DocComments
  760. 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.

  761. def validateClassInfo(tp: ClassInfoType): Unit

    Definition Classes
    Types
  762. def validatePositions(tree: Tree): Unit

    Definition Classes
    RangePositionsPositions
  763. val verboseIDE: Boolean

  764. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  767. val waitLoadedTypeResponses: ResponseMap

    A map that associates with each abstract file the set of responses that are waiting (via waitLoadedTyped) for the unit associated with the abstract file to be loaded and completely typechecked.

    A map that associates with each abstract file the set of responses that are waiting (via waitLoadedTyped) for the unit associated with the abstract file to be loaded and completely typechecked.

    Attributes
    protected
  768. def warning(msg: String): Unit

    Definition Classes
    Global
  769. def weakGlb(ts: List[Type]): (Type, Boolean)

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

    Definition Classes
    Types
  771. def withInfoLevel[T](infolevel: Value)(op: ⇒ T): T

    Definition Classes
    Global
  772. def withTypesExplained[A](op: ⇒ A): A

    Definition Classes
    Types
  773. implicit def workEvent: Pickler[WorkEvent]

    Definition Classes
    Picklers
  774. def wrappingPos(trees: List[Tree]): Position

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

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

    Definition Classes
    RangePositions → Positions → Positions
  775. 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
    RangePositions → Positions → Positions
  776. def xprintTree(treePrinter: TreePrinter, tree: Tree): Unit

    Definition Classes
    Printers → Printers
  777. def xtransform(transformer: Transformer, tree: Tree): Tree

    Attributes
    protected
    Definition Classes
    Trees → Trees
  778. def xtraverse(traverser: Traverser, tree: Tree): Unit

    Attributes
    protected
    Definition Classes
    Trees → Trees
  779. def [B](y: B): (Global, B)

    Implicit information
    This member is added by an implicit conversion from Global to ArrowAssoc[Global] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implict Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from Global to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (global: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from Global to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (global: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def abort(): Nothing

    Definition Classes
    SymbolTable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Give us a reason

  2. def askParse(source: SourceFile, response: Response[Tree]): Unit

    Definition Classes
    CompilerControl
    Annotations
    @deprecated
    Deprecated

    use parseTree(source) instead

  3. def clearOnNextRun(sym: Symbol): Boolean

    A hook that lets subclasses of Global define whether a package or class should be kept loaded for the next compiler run.

    A hook that lets subclasses of Global define whether a package or class should be kept loaded for the next compiler run. If the parameter sym is a class or object, and clearOnNextRun(sym) returns true, then the symbol is unloaded and reset to its state before the last compiler run. If the parameter sym is a package, and clearOnNextRun(sym) returns true, the package is recursively searched for classes to drop.

    Example: Let's say I want a compiler that drops all classes corresponding to the current project between runs. Then keepForNextRun of a toplevel class or object should return true if the class or object does not form part of the current project, false otherwise. For a package, clearOnNextRun should return true if no class in that package forms part of the current project, false otherwise.

    sym

    A class symbol, object symbol, package, or package class.

    Definition Classes
    Global
    Annotations
    @deprecated
    Deprecated

    use invalidateClassPathEntries instead

  4. def duplicateTree(tree: Tree): Tree

    Attributes
    protected[scala]
    Definition Classes
    Trees
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Moved to tree.duplicate

  5. def onlyPresentation: Boolean

    Definition Classes
    Global
    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0) Use forInteractive or forScaladoc, depending on what you're after

  6. def polyType(params: List[Symbol], tpe: Type): Type

    Definition Classes
    Types → Types
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use genPolyType(...) instead

  7. def unitOf(pos: Position): RichCompilationUnit

    The compilation unit corresponding to a position

    The compilation unit corresponding to a position

    Definition Classes
    CompilerControl
    Annotations
    @deprecated
    Deprecated

    use getUnitOf(pos.source) or onUnitOf(pos.source) instead

  8. def unitOf(s: SourceFile): RichCompilationUnit

    The compilation unit corresponding to a source file if it does not yet exist create a new one atomically Note: We want to get roid of this operation as it messes compiler invariants.

    The compilation unit corresponding to a source file if it does not yet exist create a new one atomically Note: We want to get roid of this operation as it messes compiler invariants.

    Definition Classes
    CompilerControl
    Annotations
    @deprecated
    Deprecated

    use getUnitOf(s) or onUnitOf(s) instead

  9. def view(s: String): TermName

    Definition Classes
    Names
    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0)

  10. def x: Global

    Implicit information
    This member is added by an implicit conversion from Global to ArrowAssoc[Global] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (global: ArrowAssoc[Global]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  11. def x: Global

    Implicit information
    This member is added by an implicit conversion from Global to Ensuring[Global] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (global: Ensuring[Global]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Picklers

Inherited from ScratchPadMaker

Inherited from RichCompilationUnits

Inherited from ContextTrees

Inherited from RangePositions

Inherited from CompilerControl

Inherited from Global

Inherited from Positions

Inherited from DocComments

Inherited from Printers

Inherited from Trees

Inherited from PhaseAssembly

Inherited from Plugins

Inherited from CompilationUnits

Inherited from SymbolTable

Inherited from SymbolTable

Inherited from BuildUtils

Inherited from StdCreators

Inherited from StdAttachments

Inherited from CapturedVariables

Inherited from Required

Inherited from Importers

Inherited from TypeDebugging

Inherited from Positions

Inherited from Printers

Inherited from Trees

Inherited from AnnotationCheckers

Inherited from AnnotationInfos

Inherited from StdNames

Inherited from Transforms

Inherited from InfoTransformers

Inherited from BaseTypeSeqs

Inherited from Constants

Inherited from Definitions

Inherited from Mirrors

Inherited from Scopes

Inherited from FlagSets

Inherited from ExistentialsAndSkolems

Inherited from Kinds

Inherited from Types

Inherited from Symbols

Inherited from Names

Inherited from Collections

Inherited from Universe

Inherited from Universe

Inherited from AnnotationInfos

Inherited from Exprs

Inherited from Importers

Inherited from StandardNames

Inherited from StandardDefinitions

Inherited from Mirrors

Inherited from Positions

Inherited from Constants

Inherited from Printers

Inherited from Trees

Inherited from Names

Inherited from FlagSets

Inherited from Types

Inherited from Symbols

Inherited from Universe

Inherited from Mirrors

Inherited from BuildUtils

Inherited from StandardNames

Inherited from StandardDefinitions

Inherited from StandardTypes

Inherited from TagInterop

Inherited from TypeTags

Inherited from Positions

Inherited from AnnotationInfos

Inherited from Constants

Inherited from Trees

Inherited from Names

Inherited from Scopes

Inherited from FlagSets

Inherited from Types

Inherited from Symbols

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Global to StringAdd

Inherited by implicit conversion any2stringfmt from Global to StringFormat

Inherited by implicit conversion any2ArrowAssoc from Global to ArrowAssoc[Global]

Inherited by implicit conversion any2Ensuring from Global to Ensuring[Global]