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, TreePrinters, FreeVars, Trees, PhaseAssembly, Plugins, CompilationUnits, ToolBoxes, ClassLoaders, SymbolTable, SymbolTable, StdAttachments, CapturedVariables, FrontEnds, TreeBuildUtil, Required, Importers, TypeDebugging, Positions, TreePrinters, Trees, AnnotationCheckers, AnnotationInfos, StdNames, Transforms, InfoTransformers, BaseTypeSeqs, Constants, Definitions, Scopes, ExistentialsAndSkolems, Kinds, Types, FreeVars, SymbolFlags, Symbols, SymbolCreations, Names, Collections, Universe, Importers, FrontEnds, ToolBoxes, TreeBuildUtil, ClassLoaders, StandardNames, TreePrinters, TypeTags, StandardDefinitions, StandardTypes, Exprs, Positions, AnnotationInfos, Trees, Names, Scopes, Constants, Types, FreeVars, 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. TreePrinters
  12. FreeVars
  13. Trees
  14. PhaseAssembly
  15. Plugins
  16. CompilationUnits
  17. ToolBoxes
  18. ClassLoaders
  19. SymbolTable
  20. SymbolTable
  21. StdAttachments
  22. CapturedVariables
  23. FrontEnds
  24. TreeBuildUtil
  25. Required
  26. Importers
  27. TypeDebugging
  28. Positions
  29. TreePrinters
  30. Trees
  31. AnnotationCheckers
  32. AnnotationInfos
  33. StdNames
  34. Transforms
  35. InfoTransformers
  36. BaseTypeSeqs
  37. Constants
  38. Definitions
  39. Scopes
  40. ExistentialsAndSkolems
  41. Kinds
  42. Types
  43. FreeVars
  44. SymbolFlags
  45. Symbols
  46. SymbolCreations
  47. Names
  48. Collections
  49. Universe
  50. Importers
  51. FrontEnds
  52. ToolBoxes
  53. TreeBuildUtil
  54. ClassLoaders
  55. StandardNames
  56. TreePrinters
  57. TypeTags
  58. StandardDefinitions
  59. StandardTypes
  60. Exprs
  61. Positions
  62. AnnotationInfos
  63. Trees
  64. Names
  65. Scopes
  66. Constants
  67. Types
  68. FreeVars
  69. Symbols
  70. AnyRef
  71. Any
Implicitly
  1. by any2stringfmt
  2. by any2stringadd
  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. abstract class AbsSymbolImpl extends AbsSymbol

  2. abstract class AbsTypeImpl extends AbsType

  3. type AbstractFileType = AbstractFile

    Definition Classes
    GlobalRequired
  4. trait AbstractTypeRef extends TypeRef with NonClassTypeRef

  5. class AbstractTypeSymbol extends TypeSymbol

  6. trait AliasTypeRef extends TypeRef with NonClassTypeRef

  7. class AliasTypeSymbol extends TypeSymbol

  8. trait AlphaNumName extends Name

    A name that contains no operator chars nor dollar signs.

  9. trait Annotatable[Self] extends AnyRef

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

    A type carrying some annotations.

  11. abstract class AnnotationChecker extends AnyRef

    An additional checker for annotations on types.

  12. trait AnnotationFilter extends TypeMap

  13. sealed abstract class AnnotationInfo extends AnyRef

    Typed information about an annotation.

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

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

  15. class AppliedTypeVar extends TypeVar

    Precondition: zipped params/args nonEmpty.

  16. class ArgsTypeRef extends TypeRef with UniqueType

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

    Represents an array of classfile annotation arguments

  18. class AsSeenFromMap extends TypeMap with KeepOnlyTypeConstraints

    A map to compute the asSeenFrom method

  19. case class AskInstrumentedItem(source: SourceFile, line: Int, response: Response[(String, Array[Char])]) extends WorkItem with Product with Serializable

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

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

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

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

  24. class AskToDoFirstItem extends WorkItem

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

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

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

  28. class BaseTypeSeq extends AnyRef

    Note: constructor is protected to force everyone to use the factory method newBaseTypeSeq instead.

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

    BoundedWildcardTypes, used only during type inference, are created in two places that I can find:

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

  31. class ChangeOwnerTraverser extends Traverser

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

    A class representing a class info

  33. class ClassSymbol extends TypeSymbol with ClassSymbolApi

    A class for class symbols

  34. trait ClassTypeRef extends TypeRef

  35. class ClassUnwrapper extends TypeUnwrapper

  36. abstract class ClassfileAnnotArg extends Product

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

  37. class CollectTypeCollector[T] extends TypeCollector[List[T]]

    A map to implement the collect method.

  38. abstract class CommonNames extends AnyRef

  39. class CommonOwnerMap extends TypeTraverserWithResult[Symbol]

    Attributes
    protected
  40. class CompactTreePrinter extends TreePrinter

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

  41. class CompilationUnit extends AnyRef

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

  42. class CompleteAnnotationInfo extends AnnotationInfo

  43. abstract class CompoundType extends Type

    A common base class for intersection types and class types

  44. class ConditionalWarning extends AnyRef

    Collects for certain classes of warnings during this run.

  45. case class Constant(value: Any) extends AbsConstant with Product with Serializable

    Definition Classes
    Constants → Constants
  46. abstract case class ConstantType(value: Constant) extends SingletonType with Product with Serializable

    A class representing a constant type.

  47. class ContainsCollector extends TypeCollector[Boolean]

    A map to implement the contains method.

  48. class ContainsTypeCollector extends TypeCollector[Boolean]

    A map to implement the contains method.

  49. type Context = Context

    Definition Classes
    ContextTrees
  50. class ContextTree extends AnyRef

    A context tree contains contexts that are indexed by positions.

  51. type Contexts = ArrayBuffer[ContextTree]

    Definition Classes
    ContextTrees
  52. case class CyclicReference(sym: Symbol, info: Type) extends TypeError with Product with Serializable

    An exception for cyclic references of symbol definitions

  53. case class DeBruijnBinder(pnames: List[Name], ptypes: List[Type], restpe: Type) extends Type with Product with Serializable

    A binder defining data associated with De Bruijn indices.

  54. case class DeBruijnIndex(level: Int, idx: Int, args: List[Type]) extends Type with Product with Serializable

    A De Bruijn index referring to a previous type argument.

  55. class DefaultPosAssigner extends Traverser with PosAssigner

    Attributes
    protected
  56. abstract class DefinitionsClass extends AbsDefinitions with ValueClassDefinitions

  57. class DependencyGraph extends AnyRef

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

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

    Definition Classes
    Picklers
  59. trait DistinguishingFlag extends SymbolFlagLogic

    A distinguishing flag is one which the mixing class must always have, and which no other symbol class is allowed to have.

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

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

    Documented definition, eliminated by analyzer

  62. abstract case class ErasedValueType(sym: Symbol) extends Type with Product with Serializable

  63. class ErrorScope extends Scope

    The error scope.

  64. class ExistentialExtrapolation extends TypeMap with VariantTypeMap

    Used by existentialAbstraction.

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

    Definition Classes
    Types → Types
  66. class ExpansionLimitExceeded extends Exception

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

  68. class FilterTypeCollector extends TypeCollector[List[Type]]

    A map to implement the filter method.

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

    A map to implement the filter method.

  70. trait FlagVerifier extends Symbol

    Not mixed in under normal conditions; a powerful debugging aid.

  71. class ForEachTypeTraverser extends TypeTraverser

  72. class ForeachPartialTreeTraverser extends Traverser

  73. trait FreeSymbol extends Symbol

  74. class FreeTerm extends TermSymbol with FreeSymbol

  75. class FreeType extends TypeSkolem with FreeSymbol

  76. abstract class FrontEndToReporterProxy extends AbstractReporter

  77. abstract class GlobalPhase extends Phase

  78. class HKTypeVar extends TypeVar

    Precondition: params.

  79. trait ImplClassSymbol extends ClassSymbol

  80. abstract class InfoTransformer extends AnyRef

  81. 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.

  82. class InstantiateDependentMap extends TypeMap with KeepOnlyTypeConstraints

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

  84. class JavaKeywords extends AnyRef

  85. class JavaMethodType extends MethodType

  86. trait KeepOnlyTypeConstraints extends TypeMap with AnnotationFilter

  87. abstract class Keywords extends CommonNames

    This should be the first trait in the linearization.

  88. case class KindErrors(arity: List[(Symbol, Symbol)], variance: List[(Symbol, Symbol)], strictness: List[(Symbol, Symbol)]) extends Product with Serializable

  89. final class LazyAnnotationInfo extends AnnotationInfo

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

  90. abstract class LazyPolyType extends LazyType

  91. class LazyTreeCopier extends LazyTreeCopier with TreeCopier

    Definition Classes
    Trees → Trees
  92. abstract class LazyType extends Type

    A class representing an as-yet unevaluated type.

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

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

  94. class Locator extends Traverser

    A locator for trees with given positions.

  95. class MalformedType extends TypeError

    A throwable signalling a malformed type

  96. class MappedBaseTypeSeq extends BaseTypeSeq

  97. abstract class Member extends AnyRef

    Info given for every member found by completion

  98. class MethodSymbol extends TermSymbol with DistinguishingFlag with MethodSymbolApi

    A class for method symbols

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

    A class representing a method type with parameters.

  100. class MissingAliasControl extends Throwable with ControlThrowable

  101. class MissingTypeControl extends Throwable with ControlThrowable

  102. case class Modifiers(flags: Long, privateWithin: Name, annotations: List[Tree]) extends AbsModifiers with HasFlags with Product with Serializable

  103. class ModuleClassSymbol extends ClassSymbol with DistinguishingFlag

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

  104. class ModuleSymbol extends TermSymbol with DistinguishingFlag with ModuleSymbolApi

    A class for module symbols

  105. class ModuleTypeRef extends NoArgsTypeRef with ClassTypeRef

  106. sealed abstract class Name extends AbsName with (Int) ⇒ Char

    The name class.

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

    A class representing types with a name.

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

    Represents a nested classfile annotation

  109. class NoArgsTypeRef extends TypeRef with UniqueType

  110. class NoCommonType extends Throwable with ControlThrowable

  111. class NoSymbol extends Symbol

    An object representing a missing symbol

  112. class NoWorkScheduler extends WorkScheduler

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

  113. trait NonClassTypeRef extends TypeRef

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

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

    Definition Classes
    Types → Types
  116. class OnTypeError[T] extends AnyRef

  117. case class OverloadedType(pre: Type, alternatives: List[Symbol]) extends Type with Product with Serializable

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

  118. class PackageClassInfoType extends ClassInfoType

  119. class PackageClassSymbol extends ModuleClassSymbol with DistinguishingFlag

  120. class PackageObjectClassSymbol extends ModuleClassSymbol

  121. class PackageSymbol extends ModuleSymbol with DistinguishingFlag with PackageSymbolApi

    Definition Classes
    Symbols → Symbols
  122. class PackageTypeRef extends ModuleTypeRef

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

    Only used during parsing

  124. type Period = Int

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

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

    Definition Classes
    SymbolTable
  125. case class PolyType(typeParams: List[Symbol], resultType: Type) extends Type with Product with Serializable

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

  126. trait PosAssigner extends Traverser

  127. type Position = Position

    Definition Classes
    Positions → Positions
  128. class PostfixSelect extends Select

  129. case class Range(pos: Position, tree: Tree) extends Product with Serializable

  130. case class RecoverableCyclicReference(sym: Symbol) extends TypeError with Product with Serializable

    An exception for cyclic references from which we can recover

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

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

  132. final class RefinedType0 extends RefinedType

  133. class RefinementClassSymbol extends ClassSymbol

  134. class RefinementTypeRef extends NoArgsTypeRef with ClassTypeRef

  135. case class ReifyAttachment(original: Symbol) extends Product with Serializable

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

  137. class ReporterToFrontEndProxy extends FrontEnd

  138. type Response[T] = Response[T]

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

  140. trait RewrappingTypeProxy extends Type with SimpleTypeProxy

    A proxy for a type (identified by field underlying) that forwards most operations to it.

  141. class RichCompilationUnit extends CompilationUnit

  142. class Run extends AnyRef

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

  143. type RunId = Int

    An ordinal number for compiler runs.

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

    Definition Classes
    SymbolTable
  144. 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.

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

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

  146. class Scope extends Iterable[Symbol]

    Note: constructor is protected to force everyone to use the factory methods newScope or newNestedScope instead.

  147. class ScopeEntry extends AnyRef

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

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

    Array selection <qualifier> .

  150. trait SimpleTypeProxy extends Type

    A proxy for a type (identified by field underlying) that forwards most operations to it (for exceptions, see WrappingProxy, which forwards even more operations).

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

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

  152. abstract class SingletonType extends SubType with SimpleTypeProxy

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

  153. abstract class StandardImporter extends Importer

  154. class StrictTreeCopier extends StrictTreeCopier with TreeCopier

    Definition Classes
    Trees → Trees
  155. abstract class SubType extends Type

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

  156. class SubTypePair extends AnyRef

  157. abstract class SubstMap[T] extends TypeMap

    A base class to compute all substitutions

  158. class SubstSymMap extends SubstMap[Symbol]

    A map to implement the substSym method.

  159. class SubstThisAndSymMap extends SubstSymMap

  160. class SubstThisMap extends TypeMap

    A map to implement the substThis method.

  161. class SubstTypeMap extends SubstMap[Type]

    A map to implement the subst method.

  162. class SubstWildcardMap extends TypeMap

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

    Definition Classes
    Types → Types
  164. abstract class SymLoader extends LazyType

  165. abstract class Symbol extends AbsSymbolImpl with HasFlags with SymbolFlagLogic with SymbolCreator with Annotatable[Symbol]

    The class for all symbols

  166. trait SymbolCreator extends SymbolCreatorInterface

  167. trait SymbolCreatorInterface extends AnyRef

    Symbol creation interface, possibly better moved somewhere else.

  168. trait SymbolFlagLogic extends AnyRef

  169. abstract class SymbolNames extends AnyRef

  170. sealed abstract class TermName extends Name

    Definition Classes
    Names → Names
  171. abstract class TermNames extends Keywords

  172. class TermSymbol extends Symbol with TermSymbolApi

    A class for term symbols

  173. type ThisPlatform = Platform { val global: Global.this.type }

    Definition Classes
    Global
  174. class ThisSubstituter extends Transformer

    Substitute clazz.

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

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

  176. class ToolBox extends AbsToolBox

  177. class Transformer extends Transformer

    Definition Classes
    Trees → Trees
  178. trait TreeCopier extends TreeCopierOps

    Definition Classes
    Trees → Trees
  179. type TreeGen = TreeGen

    Generate ASTs

    Generate ASTs

    Definition Classes
    Global → TreeBuildUtil
  180. class TreeMatchTemplate extends AnyRef

  181. implicit class TreeOps extends AnyRef

  182. class TreePrinter extends TreePrinter

    Definition Classes
    TreePrintersTreePrinters → TreePrinters
  183. class TreeReplacer extends Transformer

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

  184. class TreeSubstituter extends Transformer

  185. class TreeSymSubstTraverser extends TypeMapTreeSubstituter

  186. class TreeSymSubstituter extends Transformer

    Substitute symbols in from with symbols in to.

  187. class TreeTypeSubstituter extends TypeMapTreeSubstituter

  188. abstract class Type extends AbsTypeImpl with Annotatable[Type]

    The base class for all types

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

    A class for the bounds of abstract types and type parameters

  190. abstract class TypeCollector[T] extends TypeTraverser

  191. class TypeConstraint extends AnyRef

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

  192. class TypeError extends Throwable

    A throwable signalling a type error

  193. abstract class TypeMap extends (Type) ⇒ Type

    A prototype for mapping a function over all possible types

  194. class TypeMapTreeSubstituter extends Traverser

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

  196. sealed abstract class TypeName extends Name

    Definition Classes
    Names → Names
  197. abstract class TypeNames extends Keywords

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

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

  199. class TypeSkolem extends TypeSymbol

    A class for type parameters viewed from inside their scopes

  200. abstract class TypeSymbol extends Symbol with TypeSymbolApi

    A class of type symbols.

  201. abstract class TypeTraverser extends TypeMap

  202. abstract class TypeTraverserWithResult[T] extends TypeTraverser

  203. case class TypeTreeWithDeferredRefCheck(check: () ⇒ TypeTree) extends Tree with TypTree with Product with Serializable

    emitted by typer, eliminated by refchecks

  204. class TypeUnwrapper extends (Type) ⇒ Type

  205. class TypeVar extends Type

    A class representing a type variable: not used after phase typer.

  206. class TypedLocator extends Locator

  207. class TyperResult extends Throwable with ControlThrowable

  208. class TyperRun extends Run

    The typer run

  209. class UndoLog extends AnyRef

  210. final class UniqueConstantType extends ConstantType with UniqueType

  211. final class UniqueErasedValueType extends ErasedValueType with UniqueType

  212. final class UniqueSingleType extends SingleType with UniqueType

  213. final class UniqueSuperType extends SuperType with UniqueType

  214. final class UniqueThisType extends ThisType with UniqueType

  215. trait UniqueType extends Product

  216. final class UniqueTypeBounds extends TypeBounds with UniqueType

  217. trait UntouchableTypeVar extends TypeVar

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

  219. class ValidateException extends Exception

  220. class ValidatingPosAssigner extends Traverser with PosAssigner

  221. trait ValueClassDefinitions extends AnyRef

  222. trait VariantTypeMap extends TypeMap

  223. case class WorkEvent(atNode: Int, atMillis: Long) extends Product with Serializable

  224. abstract class WorkItem extends () ⇒ Unit

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. def AllDistinguishingFlags: Long

    Flags which should always be present on a particular class of Symbol, and never be present on any others.

    Flags which should always be present on a particular class of Symbol, and never be present on any others.

    Definition Classes
    SymbolFlags
  9. object AnnotatedType extends AnnotatedTypeExtractor with Serializable

    Definition Classes
    Types → Types
  10. object AnnotationInfo extends AnnotationInfoExtractor

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

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

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

    Definition Classes
    Definitions → StandardTypes
  14. def Apply(sym: Symbol, args: Tree*): Tree

    Definition Classes
    Trees → Trees
  15. object ApproximateDependentMap extends TypeMap

  16. object ArrayAnnotArg extends ArrayAnnotArgExtractor with Serializable

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

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

    Block factory that flattens directly nested blocks.

    Block factory that flattens directly nested blocks.

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

    Definition Classes
    Constants
  20. lazy val BooleanTpe: Type

    Definition Classes
    Definitions → StandardTypes
  21. object BoundedWildcardType extends BoundedWildcardTypeExtractor with Serializable

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

    Definition Classes
    Constants
  23. lazy val ByteTpe: Type

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

    casedef shorthand

    casedef shorthand

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

    Definition Classes
    Constants
  26. lazy val CharTpe: Type

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

    sym

    the class symbol

    returns

    the implementation template

    Definition Classes
    Trees → Trees
  29. object ClassInfoType extends ClassInfoTypeExtractor with Serializable

    Definition Classes
    Types → Types
  30. final val ClazzTag: Int(12)

    Definition Classes
    Constants
  31. object ConsoleWriter extends Writer

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

  32. object Constant extends ConstantExtractor with Serializable

    Definition Classes
    Constants → Constants
  33. object ConstantType extends ConstantTypeExtractor with Serializable

    Definition Classes
    Types → Types
  34. val CyclicInheritance: Throwable

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

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

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

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

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

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

    Definition Classes
    Constants
  41. lazy val DoubleTpe: Type

    Definition Classes
    Definitions → StandardTypes
  42. object EmptyScope extends Scope

    The empty scope (immutable).

  43. def EmptyTermName: TermName

    Definition Classes
    Names
  44. lazy val EmptyTreeTypeSubstituter: TreeTypeSubstituter

    Definition Classes
    Trees
  45. def EmptyTypeName: TypeName

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

    Definition Classes
    Constants
  47. object ErasedValueType extends Serializable

  48. object ErroneousCollector extends TypeCollector[Boolean]

    A map to implement the contains method.

  49. object ErrorType extends Type with Product with Serializable

    An object representing an erroneous type

  50. object ExistentialType extends ExistentialTypeExtractor with Serializable

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

    Definition Classes
    Constants
  52. lazy val FloatTpe: Type

    Definition Classes
    Definitions → StandardTypes
  53. object FreeTerm extends FreeTermExtractor

    Definition Classes
    FreeVars → FreeVars
  54. object FreeType extends FreeTypeExtractor

    Definition Classes
    FreeVars → FreeVars
  55. object GenPolyType extends AnyRef

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

  56. val GlbFailure: Throwable

    Definition Classes
    Types
  57. object HasTypeMember extends AnyRef

  58. object HasTypeParams extends AnyRef

  59. def Ident(sym: Symbol): Ident

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

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

    Definition Classes
    Constants
  62. lazy val IntTpe: Type

    Definition Classes
    Definitions → StandardTypes
  63. object IsDependentCollector extends TypeCollector[Boolean]

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

    The canonical creator for implicit method types

    The canonical creator for implicit method types

    Definition Classes
    Types
  65. 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
  66. def LabelDef(sym: Symbol, params: List[Symbol], rhs: Tree): LabelDef

    Definition Classes
    Trees → Trees
  67. object LiteralAnnotArg extends LiteralAnnotArgExtractor with Serializable

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

    Definition Classes
    Constants
  69. lazy val LongTpe: Type

    Definition Classes
    Definitions → StandardTypes
  70. final val LubGlbMargin: Int(0)

    Definition Classes
    Types
  71. val MaxPhases: Int

    Definition Classes
    Global
  72. object MethodType extends MethodTypeExtractor with Serializable

    Definition Classes
    Types → Types
  73. def Modifiers(mods: Set[Modifier], privateWithin: Name, annotations: List[Tree]): Modifiers

    Definition Classes
    Trees → Trees
  74. def Modifiers(flags: Long): Modifiers

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

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

    sym

    the class symbol

    impl

    the implementation template

    Definition Classes
    Trees → Trees
  77. object NestedAnnotArg extends NestedAnnotArgExtractor with Serializable

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

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

    0-1 argument list new, based on a type.

    0-1 argument list new, based on a type.

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

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

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

    Definition Classes
    Trees → Trees
  81. object NoCompilationUnit extends CompilationUnit

    An object representing a missing compilation unit.

  82. lazy val NoContext: NoContext

    Definition Classes
    ContextTrees
  83. val NoKindErrors: KindErrors

    Definition Classes
    Kinds
  84. lazy val NoMods: Modifiers

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

    Definition Classes
    SymbolTable
  86. val NoPosition: tools.nsc.util.NoPosition.type

    Definition Classes
    Positions → Positions
  87. object NoPrefix extends Type with Product with Serializable

    An object representing a non-existing prefix

  88. final val NoRunId: Int(0)

    Definition Classes
    SymbolTable
  89. lazy val NoSymbol: NoSymbol

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

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

    An object representing a non-existing type

  92. 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
  93. lazy val NothingTpe: Type

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

    Definition Classes
    Constants
  95. lazy val NullTpe: Type

    Definition Classes
    Definitions → StandardTypes
  96. object NullaryMethodType extends NullaryMethodTypeExtractor with Serializable

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

    Definition Classes
    Definitions → StandardTypes
  98. 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
  99. object PolyType extends PolyTypeExtractor with Serializable

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

    Definition Classes
    Types → Types
  101. object Scope extends AnyRef

  102. def Select(qualifier: Tree, sym: Symbol): Select

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

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

    Definition Classes
    Constants
  105. lazy val ShortTpe: Type

    Definition Classes
    Definitions → StandardTypes
  106. object SingleType extends SingleTypeExtractor with Serializable

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

    Definition Classes
    Constants
  108. lazy val StringTpe: Type

    Definition Classes
    Definitions → StandardTypes
  109. object StripAnnotationsMap extends TypeMap

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

    Definition Classes
    Trees → Trees
  111. object SuperType extends SuperTypeExtractor with Serializable

    Definition Classes
    Types → Types
  112. 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
  113. def This(sym: Symbol): Tree

    Definition Classes
    Trees → Trees
  114. object ThisType extends ThisTypeExtractor with Serializable

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

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

    Definition Classes
    Trees → Trees
  117. object TypeBounds extends TypeBoundsExtractor with Serializable

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

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

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

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

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

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

    Definition Classes
    Trees → Trees
  120. object TypeRef extends TypeRefExtractor with Serializable

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

    Definition Classes
    Trees
  122. object TypeVar extends AnyRef

  123. final val UnitTag: Int(1)

    Definition Classes
    Constants
  124. lazy val UnitTpe: Type

    Definition Classes
    Definitions → StandardTypes
  125. object UnmappableAnnotation extends CompleteAnnotationInfo

  126. object UnmappableTree extends Tree with TermTree with Product with Serializable

  127. def ValDef(sym: Symbol): ValDef

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

    Definition Classes
    Trees → Trees
  129. object WildcardType extends Type with Product with Serializable

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

  130. def abort(msg: String): Nothing

    Definition Classes
    GlobalSymbolTable
  131. implicit def abstractFile: Pickler[AbstractFile]

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

    Type with all top-level occurrences of abstract types replaced by their bounds

    Type with all top-level occurrences of abstract types replaced by their bounds

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

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

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

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

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

    Refine the bounds on type parameters to the given type arguments.

    Refine the bounds on type parameters to the given type arguments.

    Definition Classes
    AnnotationCheckers
  136. object adaptToNewRunMap extends TypeMap

  137. def addAnnotationChecker(checker: AnnotationChecker): Unit

    Register an annotation checker.

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

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

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

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

    Definition Classes
    AnnotationCheckers
  139. 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
  140. 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
  141. def addMember(thistp: Type, tp: Type, sym: Symbol): Unit

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

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

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

  143. def addToPhasesSet(sub: SubComponent, descr: String): Unit

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

    Definition Classes
    SymbolTable
    Annotations
    @inline()
  145. 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
  146. final def afterErasure[T](op: ⇒ T): T

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Global
    Annotations
    @inline()
  157. 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
  158. object analysis extends TypeFlowAnalysis

    ICode analysis for optimization

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

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

    Creator for AnnotatedTypes.

    Creator for AnnotatedTypes. It returns the underlying type if annotations.isEmpty rather than walking into the assertion.

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

    Check that the annotations on two types conform.

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

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

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

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

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

    Refine the computed least upper bound of a list of types.

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

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

    Very convenient.

    Very convenient.

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

    A creator for type applications

    A creator for type applications

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

    A creator for existential types where the type arguments, rather than being applied directly, are interpreted as the upper bounds of unknown types.

    A creator for existential types where the type arguments, rather than being applied directly, are interpreted as the upper bounds of unknown types. For instance if the type argument list given is List(AnyRefClass), the resulting type would be e.g. Set[_ <: AnyRef] rather than Set[AnyRef] .

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

    Convert array parameters denoting a repeated parameter of a Java method to JavaRepeatedParamClass types.

    Convert array parameters denoting a repeated parameter of a Java method to JavaRepeatedParamClass types.

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

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

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

    Definition Classes
    TreePrinters
  171. 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
  172. 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
  173. 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
  174. 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
  175. implicit def askLinkPosItem: CondPickler[AskLinkPosItem]

    Definition Classes
    Picklers
  176. 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
  177. implicit def askLoadedTypedItem: CondPickler[AskLoadedTypedItem]

    Definition Classes
    Picklers
  178. 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
  179. implicit def askParsedEnteredItem: CondPickler[AskParsedEnteredItem]

    Definition Classes
    Picklers
  180. 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
  181. 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
  182. 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
  183. implicit def askScopeCompletionItem: CondPickler[AskScopeCompletionItem]

    Definition Classes
    Picklers
  184. 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
  185. 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
  186. 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
  187. implicit def askToDoFirstItem: CondPickler[AskToDoFirstItem]

    Definition Classes
    Picklers
  188. 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
  189. 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
  190. implicit def askTypeAtItem: CondPickler[AskTypeAtItem]

    Definition Classes
    Picklers
  191. 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
  192. implicit def askTypeCompletionItem: CondPickler[AskTypeCompletionItem]

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

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

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

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

    Perform given operation at given phase.

    Perform given operation at given phase.

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

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

    Definition Classes
    SymbolTable
  199. def atPhaseStackMessage: String

    Definition Classes
    SymbolTable
  200. 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
    RangePositionsPositions → Positions
  201. def backquotedPath(t: Tree): String

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

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

    Definition Classes
    TreePrinters
  202. def baseTypeOfNonClassTypeRef(tpe: NonClassTypeRef, clazz: Symbol): Type

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

    Create a base type sequence consisting of a single type

    Create a base type sequence consisting of a single type

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

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

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

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

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

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

    Since when it is to be "at" a phase is inherently ambiguous, a couple unambiguously named methods.

    Since when it is to be "at" a phase is inherently ambiguous, a couple unambiguously named methods.

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

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

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

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

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

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

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

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

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

    Definition Classes
    Types
  217. object binarynme extends AnyRef

    Java binary names, like scala/runtime/Nothing$.

  218. def buildCompilerFromPhasesSet(): List[SubComponent]

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

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

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

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

    Mark a variable as captured; i.

    Mark a variable as captured; i.e. force boxing in a *Ref type.

    Definition Classes
    CapturedVariables
  221. def capturedVariableType(vble: Symbol, tpe: Type = NoType, erasedTypes: Boolean = false): Type

    Convert type of a captured variable to *Ref type.

    Convert type of a captured variable to *Ref type.

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

    Convert type of a captured variable to *Ref type.

    Convert type of a captured variable to *Ref type.

    Definition Classes
    CapturedVariables
  223. 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
  224. def checkForMoreWork(pos: Position): Unit

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

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

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

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

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

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

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

    Definition Classes
    Kinds
  226. def checkNoResponsesOutstanding(): Unit

  227. var chrs: Array[Char]

    Memory to store all names sequentially.

    Memory to store all names sequentially.

    Definition Classes
    Names
  228. def classPath: ClassPath[BinaryRepr]

    Definition Classes
    Global
  229. lazy val classfileAnnotArgTag: ArrayTag[ClassfileAnnotArg]

    Definition Classes
    AnnotationInfos → AnnotationInfos
  230. object cleanup extends CleanUp

  231. def clearIgnoredFiles(): Unit

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

  232. 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
  233. def clone(): AnyRef

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

    Convenience functions which derive symbols by cloning.

    Convenience functions which derive symbols by cloning.

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

    Clone symbols and apply the given function to each new symbol's info.

    Clone symbols and apply the given function to each new symbol's info.

    syms

    the prototypical symbols

    infoFn

    the function to apply to the infos

    returns

    the newly created, info-adjusted symbols

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

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

    Definition Classes
    Symbols
  238. object closureElimination extends ClosureElimination

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

    Definition Classes
    Collections
  240. def commonOwnerMap: CommonOwnerMap

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

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

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

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

    Definition Classes
    BaseTypeSeqs
  243. 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
  244. def computePhaseDescriptors: List[SubComponent]

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

    Attributes
    protected
    Definition Classes
    Global
  246. 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

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

    Definition Classes
    Symbols
  248. object constfold extends ConstantFolder

    Fold constants

  249. object constructors extends Constructors

  250. def containsExistential(tpe: Type): Boolean

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

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

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

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

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

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

    Definition Classes
    Types
  256. object copyPropagation extends CopyPropagation

    Copy propagation for optimization

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

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

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

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

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

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

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

    Functions which perform the standard clone/substituting on the given symbols and type, then call the creator function with the new symbols and type as arguments.

    Functions which perform the standard clone/substituting on the given symbols and type, then call the creator function with the new symbols and type as arguments.

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

    Definition Classes
    Symbols
  263. def createJavadoc: Boolean

    Definition Classes
    Global
  264. final def currentPeriod: Period

    The current period.

    The current period.

    Definition Classes
    SymbolTable
  265. def currentRun: Run

    The currently active run

    The currently active run

    Definition Classes
    Global
  266. def currentRunId: Int

    The id of the currently active run

    The id of the currently active run

    Definition Classes
    GlobalSymbolTable
  267. var currentSettings: Settings

    Definition Classes
    Global
  268. def currentSource: SourceFile

    Definition Classes
    Global
  269. def currentUnit: CompilationUnit

    Definition Classes
    Global
  270. object deAlias extends TypeMap

    Remove any occurrences of type aliases from this type

  271. object deadCode extends DeadCodeElimination

  272. val debugIDE: Boolean

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

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

    Print msg only when debugIDE is true.

    Print msg only when debugIDE is true.

    Annotations
    @inline()
  275. def debugString(tp: Type): String

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

    Override with final implementation for inlining.

    Override with final implementation for inlining.

    Definition Classes
    GlobalSymbolTable
    Annotations
    @inline()
  277. final def debugwarn(msg: ⇒ String): Unit

    Definition Classes
    GlobalSymbolTable
    Annotations
    @inline()
  278. def decodedSymName(tree: Tree, name: Name): String

    Definition Classes
    TreePrinters
  279. def defaultThrowable[T <: Throwable]: CondPickler[T]

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Types
  285. object definitions extends DefinitionsClass

    Definition Classes
    Definitions → StandardDefinitions
  286. val deletedTopLevelSyms: LinkedHashSet[Symbol] with SynchronizedSet[Symbol]

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

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

    Definition Classes
    Picklers
  288. def demandNewCompilerRun(): Unit

  289. object dependencyAnalysis extends SubComponent with DependencyAnalysis

  290. def deriveCaseDef(cdef: Tree)(applyToBody: (Tree) ⇒ Tree): CaseDef

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

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

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

    Map a list of type parameter symbols to skolemized symbols, which can be deskolemized to the original type parameter.

    Map a list of type parameter symbols to skolemized symbols, which can be deskolemized to the original type parameter. (A skolem is a representation of a bound variable when viewed inside its scope.) !!!Adriaan: this does not work for hk types.

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

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

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

    Derives a new list of symbols from the given list by mapping the given list across the given function.

    Derives a new list of symbols from the given list by mapping the given list across the given function. Then fixes the info of all the new symbols by substituting the new symbols for the original symbols.

    syms

    the prototypical symbols

    symFn

    the function to create new symbols

    returns

    the new list of info-adjusted symbols

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

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

    Derives a new Type by first deriving new symbols as in deriveSymbols, then performing the same oldSyms => newSyms substitution on tpe as is performed on the symbol infos in deriveSymbols.

    Derives a new Type by first deriving new symbols as in deriveSymbols, then performing the same oldSyms => newSyms substitution on tpe as is performed on the symbol infos in deriveSymbols.

    syms

    the prototypical symbols

    symFn

    the function to create new symbols

    tpe

    the prototypical type

    returns

    the new symbol-subsituted type

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

    Derives a new Type by instantiating the given list of symbols as WildcardTypes.

    Derives a new Type by instantiating the given list of symbols as WildcardTypes.

    syms

    the symbols to replace

    returns

    the new type with WildcardType replacing those syms

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

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

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

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

    Convert to corresponding type parameters all skolems of method parameters which appear in tparams.

    Convert to corresponding type parameters all skolems of method parameters which appear in tparams.

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

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

    Definition Classes
    Collections
  306. 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
  307. 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
  308. 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
  309. val docComments: HashMap[Symbol, DocComment]

    The raw doc comment map

    The raw doc comment map

    Definition Classes
    DocComments
  310. object dropAllRefinements extends TypeMap

    Substitutes the empty scope for any non-empty decls in the type.

  311. object dropRepeatedParamType extends TypeMap

  312. object dropSingletonType extends TypeMap

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

  313. def duplicateTree(tree: Tree): Tree

    Attributes
    protected[scala]
    Definition Classes
    Trees → Trees
  314. def echoPhaseSummary(ph: Phase): Unit

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

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

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

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

    Definition Classes
    Symbols
  319. object emptyValDef extends ValDef

    Definition Classes
    Trees → Trees
  320. 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.

  321. val enableTypeVarExperimentals: Boolean

    Attributes
    protected
    Definition Classes
    GlobalTypes
  322. def encode(str: String): TermName

    Definition Classes
    StdNames
  323. 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
    RangePositionsPositions → Positions
  324. 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
  325. 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
  326. 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
  327. 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
  328. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  330. object erasure extends Erasure

    Definition Classes
    GlobalTransforms
  331. def error(msg: String): Unit

    Definition Classes
    Global
  332. val etaExpandKeepsStar: Boolean

    Attributes
    protected
    Definition Classes
    GlobalTypes
  333. def existentialAbstraction(tparams: List[Symbol], tpe0: Type): Type

    A creator for existential types.

    A creator for existential types. This generates:

    tpe1 where { tparams }

    where tpe1 is the result of extrapolating tpe wrt to tparams. Extrapolating means that type variables in tparams occurring in covariant positions are replaced by upper bounds, (minus any SingletonClass markers), type variables in tparams occurring in contravariant positions are replaced by upper bounds, provided the resulting type is legal wrt to stability, and does not contain any type variable in tparams.

    The abstraction drops all type parameters that are not directly or indirectly referenced by type tpe1. If there are no remaining type parameters, simply returns result type tpe.

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

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

    Definition Classes
    Collections
  336. 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
  337. 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
  338. 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
  339. 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
  340. 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.

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

    Perform operation p on arguments tp1, arg2 and print trace of computation.

    Perform operation p on arguments tp1, arg2 and print trace of computation.

    Attributes
    protected
    Definition Classes
    Types
  342. def explainTypes(op: (Type, Type) ⇒ Any, found: Type, required: Type): Unit

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

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

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

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

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

    Definition Classes
    Types
  344. object explicitOuter extends ExplicitOuter

  345. object extensionMethods extends ExtensionMethods

  346. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  347. final def findOrElse[A](xs: TraversableOnce[A])(p: (A) ⇒ Boolean)(orElse: ⇒ A): A

    Definition Classes
    Collections
  348. 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
  349. def findRecursiveBounds(ts: List[Type]): List[(Symbol, Symbol)]

    From a list of types, find any which take type parameters where the type parameter bounds contain references to other any types in the list (including itself.

    From a list of types, find any which take type parameters where the type parameter bounds contain references to other any types in the list (including itself.)

    returns

    List of symbol pairs holding the recursive type parameter and the parameter which references it.

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

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

    Definition Classes
    Collections
  352. object flatten extends Flatten

  353. final def flattensToEmpty(xss: Seq[Seq[_]]): Boolean

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

    Definition Classes
    GlobalGlobalRequired
  355. def forJVM: Boolean

    Definition Classes
    Global
  356. def forMSIL: Boolean

    Are we compiling for .

    Are we compiling for .NET?

    Definition Classes
    GlobalSymbolTable
  357. def forScaladoc: Boolean

    Definition Classes
    GlobalRequired
  358. final def forall2[A, B](xs1: List[A], xs2: List[B])(f: (A, B) ⇒ Boolean): Boolean

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

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

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

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

    Definition Classes
    Collections
  363. 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()
  364. def freeTerms(tree: Tree): List[FreeTerm]

    Definition Classes
    FreeVars → FreeVars
  365. def freeTypes(tree: Tree): List[FreeType]

    Definition Classes
    FreeVars → FreeVars
  366. def freshExistentialName(suffix: String): TypeName

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

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

    Definition Classes
    Types
  369. object fulltpnme extends TypeNames

    For fully qualified type names.

  370. object gen extends TreeGen

    Definition Classes
    GlobalTreeBuildUtil → TreeBuildUtil
  371. object genJVM extends GenJVM

  372. def genPolyType(params: List[Symbol], tpe: Type): Type

    Definition Classes
    Types
  373. object genicode extends GenICode

  374. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  375. 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
  376. def getFile(source: AbstractFile, segments: Array[String], suffix: String): File

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

  378. 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]
  379. 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
  380. def getSourceFile(name: String): SourceFile

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

    Definition Classes
    Global
  382. 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]
  383. 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
  384. def glb(ts: List[Type]): Type

    The greatest lower bound wrt <:< of a list of types

    The greatest lower bound wrt <:< of a list of types

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

    The greatest lower bound wrt <:< of a list of types, which have been normalized wrt elimSuper

    The greatest lower bound wrt <:< of a list of types, which have been normalized wrt elimSuper

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

    Definition Classes
    Global
  387. var globalPhase: Phase

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

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

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

    Definition Classes
    Types
  389. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  390. object icodeChecker extends ICodeChecker

  391. object icodeCheckers extends ICodeCheckers

    Icode verification

  392. object icodes extends ICodes

    ICode generator

  393. var ids: Int

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

    Definition Classes
    Global
    Annotations
    @inline()
  395. def inReflexiveMirror: Boolean

    Is this symbol table part of reflexive mirror? In this case operations need to be made thread safe.

    Is this symbol table part of reflexive mirror? In this case operations need to be made thread safe.

    Definition Classes
    SymbolTable
  396. var infoTransformers: InfoTransformer

    The set of all installed infotransformers.

    The set of all installed infotransformers.

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

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

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

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

    Inform with msg only when verboseIDE is true.

    Inform with msg only when verboseIDE is true.

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

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

    Definition Classes
    Global
  403. object inlineExceptionHandlers extends InlineExceptionHandlers

  404. object inliner extends Inliners

  405. def instTypeVar(tp: Type): Type

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

    Definition Classes
    Types
  407. 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
  408. implicit def interruptReq: Pickler[InterruptReq]

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

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

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

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

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

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

    !!! Repeated parent classes are not merged - is this a bug in the comment or in the code?

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

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

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

    Definition Classes
    Types
  412. final def isAtPhaseAfter(p: Phase): Boolean

    Are we later than given phase in compilation?

    Are we later than given phase in compilation?

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

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

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

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

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

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

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

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

    The isNumericValueType tests appear redundant, but without them test/continuations-neg/function3.

    The isNumericValueType tests appear redundant, but without them test/continuations-neg/function3.scala goes into an infinite loop. (Even if the calls are to typeSymbolDirect.)

    Definition Classes
    Types
  421. def isOutOfDate: Boolean

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

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

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

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

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

    Is type tp a raw type?

    Is type tp a raw type?

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

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

    Is the tree Predef, scala.

    Is the tree Predef, scala.Predef, or _root_.scala.Predef?

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

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

    Do tp1 and tp2 denote equivalent types?

    Do tp1 and tp2 denote equivalent types?

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

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

    Are tps1 and tps2 lists of pairwise equivalent types?

    Are tps1 and tps2 lists of pairwise equivalent types?

    Definition Classes
    Types
  431. def isScriptRun: Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

    Do type arguments targs conform to formal parameters tparams?

    Do type arguments targs conform to formal parameters tparams?

    Definition Classes
    Types
  443. val javanme: JavaKeywords

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

    Definition Classes
    Kinds
  445. object lambdaLift extends LambdaLift

  446. object lazyVals extends LazyVals

  447. 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
  448. 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
  449. 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
  450. 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
  451. 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
  452. def locateContextTree(contexts: Contexts, pos: Position): Option[ContextTree]

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

    Locate smallest tree that encloses position

    Locate smallest tree that encloses position

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

    Definition Classes
    GlobalSymbolTable
    Annotations
    @inline()
  455. val log: LogReplay

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

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

    Definition Classes
    Global
  458. def logFreeVars(position: Position, reified: Tree): Unit

    Definition Classes
    FreeVars
  459. def logThrowable(t: Throwable): Unit

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

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

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

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

    The maximum allowable depth of lubs or glbs over types ts.

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

    Definition Classes
    Types
  465. def makeNoSymbol: NoSymbol

    Attributes
    protected
    Definition Classes
    Symbols
  466. final def map2[A, B, C](xs1: List[A], xs2: List[B])(f: (A, B) ⇒ C): List[C]

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

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

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

    Definition Classes
    Types
  468. 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
  469. final def mapFrom[A, A1 >: A, B](xs: List[A])(f: (A) ⇒ B): Map[A1, B]

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

    A deep map on a symbol's paramss.

    A deep map on a symbol's paramss.

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

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

    A function implementing tp1 matches tp2.

    A function implementing tp1 matches tp2.

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

    The maximum number of recursions allowed in toString

    The maximum number of recursions allowed in toString

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

    Compute lub (if variance == 1) or glb (if variance == -1) of given list of types tps.

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

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

    All these mm methods are "deep map" style methods for mapping etc.

    All these mm methods are "deep map" style methods for mapping etc. on a list of lists while avoiding unnecessary intermediate structures like those created via flatten.

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

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

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

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

    Definition Classes
    Collections
  481. var minRunId: Int

    Attributes
    protected[interactive]
  482. val missingAliasException: MissingAliasControl

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

    A last effort if symbol in a select <owner>.

    A last effort if symbol in a select <owner>.<name> is not found. This is overridden by the reflection compiler to make up a package when it makes sense (i.e. <owner> is a package and <name> is a term name).

    Definition Classes
    SymbolTable
  484. object mixer extends Mixin

  485. def mkAttributedQualifier(tpe: Type, termSym: Symbol): Tree

    Definition Classes
    Global
  486. def mkConsoleFrontEnd(minSeverity: Int = 1): FrontEnd

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

    Definition Classes
    Importers
  488. def mkSilentFrontEnd(): FrontEnd

    Definition Classes
    FrontEnds
  489. def mkToolBox(frontEnd: FrontEnd = mkSilentFrontEnd(), options: String = ""): ToolBox

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

    Definition Classes
    Collections
  491. def modifiersFromInternalFlags(flags: Long, privateWithin: Name, annotations: List[Tree]): Modifiers

    Definition Classes
    TreeBuildUtil → TreeBuildUtil
  492. def moveToFront(fs: List[SourceFile]): Unit

    Move list of files to front of allSources

  493. def nameChars: Array[Char]

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    TreePrinters
  502. def newCompilationUnit(code: String): CompilationUnit

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

    A creator for existential types which flattens nested existentials.

    A creator for existential types which flattens nested existentials.

    Definition Classes
    Types
  504. def newFreeExistential(name: String, info: Type, value: ⇒ Any, flags: Long = 0L, origin: String = null): FreeType

    Definition Classes
    TreeBuildUtil → TreeBuildUtil
  505. def newFreeTerm(name: String, info: Type, value: ⇒ Any, flags: Long = 0L, origin: String = null): FreeTerm

    Definition Classes
    TreeBuildUtil → TreeBuildUtil
  506. def newFreeTermSymbol(name: TermName, info: Type, value: ⇒ Any, flags: Long = 0L, origin: String): FreeTerm

    Create a new free term.

    Create a new free term. Its owner is NoSymbol.

    Definition Classes
    Symbols
  507. def newFreeType(name: String, info: Type, value: ⇒ Any, flags: Long = 0L, origin: String = null): FreeType

    Definition Classes
    TreeBuildUtil → TreeBuildUtil
  508. def newFreeTypeSymbol(name: TypeName, info: Type, value: ⇒ Any, flags: Long = 0L, origin: String): FreeType

    Create a new free type.

    Create a new free type. Its owner is NoSymbol.

    Definition Classes
    Symbols
  509. def newLazyTreeCopier: TreeCopier

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

    Create a new scope nested in another one with which it shares its elements

    Create a new scope nested in another one with which it shares its elements

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

    Create new scope for the members of package pkg

    Create new scope for the members of package pkg

    Definition Classes
    Scopes
  512. def newScope: Scope

    Create a new scope

    Create a new scope

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

    Create a new scope with given initial elements

    Create a new scope with given initial elements

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

    Definition Classes
    Global
  515. def newStandardTreePrinter(): TreePrinter

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

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

    Definition Classes
    TreePrinters
  518. def newStrictTreeCopier: TreeCopier

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

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

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

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

    Create a term name from string.

    Create a term name from string.

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

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

    Create a term name from the characters in cs[offset..offset+len-1]. TODO - have a mode where name validation is performed at creation time (e.g. if a name has the string "$class" in it, then fail if that string is not at the very end.)

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

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

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

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

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

    Definition Classes
    Names
  525. def newTreePrinter(): TreePrinter

    Definition Classes
    TreePrintersTreePrinters
  526. def newTreePrinter(stream: OutputStream): TreePrinter

    Definition Classes
    TreePrintersTreePrinters
  527. def newTreePrinter(writer: PrintWriter): TreePrinter

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

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

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

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

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

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

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

    Create a type name from string.

    Create a type name from string.

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

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

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

    Definition Classes
    Names
  534. def newTyperRun(): Unit

  535. def newUndoLog: UndoLog

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

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

    Definition Classes
    Global
  538. def nextId(): Int

    Attributes
    protected
    Definition Classes
    Symbols
  539. object nme extends TermNames with AbsTermNames

  540. lazy val noPosition: CondPickler[NoPosition]

    Definition Classes
    Picklers
  541. object nodePrinters extends NodePrinters

    Print tree in detailed form

  542. val nodeToString: (Tree) ⇒ String

    Definition Classes
    Global
  543. def normalizePlus(tp: Type): Type

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

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

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

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

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

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

    Definition Classes
    Picklers
  550. def onCompilerThread: Boolean

    Definition Classes
    CompilerControl
  551. 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
  552. def openPackageModule(pkgClass: Symbol): Unit

    if there's a package member object in pkgClass, enter its members into it.

    if there's a package member object in pkgClass, enter its members into it.

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

    Definition Classes
    SymbolTable
  554. object opt extends AestheticSettings

  555. val originalOwner: HashMap[Symbol, Symbol]

    The original owner of a class.

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

    Definition Classes
    Symbols
  556. object overridingPairs extends OverridingPairs

    Computing pairs of overriding/overridden symbols

  557. def paramString(tp: Type): String

    Definition Classes
    TypeDebugging
  558. 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
  559. def patch(f: AbstractFile, d: (Int, Int, String)): Array[Char]

    Definition Classes
    Picklers
  560. object perRunCaches extends AnyRef

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

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

    Definition Classes
    SymbolTable
  563. final def phase: Phase

    Definition Classes
    SymbolTable
  564. def phaseDescriptions: String

    A description of the phases that will run

    A description of the phases that will run

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

    Definition Classes
    Global
  566. 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
  567. final def phaseId(period: Period): Int

    The phase identifier of the given period.

    The phase identifier of the given period.

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

    The names of the phases.

    The names of the phases.

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

    The phase associated with given period.

    The phase associated with given period.

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

    The phase which has given index as identifier.

    The phase which has given index as identifier.

    Definition Classes
    GlobalSymbolTable
  571. final def phase_=(p: Phase): Unit

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

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

    Attributes
    protected
    Definition Classes
    Global
  574. object pickler extends Pickler

  575. def picklerPhase: Phase

    Definition Classes
    GlobalRequired
  576. lazy val platform: ThisPlatform

    Definition Classes
    Global
  577. def pluginDescriptions: String

    A description of all the plugins that are loaded

    A description of all the plugins that are loaded

    Definition Classes
    Plugins
  578. def pluginOptionsHelp: String

    Summary of the options for all loaded plugins

    Summary of the options for all loaded plugins

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

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

    Definition Classes
    SymbolTable
  581. lazy val posAssigner: PosAssigner

    Attributes
    protected[this]
    Definition Classes
    PositionsPositions
  582. implicit lazy val position: Pickler[Position]

    Definition Classes
    Picklers
  583. object postErasure extends SubComponent with PostErasure

  584. def printAfterEachPhase[T](op: ⇒ T): Unit

    Definition Classes
    Global
  585. def printAllUnits(): Unit

    Definition Classes
    Global
  586. var printInfers: Boolean

    Definition Classes
    Global
  587. var printTypings: Boolean

    Switch to turn on detailed type logs

    Switch to turn on detailed type logs

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

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

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

    Definition Classes
    TreePrinters
  591. def quotedName(name: Name): String

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

    Adds backticks if the name is a scala keyword.

    Adds backticks if the name is a scala keyword.

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

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

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

    The raw to existential map converts a raw type to an existential type.

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

    Definition Classes
    Types
  597. 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
  598. object refChecks extends RefChecks

    Definition Classes
    GlobalTransforms
  599. def referenceCapturedVariable(vble: Symbol): Tree

    Mark given identifier as a reference to a captured variable itself suppressing dereferencing with the elem field.

    Mark given identifier as a reference to a captured variable itself suppressing dereferencing with the elem field.

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

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

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

    parents

    ...

    owner

    ...

    returns

    ...

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

    the canonical creator for a refined type with a given scope

    the canonical creator for a refined type with a given scope

    Definition Classes
    Types → Types
  602. 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
  603. 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
  604. def reify[T](expr: T): Expr[T]

    Definition Classes
    Universe
    Annotations
    @macroImpl()
  605. implicit def reloadItem: CondPickler[ReloadItem]

    Definition Classes
    Picklers
  606. def removeAllAnnotationCheckers(): Unit

    Remove all annotation checkers

    Remove all annotation checkers

    Definition Classes
    AnnotationCheckers
  607. 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
  608. def repackExistential(tp: Type): Type

    Repack existential types, otherwise they sometimes get unpacked in the wrong location (type inference comes up with an unexpected skolem)

    Repack existential types, otherwise they sometimes get unpacked in the wrong location (type inference comes up with an unexpected skolem)

    Definition Classes
    Types
  609. var reporter: Reporter

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

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

    Definition Classes
    Global
    Annotations
    @inline()
  612. def resetAllAttrs[A <: Tree](x: A, leaveAlone: (Tree) ⇒ Boolean): A

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

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

    Definition Classes
    Trees
  613. def resetLocalAttrs[A <: Tree](x: A, leaveAlone: (Tree) ⇒ Boolean): A

    Definition Classes
    Trees
  614. def resetLocalAttrsKeepLabels[A <: Tree](x: A, leaveAlone: (Tree) ⇒ Boolean): A

    Definition Classes
    Trees
  615. object resetPos extends Traverser

  616. def respond[T](result: Response[T])(op: ⇒ T): Unit

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

  618. def rootLoader: LazyType

    Definition Classes
    GlobalSymbolTable
  619. lazy val roughPluginsList: List[Plugin]

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

    The run identifier of the given period.

    The run identifier of the given period.

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

    True if two lists have the same length.

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

    Definition Classes
    Types
  622. object sampleTransform extends SampleTransform

  623. object scalaPrimitives extends ScalaPrimitives

    Scala primitives, used in genicode

  624. 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
  625. def scopeTransform(owner: Symbol)(op: ⇒ Scope): Scope

    Transform scope of members of owner using operation op This is overridden by the reflective compiler to avoid creating new scopes for packages

    Transform scope of members of owner using operation op This is overridden by the reflective compiler to avoid creating new scopes for packages

    Definition Classes
    Scopes
  626. def selectOverloadedMethod(owner: Symbol, name: String, index: Int): Symbol

    Definition Classes
    TreeBuildUtil → TreeBuildUtil
  627. def selectOverloadedMethodIfDefined(owner: Symbol, name: String, index: Int): Symbol

    Definition Classes
    TreeBuildUtil → TreeBuildUtil
  628. def selectTerm(owner: Symbol, name: String): Symbol

    Definition Classes
    TreeBuildUtil → TreeBuildUtil
  629. def selectTermIfDefined(owner: Symbol, name: String): Symbol

    Definition Classes
    TreeBuildUtil → TreeBuildUtil
  630. def selectType(owner: Symbol, name: String): Symbol

    Definition Classes
    TreeBuildUtil → TreeBuildUtil
  631. def selectTypeIfDefined(owner: Symbol, name: String): Symbol

    Definition Classes
    TreeBuildUtil → TreeBuildUtil
  632. val self: Any

    Implicit information
    This member is added by an implicit conversion from Global to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
  633. val self: Any

    Implicit information
    This member is added by an implicit conversion from Global to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  634. val shorthands: Set[String]

    Definition Classes
    Types
  635. def shouldLogAtThisPhase: Boolean

    Definition Classes
    Global
  636. def show(tree: Tree, mkPrinter: (PrintWriter) ⇒ TreePrinter): String

    Definition Classes
    TreePrinters
  637. 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
  638. final val showOuterTests: Boolean(false)

    Definition Classes
    TreePrinters
  639. def showRaw(tree: Tree): String

    Definition Classes
    TreePrinters
  640. lazy val shutdownReq: CondPickler[ShutdownReq]

    Definition Classes
    Picklers
  641. 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
  642. 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
  643. def singleType(pre: Type, sym: Symbol): Type

    The canonical creator for single-types

    The canonical creator for single-types

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

    Definition Classes
    Types
  645. var skolemizationLevel: Int

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

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

    Definition Classes
    Types
  646. lazy val sn: SymbolNames

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

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

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

    Solve constraint collected in types tvars.

    Solve constraint collected in types tvars.

    tvars

    All type variables to be instantiated.

    tparams

    The type parameters corresponding to tvars

    variances

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

    upper

    When true search for max solution else min.

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

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

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

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

    Definition Classes
    Types
  652. object specializeTypes extends SpecializeTypes

  653. def specializesSym(tp: Type, sym: Symbol): Boolean

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

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

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

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

    The period at the start of run that includes period.

    The period at the start of run that includes period.

    Definition Classes
    SymbolTable
  656. def staticClass(fullname: String): Symbol

    Definition Classes
    ClassLoaders
  657. def staticClassIfDefined(fullName: String): Symbol

    Definition Classes
    TreeBuildUtil → TreeBuildUtil
  658. def staticModule(fullname: String): Symbol

    Definition Classes
    ClassLoaders
  659. def staticModuleIfDefined(fullName: String): Symbol

    Definition Classes
    TreeBuildUtil → TreeBuildUtil
  660. object statistics extends StatisticsInfo

    Some statistics (normally disabled) set with -Ystatistics

  661. def substituteFreeTypes(tpe0: Type, subs: Map[FreeType, Type]): Type

    Definition Classes
    FreeVars → FreeVars
  662. def substituteFreeTypes(tree0: Tree, subs: Map[FreeType, Type]): Tree

    Definition Classes
    FreeVars → FreeVars
  663. object superAccessors extends SuperAccessors

  664. 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
  665. 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
    GlobalSymbolTable
  666. def suspendTypeVarsInType(tp: Type): List[TypeVar]

    Make each type var in this type use its original type for comparisons instead of collecting constraints.

    Make each type var in this type use its original type for comparisons instead of collecting constraints.

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

    Definition Classes
    TreePrinters
  668. implicit lazy val symPickler: Pickler[Symbol]

    Definition Classes
    Picklers
  669. def symbolCount: Int

    Definition Classes
    Symbols
  670. def syncTopLevelSyms(unit: RichCompilationUnit): Unit

    Update deleted and current top-level symbols sets

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

    Definition Classes
    AnyRef
  672. object syntaxAnalyzer extends SyntaxAnalyzer

  673. object tailCalls extends TailCalls

  674. object terminal extends SubComponent

  675. def thisModuleType(fullname: String): Type

    Definition Classes
    TreeBuildUtil → TreeBuildUtil
  676. implicit lazy val throwable: Pickler[Throwable]

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

    Definition Classes
    Global
  678. 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
  679. 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
  680. object toDeBruijn extends TypeMap

  681. 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
  682. def toString(): String

    Definition Classes
    AnyRef → Any
  683. object tpnme extends TypeNames with AbsTypeNames

  684. final val traceSymbolActivity: Boolean

    Dump each symbol to stdout after shutdown.

    Dump each symbol to stdout after shutdown.

    Definition Classes
    SymbolTable
  685. object traceSymbols extends TraceSymbolActivity

  686. def transformedType(tpe: Type): _56.global.Type forSome { val _56: scala.reflect.internal.transform.Erasure{val global: Global.this.type} }

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

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

    Definition Classes
    Picklers
  689. val treeBrowser: SwingBrowser

    Definition Classes
    Global
  690. object treeBrowsers extends TreeBrowsers

    Representing ASTs as graphs

  691. object treeChecker extends TreeCheckers

    Tree checker

  692. val treeCopy: TreeCopier

    Definition Classes
    Trees
  693. object treeInfo extends TreeInfo

  694. def treeLine(t: Tree): String

    Definition Classes
    Trees
  695. lazy val treePrinter: TreePrinter

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

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

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

    Definition Classes
    TypeDebugging
  699. object typeDebug extends AnyRef

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Types → Types
  706. def typeToString(tpe: Type): String

    Attributes
    protected
    Definition Classes
    Types
  707. object typeVarToOriginMap extends TypeMap

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

  708. def typeVarsInType(tp: Type): List[TypeVar]

    A list of the typevars in a type.

    A list of the typevars in a type.

    Definition Classes
    Types
  709. object typer extends Typer

  710. object uncurry extends UnCurry

    Definition Classes
    GlobalTransforms
  711. val undetBaseTypeSeq: BaseTypeSeq

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

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

    Definition Classes
    BaseTypeSeqs
  712. lazy val undoLog: UndoLog

    A log of type variable with their original constraints.

    A log of type variable with their original constraints. Used in order to undo constraints in the case of isSubType/isSameType failure.

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

    Attributes
    protected
    Definition Classes
    Types
  714. def uniqueTypeCount: Int

    Definition Classes
    Types
  715. val unitOfFile: LinkedHashMap[AbstractFile, RichCompilationUnit] with SynchronizedMap[AbstractFile, RichCompilationUnit]

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

  716. object unwrapToClass extends ClassUnwrapper

  717. object unwrapToStableClass extends ClassUnwrapper

  718. object unwrapWrapperTypes extends TypeUnwrapper

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

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

  721. def validateClassInfo(tp: ClassInfoType): Unit

    Overridden in reflection compiler

    Overridden in reflection compiler

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

    Definition Classes
    RangePositionsPositions
  723. val verboseIDE: Boolean

  724. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  727. 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
  728. def warning(msg: String): Unit

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

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

    Definition Classes
    Types
  731. object wildcardToTypeVarMap extends TypeMap

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

  732. def withInfoLevel[T](infolevel: Value)(op: ⇒ T): T

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

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

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

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

    Definition Classes
    Picklers
  735. def wrapFrontEnd(frontEnd: FrontEnd): Reporter

    Definition Classes
    FrontEnds
  736. def wrapReporter(reporter: Reporter): FrontEnd

    Definition Classes
    FrontEnds
  737. 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
    RangePositionsPositions → Positions
  738. 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
    RangePositionsPositions → Positions
  739. def xprintTree(treePrinter: TreePrinter, tree: Tree): Unit

    Hook for extensions

    Hook for extensions

    Definition Classes
    TreePrintersTreePrinters
  740. def xtransform(transformer: Transformer, tree: Tree): Tree

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

    Attributes
    protected
    Definition Classes
    Trees → Trees
  742. 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

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 onlyPresentation: Boolean

    Definition Classes
    Global
    Annotations
    @deprecated
    Deprecated

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

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

    Definition Classes
    Types → Types
    Annotations
    @deprecated
    Deprecated

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

  5. 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

  6. 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

  7. def view(s: String): TermName

    Definition Classes
    Names
    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0)

  8. 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.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  9. 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.
    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 TreePrinters

Inherited from FreeVars

Inherited from Trees

Inherited from PhaseAssembly

Inherited from Plugins

Inherited from CompilationUnits

Inherited from ToolBoxes

Inherited from ClassLoaders

Inherited from SymbolTable

Inherited from SymbolTable

Inherited from StdAttachments

Inherited from CapturedVariables

Inherited from FrontEnds

Inherited from TreeBuildUtil

Inherited from Required

Inherited from Importers

Inherited from TypeDebugging

Inherited from Positions

Inherited from TreePrinters

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 Scopes

Inherited from ExistentialsAndSkolems

Inherited from Kinds

Inherited from Types

Inherited from FreeVars

Inherited from SymbolFlags

Inherited from Symbols

Inherited from SymbolCreations

Inherited from Names

Inherited from Collections

Inherited from Universe

Inherited from Importers

Inherited from FrontEnds

Inherited from ToolBoxes

Inherited from TreeBuildUtil

Inherited from ClassLoaders

Inherited from StandardNames

Inherited from TreePrinters

Inherited from TypeTags

Inherited from StandardDefinitions

Inherited from StandardTypes

Inherited from Exprs

Inherited from Positions

Inherited from AnnotationInfos

Inherited from Trees

Inherited from Names

Inherited from Scopes

Inherited from Constants

Inherited from Types

Inherited from FreeVars

Inherited from Symbols

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringfmt from Global to StringFormat

Inherited by implicit conversion any2stringadd from Global to StringAdd

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

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