Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (21 sloc) 0.65 kB
#ifndef __REPLACESTRINGPARSER_H__
#define __REPLACESTRINGPARSER_H__
#include <map>
#include <vector>
#include <wx/string.h>
#include "Interval.h"
class DocumentWrapper;
struct ReplaceStringParserState;
class ReplaceStringParser {
public:
ReplaceStringParser(const DocumentWrapper& doc, const wxString& indent,
const wxString& replacetext, const std::map<unsigned int, interval>& captures, const std::vector<char>* source=NULL);
~ReplaceStringParser();
wxString Parse();
private:
void DoParse(const wxChar* start, const wxChar* end);
const DocumentWrapper& m_doc;
const wxString& m_indent;
ReplaceStringParserState* state;
};
#endif
Jump to Line
Something went wrong with that request. Please try again.