|
enum | Kind {
Kind_Root = 0,
Kind_Word = 1,
Kind_WhiteSpace = 2,
Kind_Para = 3,
Kind_AutoList = 4,
Kind_AutoListItem = 5,
Kind_Symbol = 6,
Kind_URL = 7,
Kind_StyleChange = 8,
Kind_SimpleSect = 9,
Kind_Title = 10,
Kind_SimpleList = 11,
Kind_SimpleListItem = 12,
Kind_Section = 13,
Kind_Verbatim = 14,
Kind_XRefItem = 15,
Kind_HtmlList = 16,
Kind_HtmlListItem = 17,
Kind_HtmlDescList = 18,
Kind_HtmlDescData = 19,
Kind_HtmlDescTitle = 20,
Kind_HtmlTable = 21,
Kind_HtmlRow = 22,
Kind_HtmlCell = 23,
Kind_HtmlCaption = 24,
Kind_LineBreak = 25,
Kind_HorRuler = 26,
Kind_Anchor = 27,
Kind_IndexEntry = 28,
Kind_Internal = 29,
Kind_HRef = 30,
Kind_Include = 31,
Kind_IncOperator = 32,
Kind_HtmlHeader = 33,
Kind_Image = 34,
Kind_DotFile = 35,
Kind_Link = 36,
Kind_Ref = 37,
Kind_Formula = 38,
Kind_SecRefItem = 39,
Kind_SecRefList = 40,
Kind_SimpleSectSep = 41,
Kind_LinkedWord = 42,
Kind_ParamSect = 43,
Kind_ParamList = 44,
Kind_InternalRef = 45,
Kind_Copy = 46,
Kind_Text = 47,
Kind_MscFile = 48,
Kind_HtmlBlockQuote = 49,
Kind_VhdlFlow = 50,
Kind_ParBlock = 51,
Kind_DiaFile = 52,
Kind_Emoji = 53,
Kind_Sep = 54
} |
|
enum | RefType { Unknown,
Anchor,
Section,
Table
} |
|
void | setInsidePreformatted (bool p) |
|
DocNodeList | m_children |
|
DocNode * | m_parent = 0 |
|
DocParser & | m_parser |
|
Node representing a link to some item
在文件 docparser.h 第 871 行定义.
QCString DocLink::parse |
( |
bool |
isJavaLink, |
|
|
bool |
isXmlLink = FALSE |
|
) |
| |
在文件 docparser.cpp 第 2614 行定义.
2618 DBG((
"DocLink::parse() start\n"));
2625 const char *cmd_start =
"\\";
2667 else if ((p=w.
find(
'}'))!=-1)
2673 result=w.
right((
int)l-p-1);
2700 DBG((
"DocLink::parse() end\n"));
引用了 CMD_ENDLINK, Mappers::cmdMapper, DocParser::context, DBG, DocParser::defaultHandleToken(), FALSE, DocParserContext::fileName, QCString::find(), DocTokenizer::getLineNr(), DocParser::handlePendingStyleCommands(), QCString::left(), QCString::length(), DocTokenizer::lex(), CompAccept< DocLink >::m_children, DocNode::m_parser, m_refText, TokenInfo::name, qPrint(), QCString::right(), TK_COMMAND_AT, TK_COMMAND_BS, TK_HTMLTAG, TK_LNKWORD, TK_SYMBOL, TK_WORD, DocParserContext::token, DocParser::tokenizer, DocTokenizer::tokToString() , 以及 warn_doc_error().
被这些函数引用 DocPara::handleHtmlStartTag(), DocPara::handleLink() , 以及 DocHtmlDescTitle::parse().