OpenWalnut
1.4.0
|
Visitor to identify whether the given variant of type WStructuredTextParser::MemberType is a comment. More...
#include <WStructuredTextParser.h>
Public Member Functions | |
bool | operator() (const CommentType &) const |
Returns always true as it is only called for comments. | |
template<typename T > | |
bool | operator() (const T &) const |
Returns always false as it is only called for objects and key-value pairs. |
Visitor to identify whether the given variant of type WStructuredTextParser::MemberType is a comment.
Definition at line 538 of file WStructuredTextParser.h.
bool WStructuredTextParser::IsCommentVisitor::operator() | ( | const CommentType & | ) | const [inline] |
Returns always true as it is only called for comments.
Definition at line 546 of file WStructuredTextParser.h.
bool WStructuredTextParser::IsCommentVisitor::operator() | ( | const T & | ) | const [inline] |
Returns always false as it is only called for objects and key-value pairs.
T | the type. Should be WStructuredTextParser::ObjectType or WStructuredTextParser::KeyValueType |
Definition at line 558 of file WStructuredTextParser.h.