Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
CppImport::CommentParser Class Reference

Public Member Functions

 CommentParser ()
 
Comments::CommentNodeparseComment (clang::comments::Comment *comment)
 Translates the comment to a CommentNode. More...
 

Private Member Functions

void processComment (clang::comments::Comment *comment)
 Dispatches the comment to the correct method for handling. More...
 
void processFullComment (clang::comments::FullComment *fullComment)
 
void processParagraphComment (clang::comments::ParagraphComment *paragraphComment)
 
void processTextComment (clang::comments::TextComment *textComment)
 If there is text in textComment this will get added to the currentNode_ comment. More...
 

Private Attributes

QString collectedText_ {}
 

Constructor & Destructor Documentation

◆ CommentParser()

CppImport::CommentParser::CommentParser ( )
inline

Member Function Documentation

◆ parseComment()

Comments::CommentNode * CppImport::CommentParser::parseComment ( clang::comments::Comment *  comment)

Translates the comment to a CommentNode.

◆ processComment()

void CppImport::CommentParser::processComment ( clang::comments::Comment *  comment)
private

Dispatches the comment to the correct method for handling.

◆ processFullComment()

void CppImport::CommentParser::processFullComment ( clang::comments::FullComment *  fullComment)
private

◆ processParagraphComment()

void CppImport::CommentParser::processParagraphComment ( clang::comments::ParagraphComment *  paragraphComment)
private

◆ processTextComment()

void CppImport::CommentParser::processTextComment ( clang::comments::TextComment *  textComment)
private

If there is text in textComment this will get added to the currentNode_ comment.

Member Data Documentation

◆ collectedText_

QString CppImport::CommentParser::collectedText_ {}
private