|
Code::Blocks
SVN r11506
|
#include <doxygen_parser.h>
Public Member Functions | |
| DoxygenParser () | |
| int | FindNextKeyword (const wxString &doc) |
| int | GetArgument (const wxString &doc, int range, wxString &output) |
| int | GetPosition () const |
| void | ReplaceInDoc (wxString &doc, size_t start, size_t count, const wxString &str) |
| void | ReplaceCurrentKeyword (wxString &doc, const wxString &str) |
Static Public Attributes | |
| static const wxString | Keywords [] |
| static const int | KwCount = sizeof(DoxygenParser::Keywords)/sizeof(DoxygenParser::Keywords[0]) |
| static const wxString | NewLineReplacment = _T("\n") |
Protected Member Functions | |
| int | CheckKeyword (const wxString &doc) |
| int | GetParagraphArgument (const wxString &doc, wxString &output) |
| void | GetWordArgument (const wxString &doc, wxString &output) |
| void | GetBlockArgument (const wxString &doc, wxString &output) |
| int | GetLineArgument (const wxString &doc, wxString &output) |
| bool | IsKeywordBegin (const wxString &doc) const |
| bool | IsOneOf (wxChar c, const wxChar *chars) const |
| bool | IsEnd (const wxString &doc) const |
| int | GetEndLine (const wxString &doc) const |
| bool | SkipDecorations (const wxString &doc) |
| bool | HandleNewLine (const wxString &doc, wxString &output, const wxString &replaceWith=NewLineReplacment) |
Protected Attributes | |
| int | m_FoundKw |
| int | m_Pos |
Definition at line 69 of file doxygen_parser.h.
| Doxygen::DoxygenParser::DoxygenParser | ( | ) |
Definition at line 77 of file doxygen_parser.cpp.
References Doxygen::KEYWORDS_COUNT, and KwCount.
|
protected |
Definition at line 151 of file doxygen_parser.cpp.
References _T, IsOneOf(), Keywords, Doxygen::KEYWORDS_COUNT, KwCount, m_FoundKw, m_Pos, Doxygen::NO_KEYWORD, and wxString::size().
Referenced by FindNextKeyword(), and GetLineArgument().
| int Doxygen::DoxygenParser::FindNextKeyword | ( | const wxString & | doc | ) |
Definition at line 84 of file doxygen_parser.cpp.
References CheckKeyword(), IsKeywordBegin(), Doxygen::KEYWORDS_COUNT, m_Pos, Doxygen::NO_KEYWORD, and wxString::size().
Referenced by DocumentationHelper::DoxygenToHTML().
Definition at line 101 of file doxygen_parser.cpp.
References GetBlockArgument(), GetLineArgument(), GetParagraphArgument(), GetWordArgument(), m_Pos, Doxygen::RANGE_BLOCK, Doxygen::RANGE_LINE, Doxygen::RANGE_PARAGRAPH, Doxygen::RANGE_WORD, and SkipDecorations().
Referenced by DocumentationHelper::DoxygenToHTML().
Definition at line 263 of file doxygen_parser.cpp.
Referenced by GetArgument().
|
protected |
Definition at line 349 of file doxygen_parser.cpp.
References _T, wxString::find(), m_Pos, wxString::npos, and wxString::size().
Definition at line 270 of file doxygen_parser.cpp.
References _T, CheckKeyword(), IsKeywordBegin(), m_Pos, Doxygen::NESTED_KEYWORDS_BEGIN, Doxygen::NO_KEYWORD, and wxString::size().
Referenced by GetArgument(), and GetParagraphArgument().
|
protected |
Definition at line 221 of file doxygen_parser.cpp.
References _T, GetLineArgument(), HandleNewLine(), m_Pos, and wxString::size().
Referenced by GetArgument().
| int Doxygen::DoxygenParser::GetPosition | ( | ) | const |
Definition at line 127 of file doxygen_parser.cpp.
References m_Pos.
Referenced by DocumentationHelper::DoxygenToHTML().
Definition at line 239 of file doxygen_parser.cpp.
References _T, m_Pos, and wxString::size().
Referenced by GetArgument().
|
protected |
Definition at line 370 of file doxygen_parser.cpp.
References SkipDecorations().
Referenced by GetParagraphArgument().
|
protected |
Definition at line 344 of file doxygen_parser.cpp.
References m_Pos, and wxString::size().
Referenced by SkipDecorations().
|
protected |
Definition at line 312 of file doxygen_parser.cpp.
Referenced by FindNextKeyword(), and GetLineArgument().
Definition at line 333 of file doxygen_parser.cpp.
Referenced by CheckKeyword(), and SkipDecorations().
Definition at line 144 of file doxygen_parser.cpp.
References m_FoundKw, m_Pos, ReplaceInDoc(), and wxString::size().
Referenced by DocumentationHelper::DoxygenToHTML().
| void Doxygen::DoxygenParser::ReplaceInDoc | ( | wxString & | doc, |
| size_t | start, | ||
| size_t | count, | ||
| const wxString & | str | ||
| ) |
Definition at line 132 of file doxygen_parser.cpp.
References m_Pos, wxString::replace(), and wxString::size().
Referenced by ReplaceCurrentKeyword().
|
protected |
Definition at line 357 of file doxygen_parser.cpp.
References _T, IsEnd(), IsOneOf(), and m_Pos.
Referenced by GetArgument(), and HandleNewLine().
|
static |
|
static |
Definition at line 72 of file doxygen_parser.h.
Referenced by CheckKeyword(), and DoxygenParser().
|
protected |
Definition at line 100 of file doxygen_parser.h.
Referenced by CheckKeyword(), and ReplaceCurrentKeyword().
|
protected |
Definition at line 101 of file doxygen_parser.h.
Referenced by CheckKeyword(), FindNextKeyword(), GetArgument(), GetEndLine(), GetLineArgument(), GetParagraphArgument(), GetPosition(), GetWordArgument(), IsEnd(), IsKeywordBegin(), ReplaceCurrentKeyword(), ReplaceInDoc(), and SkipDecorations().
Definition at line 73 of file doxygen_parser.h.
1.8.13