A key used for a tag map.
TODO
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.
The end of a scaladoc code block
The end of a scaladoc code block
The start of a scaladoc code block
The start of a scaladoc code block
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.
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.
Safe HTML tags that can be kept.
Safe HTML tags that can be kept.
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.
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
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.
A comment is usualy created by the parser, however for some special
cases we have to give some inTpl
comments (parent class for example)
to the comment of the symbol.
A comment is usualy created by the parser, however for some special
cases we have to give some inTpl
comments (parent class for example)
to the comment of the symbol.
This function manages some of those cases : Param accessor and Primary constructor
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.
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.
Something that should not have happened, happened, and Scaladoc should exit.
Something that should not have happened, happened, and Scaladoc should exit.
Parses a raw comment string into a Comment
object.
Parses a raw comment string into a Comment
object.
The expanded comment string (including start and end markers) to be parsed.
The raw comment source string.
The position of the comment in source.
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:
endOfLine
is used to mark line endings.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:
endOfLine
is used to mark line endings.(commentFactory: StringAdd).self
(commentFactory: StringFormat).self
(commentFactory: ArrowAssoc[CommentFactory]).x
(Since version 2.10.0) Use leftOfArrow
instead
(commentFactory: Ensuring[CommentFactory]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
The comment parser transforms raw comment strings into
Comment
objects. Callparse
to run the parser. Note that the parser is stateless and should only be built once for a given Scaladoc run.