Plain comment visitor which extracts raw and formatted comment. More...
Plain comment visitor which extracts raw and formatted comment.
Definition at line 31 of file plain_visitor.h.
#include <plain_visitor.h>
Public Member Functions | |
plain_visitor (clang::SourceManager &source_manager) | |
void | visit (const clang::NamedDecl &decl, common::model::decorated_element &e) override |
Public Member Functions inherited from clanguml::common::visitor::comment::comment_visitor | |
comment_visitor (clang::SourceManager &source_manager) | |
virtual | ~comment_visitor ()=default |
virtual void | visit (const clang::NamedDecl &decl, common::model::decorated_element &e)=0 |
clang::SourceManager & | source_manager () |
clanguml::common::visitor::comment::plain_visitor::plain_visitor | ( | clang::SourceManager & | source_manager | ) |
Definition at line 23 of file plain_visitor.cc.
|
overridevirtual |
Extracts 'raw' and 'formatted' comment values from the Clang's parser.
decl | Clang's named declaration |
e | Diagram element |
Implements clanguml::common::visitor::comment::comment_visitor.
Definition at line 28 of file plain_visitor.cc.