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
  • trait CommentFactoryBase extends AnyRef

    The comment parser transforms raw comment strings into Comment objects.

    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.

    Definition Classes
    base
  • CharReader
  • WikiParser

final class WikiParser extends (CommentFactoryBase.this)#CharReader

TODO

Attributes
protected
Self Type
(CommentFactoryBase.this)#WikiParser
Source
CommentFactoryBase.scala
Linear Supertypes
(CommentFactoryBase.this)#CharReader, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WikiParser
  2. CharReader
  3. AnyRef
  4. 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

Instance Constructors

  1. new WikiParser(buffer: String, pos: Position, site: Global.Symbol)

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 (CommentFactoryBase.this)#WikiParser to any2stringadd[(CommentFactoryBase.this)#WikiParser] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): ((CommentFactoryBase.this)#WikiParser, B)
    Implicit
    This member is added by an implicit conversion from (CommentFactoryBase.this)#WikiParser to ArrowAssoc[(CommentFactoryBase.this)#WikiParser] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. val CLOSE_TAG: Regex
  7. val OPEN_TAG: Regex
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def block(): Block

    block ::= code | title | hrule | listBlock | table | para
  10. def blockEnded(blockType: String): Unit

    eol ::= { whitespace } '\n'
  11. def bold(): Inline
  12. val buffer: String
  13. def char: Char
    Definition Classes
    CharReader
  14. final def check(chars: String, checkOffset: Int): Boolean
    Definition Classes
    CharReader
  15. final def check(chars: String): Boolean
    Definition Classes
    CharReader
  16. def checkList: Boolean

    Checks if the current line is formed with more than one space and one the listStyles

  17. def checkParaEnded(): Boolean
  18. def checkSentenceEnded(): Boolean
  19. def checkSkipInitWhitespace(chars: String): Boolean
    Definition Classes
    CharReader
  20. def checkSkipInitWhitespace(c: Char): Boolean
    Definition Classes
    CharReader
  21. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  22. def code(): Block
  23. def countWhitespace: Int
    Definition Classes
    CharReader
  24. def document(): Body
  25. def ensuring(cond: ((CommentFactoryBase.this)#WikiParser) ⇒ Boolean, msg: ⇒ Any): (CommentFactoryBase.this)#WikiParser
    Implicit
    This member is added by an implicit conversion from (CommentFactoryBase.this)#WikiParser to Ensuring[(CommentFactoryBase.this)#WikiParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  26. def ensuring(cond: ((CommentFactoryBase.this)#WikiParser) ⇒ Boolean): (CommentFactoryBase.this)#WikiParser
    Implicit
    This member is added by an implicit conversion from (CommentFactoryBase.this)#WikiParser to Ensuring[(CommentFactoryBase.this)#WikiParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  27. def ensuring(cond: Boolean, msg: ⇒ Any): (CommentFactoryBase.this)#WikiParser
    Implicit
    This member is added by an implicit conversion from (CommentFactoryBase.this)#WikiParser to Ensuring[(CommentFactoryBase.this)#WikiParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  28. def ensuring(cond: Boolean): (CommentFactoryBase.this)#WikiParser
    Implicit
    This member is added by an implicit conversion from (CommentFactoryBase.this)#WikiParser to Ensuring[(CommentFactoryBase.this)#WikiParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  29. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  31. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  32. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from (CommentFactoryBase.this)#WikiParser to StringFormat[(CommentFactoryBase.this)#WikiParser] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  33. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  35. def hrule(): Block

    hrule ::= "----" { '-' } '\n'
  36. def htmlTag(): HtmlTag
  37. def inline(isInlineEnd: ⇒ Boolean, textTransform: (String) ⇒ String = identity): Inline
  38. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  39. def isWhitespace(c: Char): Boolean
    Definition Classes
    CharReader
  40. def isWhitespaceOrNewLine(c: Char): Boolean
    Definition Classes
    CharReader
  41. def italic(): Inline
  42. final def jump(chars: String): Boolean

    jumps all the characters in chars, consuming them in the process.

    jumps all the characters in chars, consuming them in the process.

    returns

    true only if the correct characters have been jumped

    Definition Classes
    CharReader
  43. final def jump(ch: Char): Boolean

    jumps a character and consumes it

    jumps a character and consumes it

    returns

    true only if the correct character has been jumped

    Definition Classes
    CharReader
  44. final def jumpUntil(pred: ⇒ Boolean): Int
    Definition Classes
    CharReader
  45. final def jumpUntil(ch: Char): Int
    Definition Classes
    CharReader
  46. def jumpWhitespace(): Int
    Definition Classes
    CharReader
  47. def jumpWhitespaceOrNewLine(): Int
    Definition Classes
    CharReader
  48. def link(): Inline
  49. def listBlock(): Block

    nListBlock ::= nLine { mListBlock }
         nLine ::= nSpc listStyle para '\n'

    Where n and m stand for the number of spaces. When m > n, a new list is nested.

  50. val listStyles: Map[String, (collection.Seq[Block]) ⇒ Block]

    listStyle ::= '-' spc | '1.' spc | 'I.' spc | 'i.' spc | 'A.' spc | 'a.' spc Characters used to build lists and their constructors

    listStyle ::= '-' spc | '1.' spc | 'I.' spc | 'i.' spc | 'A.' spc | 'a.' spc Characters used to build lists and their constructors

    Attributes
    protected
  51. def monospace(): Inline
  52. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  53. final def nextChar(): Unit
    Definition Classes
    CharReader
  54. def normalizeIndentation(_code: String): String

    Eliminates the (common) leading spaces in all lines, based on the first line For indented pieces of code, it reduces the indent to the least whitespace prefix:

    Eliminates the (common) leading spaces in all lines, based on the first line For indented pieces of code, it reduces the indent to the least whitespace prefix:

    indented example
    another indented line
    if (condition)
      then do something;
    ^ this is the least whitespace prefix
  55. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  56. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  57. var offset: Int
    Definition Classes
    CharReader
  58. def para(): Block

    para ::= inline '\n'
  59. final def prevChar(): Unit
    Definition Classes
    CharReader
  60. final def readUntil(pred: ⇒ Boolean): String
    Definition Classes
    CharReader
  61. final def readUntil(chars: String): String
    Definition Classes
    CharReader
  62. final def readUntil(c: Char): String
    Definition Classes
    CharReader
  63. final def repeatJump(c: Char, max: Int = Int.MaxValue): Int
    Definition Classes
    CharReader
  64. def reportError(pos: Position, message: String): Unit
  65. def subscript(): Inline
  66. def summary(): Inline
  67. var summaryParsed: Boolean
  68. def superscript(): Inline
  69. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  70. def table(): Block

    table         ::= headerRow '\n' delimiterRow '\n' dataRows '\n'
    content       ::= inline-content
    row           ::= '|' { content '|' }+
    headerRow     ::= row
    dataRows      ::= row*
    align         ::= ':' '-'+ | '-'+ | '-'+ ':' | ':' '-'+ ':'
    delimiterRow :: = '|' { align '|' }+
  71. def title(): Block

    title ::= ('=' inline '=' | "==" inline "==" | ...) '\n'
  72. def toString(): String
    Definition Classes
    AnyRef → Any
  73. def underline(): Inline
  74. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  75. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  76. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  77. def [B](y: B): ((CommentFactoryBase.this)#WikiParser, B)
    Implicit
    This member is added by an implicit conversion from (CommentFactoryBase.this)#WikiParser to ArrowAssoc[(CommentFactoryBase.this)#WikiParser] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from (CommentFactoryBase.this)#CharReader

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from (CommentFactoryBase.this)#WikiParser to any2stringadd[(CommentFactoryBase.this)#WikiParser]

Inherited by implicit conversion StringFormat from (CommentFactoryBase.this)#WikiParser to StringFormat[(CommentFactoryBase.this)#WikiParser]

Inherited by implicit conversion Ensuring from (CommentFactoryBase.this)#WikiParser to Ensuring[(CommentFactoryBase.this)#WikiParser]

Inherited by implicit conversion ArrowAssoc from (CommentFactoryBase.this)#WikiParser to ArrowAssoc[(CommentFactoryBase.this)#WikiParser]

Ungrouped