Scala Compiler2.12.2 < Back
 

# Packages

-  package root

  The Scala compiler and reflection APIs.

  The Scala compiler and reflection APIs.

  Definition Classes
    root
-  package scala
  Definition Classes
    root
-  package tools
  Definition Classes
    scala
-  package nsc
  Definition Classes
    tools
-  package doc
  Definition Classes
    nsc
-  package model
  Definition Classes
    doc
-  class ModelFactory extends AnyRef

  This trait extracts all required information for documentation from compilation units

  This trait extracts all required information for documentation from compilation units

  Definition Classes
    model
- DocTemplateImpl
- EntityImpl
- HigherKindedImpl
- MemberImpl
- MemberTemplateImpl
- NoDocTemplateImpl
- NonTemplateMemberImpl
- NonTemplateParamMemberImpl
- PackageImpl
- ParameterImpl
- RootPackageImpl
- TemplateImpl
- modelCreation

t

scala.tools.nsc.doc.model.ModelFactory

# TemplateImpl 

###

#### trait TemplateImpl extends (ModelFactory.this)#EntityImpl with TemplateEntity

Source
  ModelFactory.scala

Linear Supertypes
TemplateEntity, (ModelFactory.this)#EntityImpl, Entity, AnyRef, Any
Known Subclasses
DocTemplateImpl, MemberTemplateImpl, NoDocTemplateImpl, PackageImpl, RootPackageImpl
Type Hierarchy
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. TemplateImpl
2. TemplateEntity
3. EntityImpl
4. Entity
5. AnyRef
6. Any

Implicitly

1. by any2stringadd
2. by StringFormat
3. by Ensuring
4. by ArrowAssoc

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Abstract Value Members

1.  abstract def isDocTemplate: Boolean

   Whether documentation is available for this template.

   Whether documentation is available for this template.

   Definition Classes
     TemplateEntity
2.  abstract def kind: String

   The kind of the entity

   The kind of the entity

   Definition Classes
     Entity

### Concrete Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  def +(other: String): String
   Implicit
     This member is added by an implicit conversion from (ModelFactory.this)#TemplateImpl to any2stringadd[(ModelFactory.this)#TemplateImpl] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): ((ModelFactory.this)#TemplateImpl, B)
   Implicit
     This member is added by an implicit conversion from (ModelFactory.this)#TemplateImpl to ArrowAssoc[(ModelFactory.this)#TemplateImpl] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
6.  def annotations: List[Annotation]

   The annotations attached to this entity, if any.

   The annotations attached to this entity, if any.

   Definition Classes
     EntityImpl → Entity
7.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
8.  def clone(): AnyRef
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( ... )
9.  def ensuring(cond: ((ModelFactory.this)#TemplateImpl) ⇒ Boolean, msg: ⇒ Any): (ModelFactory.this)#TemplateImpl
   Implicit
     This member is added by an implicit conversion from (ModelFactory.this)#TemplateImpl to Ensuring[(ModelFactory.this)#TemplateImpl] performed by method Ensuring in scala.Predef.
   Definition Classes
     Ensuring
10.  def ensuring(cond: ((ModelFactory.this)#TemplateImpl) ⇒ Boolean): (ModelFactory.this)#TemplateImpl
    Implicit
      This member is added by an implicit conversion from (ModelFactory.this)#TemplateImpl to Ensuring[(ModelFactory.this)#TemplateImpl] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
11.  def ensuring(cond: Boolean, msg: ⇒ Any): (ModelFactory.this)#TemplateImpl
    Implicit
      This member is added by an implicit conversion from (ModelFactory.this)#TemplateImpl to Ensuring[(ModelFactory.this)#TemplateImpl] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
12.  def ensuring(cond: Boolean): (ModelFactory.this)#TemplateImpl
    Implicit
      This member is added by an implicit conversion from (ModelFactory.this)#TemplateImpl to Ensuring[(ModelFactory.this)#TemplateImpl] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
13.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
14.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
15.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
16.  def formatted(fmtstr: String): String
    Implicit
      This member is added by an implicit conversion from (ModelFactory.this)#TemplateImpl to StringFormat[(ModelFactory.this)#TemplateImpl] performed by method StringFormat in scala.Predef.
    Definition Classes
      StringFormat
    Annotations
      @inline()
17.  final def getClass(): java.lang.Class[_]
    Definition Classes
      AnyRef → Any
18.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
19.  def inPackageObject: Boolean

    Whether or not the template was defined in a package object

    Whether or not the template was defined in a package object

    Definition Classes
      EntityImpl → Entity
20.  def inTemplate: (ModelFactory.this)#TemplateImpl

    The template of which this entity is a member.

    The template of which this entity is a member.

    Definition Classes
      EntityImpl → Entity
21.  val inTpl: (ModelFactory.this)#TemplateImpl
    Definition Classes
      EntityImpl
22.  def isCaseClass: Boolean

    Whether this template is a case class.

    Whether this template is a case class.

    Definition Classes
      TemplateImpl → TemplateEntity
23.  def isClass: Boolean

    Whether this template is a class.

    Whether this template is a class.

    Definition Classes
      TemplateImpl → TemplateEntity
24.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
25.  def isObject: Boolean

    Whether this template is an object.

    Whether this template is an object.

    Definition Classes
      TemplateImpl → TemplateEntity
26.  def isPackage: Boolean

    Whether this template is a package (including the root package).

    Whether this template is a package (including the root package).

    Definition Classes
      TemplateImpl → TemplateEntity
27.  def isRootPackage: Boolean

    Whether this template is the root package.

    Whether this template is the root package.

    Definition Classes
      TemplateImpl → TemplateEntity
28.  def isTrait: Boolean

    Whether this template is a trait.

    Whether this template is a trait.

    Definition Classes
      TemplateImpl → TemplateEntity
29.  def isType: Boolean

    Indicates whether this entity lives in the types namespace (classes, traits, abstract/alias types)

    Indicates whether this entity lives in the types namespace (classes, traits, abstract/alias types)

    Definition Classes
      EntityImpl → Entity
30.  val name: String
    Definition Classes
      EntityImpl → Entity
31.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
32.  final def notify(): Unit
    Definition Classes
      AnyRef
33.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
34.  def qualifiedName: String

    The qualified name of the entity.

    The qualified name of the entity. This is this entity's name preceded by the qualified name of the template of which this entity is a member. The qualified name is unique to this entity.

    Definition Classes
      TemplateImpl → EntityImpl → Entity
35.  def selfType: Option[TypeEntity]

    The self-type of this template, if it differs from the template type.

    The self-type of this template, if it differs from the template type.

    Definition Classes
      TemplateImpl → TemplateEntity
36.  val sym: Global.Symbol
    Definition Classes
      EntityImpl
37.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
38.  def toRoot: List[(ModelFactory.this)#EntityImpl]

    The list of entities such that each is a member of the entity that follows it; the first entity is always this entity, the last the root package entity.

    The list of entities such that each is a member of the entity that follows it; the first entity is always this entity, the last the root package entity.

    Definition Classes
      EntityImpl → Entity
39.  def toString(): String

    The qualified name of this entity.

    The qualified name of this entity.

    Definition Classes
      Entity → AnyRef → Any
40.  val universe: Universe
    Definition Classes
      EntityImpl → Entity
41.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
42.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
43.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
44.  def →[B](y: B): ((ModelFactory.this)#TemplateImpl, B)
    Implicit
      This member is added by an implicit conversion from (ModelFactory.this)#TemplateImpl to ArrowAssoc[(ModelFactory.this)#TemplateImpl] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
      ArrowAssoc

### Inherited from TemplateEntity

### Inherited from (ModelFactory.this)#EntityImpl

### Inherited from Entity

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd from (ModelFactory.this)#TemplateImpl to any2stringadd[(ModelFactory.this)#TemplateImpl]

### Inherited by implicit conversion StringFormat from (ModelFactory.this)#TemplateImpl to StringFormat[(ModelFactory.this)#TemplateImpl]

### Inherited by implicit conversion Ensuring from (ModelFactory.this)#TemplateImpl to Ensuring[(ModelFactory.this)#TemplateImpl]

### Inherited by implicit conversion ArrowAssoc from (ModelFactory.this)#TemplateImpl to ArrowAssoc[(ModelFactory.this)#TemplateImpl]

### Ungrouped