3 #include "messages/Message.hpp" 5 #include <QRegularExpression> 9 using MessagePtr = std::shared_ptr<const chatterino::Message>;
95 QString
debug()
const override;
109 QString
debug()
const override;
113 QString regexString_;
114 bool caseInsensitive_;
115 QRegularExpression regex_;
126 QString
debug()
const override;
139 QString
debug()
const override;
154 QString
debug()
const override;
virtual ~Expression()=default
QString tokenTypeToInfoString(TokenType type)
Definition: Types.cpp:15
virtual QString debug() const
Definition: Types.hpp:75
bool convertVariantTypes(QVariant &a, QVariant &b, int type)
Definition: Types.cpp:5
std::unique_ptr< Expression > ExpressionPtr
Definition: Types.hpp:86
Definition: FilterParser.cpp:8
std::vector< std::unique_ptr< Expression > > ExpressionList
Definition: Types.hpp:118
Definition: Types.hpp:103
QMap< QString, QVariant > ContextMap
Definition: Types.hpp:10
TokenType
Definition: Types.hpp:12
Definition: Types.hpp:148
virtual QString filterString() const
Definition: Types.hpp:80
std::shared_ptr< const chatterino::Message > MessagePtr
Definition: Types.hpp:9
Definition: Types.hpp:120
virtual QVariant execute(const ContextMap &) const
Definition: Types.hpp:70
Definition: Types.hpp:133