scala.tools.nsc.doc

DocParser

class DocParser extends Global with RangePositions

A very minimal global customized for extracting DocDefs. It stops right after parsing so it can read DocDefs from source code which would otherwise cause the compiler to go haywire.

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

Instance Constructors

  1. new DocParser()

  2. new DocParser(settings: Settings)

  3. new DocParser(settings: Settings, reporter: Reporter)

Type Members

  1. type AbstractFileType = AbstractFile

    Definition Classes
    Global → Required
  2. case class ChangeAfterPhase[+T](ph: Phase, lost: List[T], gained: List[T]) extends Product with Serializable

  3. class CompactTreePrinter extends TreePrinter

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

  4. class CompilationUnit extends AnyRef

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

  5. class ConditionalWarning extends AnyRef

    Collects for certain classes of warnings during this run.

  6. class DependencyGraph extends AnyRef

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

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

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

    Documented definition, eliminated by analyzer

  9. class ExpansionLimitExceeded extends Exception

  10. type FlagSet = Long

    Definition Classes
    FlagSets → FlagSets
  11. class GlobalMirror extends Roots

  12. abstract class GlobalPhase extends Phase

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

  14. class LazyTreeCopier extends LazyTreeCopier with TreeCopier

    Definition Classes
    Trees → Trees
  15. class Locator extends Traverser

    A locator for trees with given positions.

  16. type MethodSymbolApi = MethodSymbolBase

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

    Definition Classes
    Mirrors
  18. type ModuleSymbolApi = ModuleSymbolBase

    Definition Classes
    Symbols
  19. type OptClassPath = Option[PlatformClassPath]

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

    Only used during parsing

  21. type Period = Int

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

    Definition Classes
    Global
  23. type Position = Position

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

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

  26. class Run extends AnyRef

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

  27. type RunId = Int

    Definition Classes
    SymbolTable
  28. abstract type RuntimeClass >: Null

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

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

    Array selection <qualifier> .

  31. class StrictTreeCopier extends StrictTreeCopier with TreeCopier

    Definition Classes
    Trees → Trees
  32. type ThisPlatform = Platform { val global: DocParser.this.type }

    Definition Classes
    Global
  33. class Transformer extends Transformer

    Definition Classes
    Trees → Trees
  34. trait TreeCopier extends TreeCopierOps

    Definition Classes
    Trees → Trees
  35. type TreeGen = TreeGen

    Generate ASTs

    Generate ASTs

    Definition Classes
    Global
  36. class TreeMatchTemplate extends AnyRef

  37. class TreePrinter extends TreePrinter

    Definition Classes
    TreePrinters → TreePrinters → TreePrinters
  38. case class TypeTreeWithDeferredRefCheck(check: () ⇒ TypeTree) extends Tree with TypTree with Product with Serializable

    emitted by typer, eliminated by refchecks

  39. class TypedLocator extends Locator

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

  41. class ValidateException extends Exception

  42. class ValidatingPosAssigner extends Traverser with PosAssigner

  43. abstract type _73.type <: Erasure { val global: DocParser.this.type } with Singleton

    Definition Classes
    Transforms

Value Members

  1. final def !=(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Constants
  29. lazy val BooleanTpe: Type

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

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

    Definition Classes
    Constants
  32. lazy val ByteTpe: Type

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

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

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

    Definition Classes
    Constants
  36. lazy val CharTpe: Type

    Definition Classes
    Definitions → StandardTypes
  37. def ClassDef(sym: Symbol, constrMods: Modifiers, vparamss: List[List[ValDef]], argss: List[List[Tree]], body: List[Tree], superPos: Position): ClassDef

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

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

    sym

    the class symbol

    constrMods

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

    vparamss

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

    argss

    the supercall arguments

    body

    the template statements without primary constructor and value parameter fields.

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Types → Types
  48. val CyclicInheritance: Throwable

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

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

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

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

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

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

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

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

    Definition Classes
    Constants
  57. lazy val DoubleTpe: Type

    Definition Classes
    Definitions → StandardTypes
  58. def EmptyPackageClass: ClassSymbol

    Definition Classes
    Global
  59. def EmptyTermName: TermName

    Definition Classes
    Names
  60. lazy val EmptyTreeTypeSubstituter: TreeTypeSubstituter

    Definition Classes
    Trees
  61. def EmptyTypeName: TypeName

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

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

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

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

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

    Definition Classes
    Constants
  67. lazy val FloatTpe: Type

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

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

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

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

    Definition Classes
    Trees → Trees
  72. val GlbFailure: Throwable

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

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

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

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

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

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

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

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

    Definition Classes
    Constants
  81. lazy val IntTpe: Type

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

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

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

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

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

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

    Definition Classes
    Constants
  88. lazy val LongTpe: Type

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

    Definition Classes
    Trees → Trees
  90. val MaxPhases: Int

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Trees → Trees
  107. object NoCompilationUnit extends CompilationUnit

    An object representing a missing compilation unit.

  108. val NoFlags: FlagSet

    Definition Classes
    FlagSets
  109. val NoKindErrors: KindErrors

    Definition Classes
    Kinds
  110. lazy val NoMods: Modifiers

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

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

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

    Definition Classes
    SymbolTable
  114. lazy val NoSymbol: NoSymbol

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

    Definition Classes
    Constants
  116. lazy val NothingTpe: Type

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

    Definition Classes
    Constants
  118. lazy val NullTpe: Type

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

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

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

    Definition Classes
    Trees → Trees
  122. implicit val PolyTypeTag: ClassTag[PolyType]

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

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

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

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

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

    Definition Classes
    Trees → Trees
  128. def RootClass: ClassSymbol

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

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

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

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

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

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

    Definition Classes
    Constants
  135. lazy val ShortTpe: Type

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

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

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

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

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

    Definition Classes
    Constants
  141. lazy val StringTpe: Type

    Definition Classes
    Definitions → StandardTypes
  142. def Super(sym: Symbol, mix: TypeName): Tree

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Constants
  176. lazy val UnitTpe: Type

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

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

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

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

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

    Definition Classes
    Global → SymbolTable
  182. def abstractTypesToBounds(tp: Type): Type

    Definition Classes
    Types
  183. def adaptAnnotations(tree: Tree, mode: Int, pt: Type): Tree

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

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

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

    Definition Classes
    AnnotationCheckers
  187. implicit def addFlagOps(left: FlagSet): FlagOps

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

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

    Definition Classes
    Types
  190. def addSerializable(ps: Type*): List[Type]

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Global
    Annotations
    @inline()
  205. object analysis extends TypeFlowAnalysis

    ICode analysis for optimization

  206. lazy val analyzer: Analyzer { val global: DocParser.this.type }

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    TreePrinters
  218. final def assert(assertion: Boolean): Unit

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

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

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

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

    Definition Classes
    SymbolTable
  223. def atPhaseStackMessage: String

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

    Position a tree.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Types
  241. val build: BuildBase

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

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

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

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

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

    Definition Classes
    CapturedVariables
  247. 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
  248. def checkKindBounds0(tparams: List[Symbol], targs: List[Type], pre: Type, owner: Symbol, explainErrors: Boolean): List[(Type, Symbol, KindErrors)]

    Definition Classes
    Kinds
  249. var chrs: Array[Char]

    Definition Classes
    Names
  250. def classPath: PlatformClassPath

    Definition Classes
    Global
  251. def classTagToClassManifest[T](tag: ClassTag[T]): ClassManifest[T]

    Definition Classes
    TagInterop
  252. object cleanup extends CleanUp

  253. def clone(): AnyRef

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

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

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

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

    Definition Classes
    Symbols
  258. object closureElimination extends ClosureElimination

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

    Definition Classes
    Collections
  260. def commonOwnerMap: CommonOwnerMap

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

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

    Definition Classes
    BaseTypeSeqs
  263. 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
    DocParserGlobal
  264. def computePhaseDescriptors: List[SubComponent]

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

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

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

    Definition Classes
    Symbols
  268. object constfold extends ConstantFolder

    Fold constants

  269. object constructors extends Constructors

  270. def containsExistential(tpe: Type): Boolean

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

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

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

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

    Definition Classes
    Types
  276. object copyPropagation extends CopyPropagation

    Copy propagation for optimization

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

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

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

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

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

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

    Definition Classes
    Symbols
  283. def createJavadoc: Boolean

    Definition Classes
    Global
  284. final def currentPeriod: Period

    Definition Classes
    SymbolTable
  285. def currentRun: Run

    The currently active run

    The currently active run

    Definition Classes
    Global
  286. def currentRunId: Int

    The id of the currently active run

    The id of the currently active run

    Definition Classes
    Global → SymbolTable
  287. var currentSettings: Settings

    Definition Classes
    Global
  288. def currentSource: SourceFile

    Definition Classes
    Global
  289. def currentUnit: CompilationUnit

    Definition Classes
    Global
  290. object deadCode extends DeadCodeElimination

  291. def debugStack(t: Throwable): Unit

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

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

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

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

    Definition Classes
    TreePrinters
  296. def defineBaseClassesOfCompoundType(tpe: CompoundType): Unit

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

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

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

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

    Attributes
    protected
    Definition Classes
    Types
  301. object dependencyAnalysis extends SubComponent with DependencyAnalysis

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Collections
  318. def doInvalidation(): Any

    Invalidate contents of setting -Yinvalidate

    Invalidate contents of setting -Yinvalidate

    Definition Classes
    Global
  319. 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
  320. 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
  321. val docComments: HashMap[Symbol, DocComment]

    The raw doc comment map

    The raw doc comment map

    Definition Classes
    DocComments
  322. def docDefs(code: String): List[Parsed]

    Returns a list of DocParser.Parseds, which hold the DocDefs found in the given code along with the surrounding trees.

  323. def docUnit(code: String): Tree

    A compilation unit containing parsed source.

  324. def echoPhaseSummary(ph: Phase): Unit

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

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

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

    Definition Classes
    Symbols
  328. val enableTypeVarExperimentals: Boolean

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

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

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

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

    Definition Classes
    RangePositions → Positions
  331. def ensuring(cond: (DocParser) ⇒ Boolean, msg: ⇒ Any): DocParser

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  337. object erasure extends Erasure

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

    Definition Classes
    Global
  339. val etaExpandKeepsStar: Boolean

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

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

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

    Definition Classes
    Collections
  343. 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
  344. 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
  345. 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
  346. 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
  347. 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.

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

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

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

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

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

    Definition Classes
    Types
  353. object explicitOuter extends ExplicitOuter

  354. object extensionMethods extends ExtensionMethods

  355. def finalize(): Unit

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

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

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

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

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

    Definition Classes
    Collections
  362. object flatten extends Flatten

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

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

    Definition Classes
    Global → Required
  365. def forJVM: Boolean

    Definition Classes
    Global
  366. def forMSIL: Boolean

    Definition Classes
    Global → SymbolTable
  367. def forScaladoc: Boolean

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

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Symbols
  375. def fromDeBruijn(owner: Symbol): TypeMap

    Definition Classes
    Types
  376. object gen extends TreeGen

    Definition Classes
    Global → SymbolTable
  377. object genASM extends GenASM

  378. object genJVM extends GenJVM

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

    Definition Classes
    Types
  380. object genicode extends GenICode

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

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

    Definition Classes
    Global
  384. def getSourceFile(name: String): SourceFile

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

    Definition Classes
    Global
  386. def glb(ts: List[Type]): Type

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

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

    Definition Classes
    Global
  389. var globalPhase: Phase

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

    Definition Classes
    Types
  391. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  392. object icodeChecker extends ICodeChecker

  393. object icodeCheckers extends ICodeCheckers

    Icode verification

  394. object icodes extends ICodes

    ICode generator

  395. var ids: Int

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

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

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

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

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

    Definition Classes
    Global
  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 intersectionType(tps: List[Type]): Type

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

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

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

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

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

    returns

    A pair consisting of

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

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

    Definition Classes
    Types
  413. def isCompilerUniverse: Boolean

    Definition Classes
    Global → SymbolTable
  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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Types
  430. def isScriptRun: Boolean

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

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

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

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

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

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

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Trees → Trees
  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: SymbolLoaders { val global: DocParser.this.type }

    Definition Classes
    Global
  450. final def log(msg: ⇒ AnyRef): Unit

    Definition Classes
    Global → SymbolTable
    Annotations
    @inline()
  451. def logAfterEveryPhase[T](msg: String)(op: ⇒ T): Unit

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

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

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

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

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

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

    Definition Classes
    Types
  459. def makeNoSymbol: NoSymbol

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Collections
  476. def mirrorThatLoaded(sym: Symbol): Mirror

    Returns the mirror that loaded given symbol

    Returns the mirror that loaded given symbol

    Definition Classes
    Global → SymbolTable
  477. val missingAliasException: MissingAliasControl

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

    Definition Classes
    SymbolTable
  479. object mixer extends Mixin

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

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

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

    Definition Classes
    Collections
  483. def nameChars: Array[Char]

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Symbols
  495. def newLazyTreeCopier: TreeCopier

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

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

    Definition Classes
    Scopes
  498. def newScope: Scope

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

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

    Definition Classes
    Global
  501. def newStandardTreePrinter(): TreePrinter

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

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

    Definition Classes
    TreePrinters
  504. def newStrictTreeCopier: TreeCopier

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

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

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

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

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

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

    Definition Classes
    Names
  511. def newTreePrinter(): TreePrinter

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

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

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

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

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

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

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

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

    Definition Classes
    Names
  520. def newUndoLog: UndoLog

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

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

    Definition Classes
    Global
  523. def nextId(): Int

    Attributes
    protected
    Definition Classes
    Symbols
  524. object nodePrinters extends NodePrinters

    Print tree in detailed form

  525. val nodeToString: (Tree) ⇒ String

    Definition Classes
    Global
  526. object noopTransformer extends Transformer

  527. def normalizePlus(tp: Type): Type

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

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

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

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

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

    Definition Classes
    Types
  533. def openPackageModule(pkgClass: Symbol): Unit

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

    Definition Classes
    SymbolTable
  535. object opt extends AestheticSettings

  536. val originalOwner: HashMap[Symbol, Symbol]

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

    Definition Classes
    Types
  538. object overridingPairs extends OverridingPairs

    Computing pairs of overriding/overridden symbols

  539. def paramString(tp: Type): String

    Definition Classes
    TypeDebugging
  540. object patmat extends SubComponent with PatternMatching

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

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

    Definition Classes
    SymbolTable
  543. final def phase: Phase

    Definition Classes
    SymbolTable
  544. def phaseDescriptions: String

    A description of the phases that will run

    A description of the phases that will run

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

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

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

    The names of the phases.

    The names of the phases.

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Global
  554. object pickler extends Pickler

  555. def picklerPhase: Phase

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

    Definition Classes
    Global
  557. def pluginDescriptions: String

    A description of all the plugins that are loaded

    A description of all the plugins that are loaded

    Definition Classes
    Plugins
  558. def pluginOptionsHelp: String

    Summary of the options for all loaded plugins

    Summary of the options for all loaded plugins

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

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

    Definition Classes
    SymbolTable
  561. lazy val posAssigner: PosAssigner

    Attributes
    protected[this]
    Definition Classes
    Positions → Positions
  562. object postErasure extends SubComponent with PostErasure

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

    Definition Classes
    Global
  564. def printAllUnits(): Unit

    Definition Classes
    Global
  565. var printInfers: Boolean

    Definition Classes
    Global
  566. var printTypings: Boolean

    Switch to turn on detailed type logs

    Switch to turn on detailed type logs

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

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

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

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

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

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

    Definition Classes
    RangePositionsPositions
  573. 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
  574. def rawToExistential: TypeMap

    Definition Classes
    Types
  575. object refChecks extends RefChecks

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

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

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

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

    Register new context; called for every created context

    Register new context; called for every created context

    Definition Classes
    Global
  580. def registerTopLevelSym(sym: Symbol): Unit

    Register top level class (called on entering the class)

    Register top level class (called on entering the class)

    Definition Classes
    Global
  581. def reify[T](expr: T): Expr[T]

    Definition Classes
    Universe
  582. def removeAllAnnotationCheckers(): Unit

    Definition Classes
    AnnotationCheckers
  583. def repackExistential(tp: Type): Type

    Definition Classes
    Types
  584. final def require(requirement: Boolean): Unit

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

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

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

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

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

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

    Definition Classes
    Trees
  589. object resetPos extends Traverser

  590. lazy val rootMirror: Mirror

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

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

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

    Definition Classes
    Types
  594. object sampleTransform extends SampleTransform

  595. object scalaPrimitives extends ScalaPrimitives

    Scala primitives, used in genicode

  596. def scopeTransform(owner: Symbol)(op: ⇒ Scope): Scope

    Definition Classes
    Scopes
  597. val self: Any

    Implicit information
    This member is added by an implicit conversion from DocParser to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  598. val self: Any

    Implicit information
    This member is added by an implicit conversion from DocParser to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
  599. val shorthands: Set[String]

    Definition Classes
    Types
  600. def shouldLogAtThisPhase: Boolean

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

    Definition Classes
    TreePrinters
  602. def show(tree: Tree): String

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

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

    Definition Classes
    TreePrinters
  606. def signalDone(context: Context, old: Tree, result: Tree): Unit

    Called every time an AST node is successfully typechecked in typerPhase.

    Called every time an AST node is successfully typechecked in typerPhase.

    Definition Classes
    Global
  607. 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
    Global
  608. def singleType(pre: Type, sym: Symbol): Type

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

    Definition Classes
    Types
  610. var skolemizationLevel: Int

    Definition Classes
    Types
  611. lazy val sn: SymbolNames

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

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

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

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

    Definition Classes
    Types
  616. object specializeTypes extends SpecializeTypes

  617. def specializesSym(tp: Type, sym: Symbol, depth: Int): Boolean

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

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

    Definition Classes
    SymbolTable
  620. object statistics extends StatisticsInfo

    Some statistics (normally disabled) set with -Ystatistics

  621. object superAccessors extends SuperAccessors

  622. 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
  623. def supplementErrorMessage(errorMessage: String): String

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

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

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

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

    Definition Classes
    TreePrinters
  626. def symbolCount: Int

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

    Definition Classes
    AnyRef
  628. object syntaxAnalyzer extends SyntaxAnalyzer

  629. object tailCalls extends TailCalls

  630. object terminal extends SubComponent

  631. def throwableAsString(t: Throwable): String

    Definition Classes
    Global → SymbolTable
  632. 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
  633. def toString(): String

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

    Definition Classes
    SymbolTable
  635. def transformedType(tpe: Type): _73.global.Type forSome { val _73: scala.reflect.internal.transform.Erasure{val global: DocParser.this.type} }

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

    Definition Classes
    Transforms
  637. final def transposeSafe[A](ass: List[List[A]]): Option[List[List[A]]]

    Definition Classes
    Collections
  638. val treeBrowser: SwingBrowser

    Definition Classes
    Global
  639. object treeBrowsers extends TreeBrowsers

    Representing ASTs as graphs

  640. val treeBuild: TreeGen { val global: DocParser.this.type }

    Definition Classes
    SymbolTable → Universe
  641. object treeChecker extends TreeCheckers

    Tree checker

  642. val treeCopy: TreeCopier

    Definition Classes
    Trees
  643. object treeInfo extends TreeInfo

  644. def treeLine(t: Tree): String

    Definition Classes
    Trees
  645. lazy val treePrinter: TreePrinter

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

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

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

    Definition Classes
    TypeDebugging
  649. object typeDeconstruct extends StructuredTypeStrings

  650. def typeDepth(tp: Type): Int

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Types
  662. object typer extends Typer

  663. object uncurry extends UnCurry

    Definition Classes
    Global → Transforms
  664. val undetBaseTypeSeq: BaseTypeSeq

    Definition Classes
    BaseTypeSeqs
  665. lazy val undoLog: UndoLog

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

    Attributes
    protected
    Definition Classes
    Types
  667. def uniqueTypeCount: Int

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

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

  670. def validateClassInfo(tp: ClassInfoType): Unit

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

    Definition Classes
    RangePositionsPositions
  672. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  675. def warning(msg: String): Unit

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

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

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

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

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

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

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

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

    A position that wraps a set of trees.

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

    Definition Classes
    RangePositions → Positions → Positions
  682. def xprintTree(treePrinter: TreePrinter, tree: Tree): Unit

    Definition Classes
    TreePrinters → TreePrinters
  683. def xtransform(transformer: Transformer, tree: Tree): Tree

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

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

    Implicit information
    This member is added by an implicit conversion from DocParser to ArrowAssoc[DocParser] 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 clearOnNextRun(sym: Symbol): Boolean

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

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

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

    sym

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

    Definition Classes
    Global
    Annotations
    @deprecated
    Deprecated

    use invalidateClassPathEntries instead

  3. def duplicateTree(tree: Tree): Tree

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

    (Since version 2.10.0) Moved to tree.duplicate

  4. def onlyPresentation: Boolean

    Definition Classes
    Global
    Annotations
    @deprecated
    Deprecated

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

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

    Definition Classes
    Types → Types
    Annotations
    @deprecated
    Deprecated

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

  6. def view(s: String): TermName

    Definition Classes
    Names
    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0)

  7. def x: DocParser

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

    (Since version 2.10.0) Use leftOfArrow instead

  8. def x: DocParser

    Implicit information
    This member is added by an implicit conversion from DocParser to Ensuring[DocParser] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from RangePositions

Inherited from Global

Inherited from Positions

Inherited from DocComments

Inherited from TreePrinters

Inherited from Trees

Inherited from PhaseAssembly

Inherited from Plugins

Inherited from CompilationUnits

Inherited from SymbolTable

Inherited from SymbolTable

Inherited from BuildUtils

Inherited from StdCreators

Inherited from StdAttachments

Inherited from CapturedVariables

Inherited from Required

Inherited from Importers

Inherited from TypeDebugging

Inherited from Positions

Inherited from 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 Mirrors

Inherited from Scopes

Inherited from FlagSets

Inherited from ExistentialsAndSkolems

Inherited from Kinds

Inherited from Types

Inherited from Symbols

Inherited from Names

Inherited from Collections

Inherited from Universe

Inherited from Universe

Inherited from AnnotationInfos

Inherited from Exprs

Inherited from Importers

Inherited from StandardNames

Inherited from StandardDefinitions

Inherited from Mirrors

Inherited from Positions

Inherited from Constants

Inherited from TreePrinters

Inherited from Trees

Inherited from Names

Inherited from FlagSets

Inherited from Types

Inherited from Symbols

Inherited from Universe

Inherited from Mirrors

Inherited from BuildUtils

Inherited from StandardNames

Inherited from StandardDefinitions

Inherited from StandardTypes

Inherited from TagInterop

Inherited from TypeTags

Inherited from Positions

Inherited from AnnotationInfos

Inherited from Constants

Inherited from Trees

Inherited from Names

Inherited from Scopes

Inherited from FlagSets

Inherited from Types

Inherited from Symbols

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from DocParser to StringAdd

Inherited by implicit conversion any2stringfmt from DocParser to StringFormat

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

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