aboutsummaryrefslogtreecommitdiffstats
path: root/Plugins/SqlEnterpriseFormatter/formatexpr.h
blob: bafe442f37e22dbd3c9294c0330400f559f156f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef FORMATEXPR_H
#define FORMATEXPR_H

#include <QRegularExpression>
#include "formatstatement.h"


class SqliteExpr;

class FormatExpr : public FormatStatement
{
    public:
        FormatExpr(SqliteExpr* expr);

    protected:
        void formatInternal();

    private:
        static QRegularExpression WORD_ONLY_RE;

        SqliteExpr* expr = nullptr;
};

#endif // FORMATEXPR_H