This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum | DocCommentParser.
The kinds of line, used when reading a Markdown documentation comment. |
| pack-priv class | DocCommentParser.
A class to encapsulate the work to parse Markdown enough to detect the boundaries of character sequences of literal text, and to skip over such sequences, without analyzing the content. |
| pack-priv static class | |
| private static enum | DocCommentParser.
An indication of the part of documentation comment or file being read. |
| private abstract static class | |
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private char[] | buf
The input buffer, index of most recent character read, index of one past last character in buffer. |
| private int | |
| private char | ch
The current character. |
| private final Tokens. | |
| private final JCDiagnostic. | |
| private final DiagnosticSource | |
| private final ParserFactory | |
| private boolean | inPre
Used for whitespace normalization in pre/code/literal tags. |
| private final boolean | |
| private int | |
| private final DocTreeMaker | |
| private final DocCommentParser. | |
| private final Names | |
| private boolean | |
| private final Map | |
| private final DocTree. | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | DocCommentParser(ParserFactory
a parser factory, for a doc-tree maker and for reference parsers fac, DiagnosticSource the source in which the comment was found diagSource, Tokens.the comment commentCreates a parser for a documentation comment. |
| public | DocCommentParser(ParserFactory
a parser factory, for a doc-tree maker and for reference parsers fac, DiagnosticSource the source in which the comment was found diagSource, Tokens.the comment comment,whether the comment is the entire content of an HTML file isHtmlFile)Creates a parser for a documentation comment. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| protected void | |
| protected List | |
| protected DCTree | |
| protected List | |
| protected List | content(DocCommentParser.
Reads "rich text" content, consisting of text, html and inline tags,
according to the given |
| private Map | |
| pack-priv void | |
| protected void | |
| protected DCTree | |
| protected DCTree. | Returns: theErroneousTree nodethe resource key for the error message code, int the starting position pos)Creates an |
| protected DCTree. | Returns: theErroneousTree nodethe resource key for the error message code, int the starting position pos, int the preferred position for the node, or pref)NOPOS to use the default value
as the last character of the rangeCreates an |
| private static DocTree. | |
| private DCTree | |
| protected List | |
| protected DCTree. | |
| pack-priv void | |
| private List | |
| protected boolean | Returns: true if an inline tag was read, and false otherwisethe list of trees being accumulated list)Reads a possible inline tag, after finding an opening brace |
| protected DCTree | |
| private DCTree. | inlineText(DocCommentParser.
Read plain text content of an inline tag. |
| protected DCTree. | |
| protected boolean | |
| pack-priv boolean | Returns: whether this is the end of the main body of the contentReturns whether this is the end of the main body of the content in a standalone HTML file. |
| pack-priv boolean | Returns: whether this is the end of the preambleReturns whether this is the end of the preamble of an HTML file. |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| pack-priv String | newString(int
position of first character of string start, int position of character beyond last character to be included end)
|
| pack-priv void | |
| pack-priv ListBuffer | |
| public DCTree. | Returns: the result of parsing the content given to the constructorReturns the result of parsing the content given to the constructor. |
| pack-priv boolean | |
| pack-priv char | |
| protected DCTree. | |
| protected Name | |
| protected Name | |
| protected Name | |
| protected Name | |
| protected Name | |
| protected DCTree. | reference(ReferenceParser.
Read Java class name, possibly followed by member Matching pairs of < > are skipped. |
| private String | |
| protected void | |
| private IllegalStateException |