scala.tools.nsc.doc.base

CommentFactoryBase

trait CommentFactoryBase extends AnyRef

The comment parser transforms raw comment strings into Comment objects. Call parse to run the parser. Note that the parser is stateless and should only be built once for a given Scaladoc run.

Self Type
CommentFactoryBase with MemberLookupBase
Source
CommentFactoryBase.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CommentFactoryBase
  2. AnyRef
  3. 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

Type Members

  1. sealed class CharReader extends AnyRef

    Attributes
    protected
  2. final case class SimpleTagKey(name: String) extends (CommentFactoryBase.this)#TagKey with Product with Serializable

    Attributes
    protected
  3. final case class SymbolTagKey(name: String, symbol: String) extends (CommentFactoryBase.this)#TagKey with Product with Serializable

    Attributes
    protected
  4. sealed abstract class TagKey extends AnyRef

    A key used for a tag map.

  5. final class WikiParser extends (CommentFactoryBase.this)#CharReader

    TODO

Abstract Value Members

  1. abstract val global: Global

Concrete 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 CommentFactoryBase to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (CommentFactoryBase, B)

    Implicit information
    This member is added by an implicit conversion from CommentFactoryBase to ArrowAssoc[CommentFactoryBase] 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. val CleanCommentLine: Regex

    The body of a line, dropping the (optional) start star-marker, one leading whitespace and all trailing whitespace.

    The body of a line, dropping the (optional) start star-marker, one leading whitespace and all trailing whitespace.

    Attributes
    protected
  9. val CodeBlockEnd: Regex

    The end of a scaladoc code block

    The end of a scaladoc code block

    Attributes
    protected
  10. val CodeBlockStart: Regex

    The start of a scaladoc code block

    The start of a scaladoc code block

    Attributes
    protected
  11. val DangerousTags: Regex

    Dangerous HTML tags that should be replaced by something safer, such as wiki syntax, or that should be dropped.

    Dangerous HTML tags that should be replaced by something safer, such as wiki syntax, or that should be dropped.

    Attributes
    protected
  12. val JavadocTags: Regex

    Javadoc tags that should be replaced by something useful, such as wiki syntax, or that should be dropped.

    Javadoc tags that should be replaced by something useful, such as wiki syntax, or that should be dropped.

    Attributes
    protected
  13. val SafeTags: Regex

    Safe HTML tags that can be kept.

    Safe HTML tags that can be kept.

    Attributes
    protected
  14. val SimpleTag: Regex

    A Scaladoc tag not linked to a symbol.

    A Scaladoc tag not linked to a symbol. Returns the name of the tag, and the rest of the line.

    Attributes
    protected
  15. val SingleTag: Regex

    A Scaladoc tag not linked to a symbol and not followed by text

    A Scaladoc tag not linked to a symbol and not followed by text

    Attributes
    protected
  16. val SymbolTag: Regex

    A Scaladoc tag linked to a symbol.

    A Scaladoc tag linked to a symbol. Returns the name of the tag, the name of the symbol, and the rest of the line.

    Attributes
    protected
  17. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  18. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def createComment(body0: Option[Body] = None, authors0: List[Body] = List.empty, see0: List[Body] = List.empty, result0: Option[Body] = None, throws0: Map[String, Body] = Map.empty, valueParams0: Map[String, Body] = Map.empty, typeParams0: Map[String, Body] = Map.empty, version0: Option[Body] = None, since0: Option[Body] = None, todo0: List[Body] = List.empty, deprecated0: Option[Body] = None, note0: List[Body] = List.empty, example0: List[Body] = List.empty, constructor0: Option[Body] = None, source0: Option[String] = None, inheritDiagram0: List[String] = List.empty, contentDiagram0: List[String] = List.empty, group0: Option[Body] = None, groupDesc0: Map[String, Body] = Map.empty, groupNames0: Map[String, Body] = Map.empty, groupPrio0: Map[String, Body] = Map.empty): Comment

  20. val endOfLine: Char

    Attributes
    protected
  21. val endOfText: Char

    Attributes
    protected
  22. def ensuring(cond: (CommentFactoryBase) ⇒ Boolean, msg: ⇒ Any): CommentFactoryBase

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  28. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from CommentFactoryBase to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  30. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  31. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  32. def htmlReplacement(mtch: Match): String

    Maps a dangerous HTML tag to a safe wiki replacement, or an empty string if it cannot be salvaged.

    Maps a dangerous HTML tag to a safe wiki replacement, or an empty string if it cannot be salvaged.

    Attributes
    protected
  33. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  34. def javadocReplacement(mtch: Match): String

    Maps a javadoc tag to a useful wiki replacement, or an empty string if it cannot be salvaged.

    Maps a javadoc tag to a useful wiki replacement, or an empty string if it cannot be salvaged.

    Attributes
    protected
  35. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  36. final def notify(): Unit

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

    Definition Classes
    AnyRef
  38. def oops(msg: String): Nothing

    Something that should not have happened, happened, and Scaladoc should exit.

    Something that should not have happened, happened, and Scaladoc should exit.

    Attributes
    protected
  39. def parseAtSymbol(comment: String, src: String, pos: Position, siteOpt: Option[Global.Symbol] = None): Comment

    Parses a raw comment string into a Comment object.

    Parses a raw comment string into a Comment object.

    comment

    The expanded comment string (including start and end markers) to be parsed.

    src

    The raw comment source string.

    pos

    The position of the comment in source.

    Attributes
    protected
  40. def parseWikiAtSymbol(string: String, pos: Position, siteOpt: Option[Global.Symbol]): Body

    Parses a string containing wiki syntax into a Comment object.

    Parses a string containing wiki syntax into a Comment object. Note that the string is assumed to be clean:

    • Removed Scaladoc start and end markers.
    • Removed start-of-line star and one whitespace afterwards (if present).
    • Removed all end-of-line whitespace.
    • Only endOfLine is used to mark line endings.
  41. val safeTagMarker: Char

    Attributes
    protected
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  43. def toString(): String

    Definition Classes
    AnyRef → Any
  44. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  47. def [B](y: B): (CommentFactoryBase, B)

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

Shadowed Implict Value Members

  1. val self: Any

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

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

Deprecated Value Members

  1. def x: CommentFactoryBase

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

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: CommentFactoryBase

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

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from CommentFactoryBase to StringAdd

Inherited by implicit conversion any2stringfmt from CommentFactoryBase to StringFormat

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

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

Ungrouped