File indexing completed on 2024-04-21 05:51:37

0001 /*
0002  *  SPDX-FileCopyrightText: 2002-2004 Jesper K. Pedersen <blackie@kde.org>
0003  *
0004  *  SPDX-License-Identifier: LGPL-2.0-only
0005  **/
0006 
0007 #ifndef EMACSREGEXPCONVERTER_H
0008 #define EMACSREGEXPCONVERTER_H
0009 
0010 #include "regexpconverter.h"
0011 
0012 class EmacsRegExpConverter : public RegExpConverter
0013 {
0014 public:
0015     bool canParse() override;
0016     QString name() override;
0017     int features() override;
0018     QString toString(AltnRegExp *, bool markSelection) override;
0019     QString toString(ConcRegExp *, bool markSelection) override;
0020     QString toString(LookAheadRegExp *, bool markSelection) override;
0021     QString toString(TextRangeRegExp *, bool markSelection) override;
0022     QString toString(CompoundRegExp *, bool markSelection) override;
0023     QString toString(DotRegExp *, bool markSelection) override;
0024     QString toString(PositionRegExp *, bool markSelection) override;
0025     QString toString(RepeatRegExp *, bool markSelection) override;
0026     QString toString(TextRegExp *, bool markSelection) override;
0027 };
0028 
0029 #endif /* EMACSREGEXPCONVERTER_H */