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 base
  Definition Classes
    doc
-  package comment
  Definition Classes
    base
- Block
- Body
- Bold
- Chain
- Code
- Comment
- DefinitionList
- EntityLink
- HorizontalRule
- HtmlTag
- Inline
- Italic
- Link
- Monospace
- OrderedList
- Paragraph
- Subscript
- Summary
- Superscript
- Text
- Title
- Underline
- UnorderedList

p

scala.tools.nsc.doc.base

# comment 

#### package comment

Content Hierarchy
 
Ordering

1. Alphabetic

Visibility

1. Public
2. All

### Type Members

1.  sealed abstract class Block extends AnyRef

   A block-level element of text, such as a paragraph or code block.

2.  final case class Body (blocks: collection.Seq[Block]) extends Product with Serializable

   A body of text.

   A body of text. A comment has a single body, which is composed of at least one block. Inside every body is exactly one summary.

   See also

     Summary

3.  final case class Bold (text: Inline) extends Inline with Product with Serializable
4.  final case class Chain (items: collection.Seq[Inline]) extends Inline with Product with Serializable
5.  final case class Code (data: String) extends Block with Product with Serializable
6.  abstract class Comment extends AnyRef

   A Scaladoc comment and all its tags.

   A Scaladoc comment and all its tags.

   Note: the only instantiation site of this class is in model.CommentFactory.

7.  final case class DefinitionList (items: SortedMap[Inline, Block]) extends Block with Product with Serializable
8.  abstract class EntityLink extends Inline
9.  final case class HorizontalRule () extends Block with Product with Serializable
10.  final case class HtmlTag (data: String) extends Inline with Product with Serializable
11.  sealed abstract class Inline extends AnyRef

    An section of text inside a block, possibly with formatting.

12.  final case class Italic (text: Inline) extends Inline with Product with Serializable
13.  final case class Link (target: String, title: Inline) extends Inline with Product with Serializable
14.  final case class Monospace (text: Inline) extends Inline with Product with Serializable
15.  final case class OrderedList (items: collection.Seq[Block], style: String) extends Block with Product with Serializable
16.  final case class Paragraph (text: Inline) extends Block with Product with Serializable
17.  final case class Subscript (text: Inline) extends Inline with Product with Serializable
18.  final case class Summary (text: Inline) extends Inline with Product with Serializable

    The summary of a comment, usually its first sentence.

    The summary of a comment, usually its first sentence. There must be exactly one summary per body.

19.  final case class Superscript (text: Inline) extends Inline with Product with Serializable
20.  final case class Text (text: String) extends Inline with Product with Serializable
21.  final case class Title (text: Inline, level: Int) extends Block with Product with Serializable
22.  final case class Underline (text: Inline) extends Inline with Product with Serializable
23.  final case class UnorderedList (items: collection.Seq[Block]) extends Block with Product with Serializable

### Value Members

1.  object EntityLink
2.  object HtmlTag extends Serializable

### Ungrouped