Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
59 lines (42 loc) · 1.84 KB

File metadata and controls

59 lines (42 loc) · 1.84 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#ifndef MATCH_H_123091238901
#define MATCH_H_123091238901
#include "NotSupportedException.h"
namespace NppPythonScript
{
class GroupDetail
{
public:
virtual int start() const = 0;
virtual int end() const = 0;
virtual bool matched() const = 0;
};
class Match
{
public:
virtual size_t groupCount() = 0;
virtual GroupDetail* group(int groupNumber) = 0;
virtual GroupDetail* groupName(const char *groupName) = 0;
virtual void expand(const char* format, char **result, size_t *resultLength) = 0;
virtual std::string getTextForGroup(GroupDetail* group) = 0;
virtual int groupIndexFromName(const char *groupName) = 0;
boost::python::str py_group_number(int groupNumber);
boost::python::str py_group_name(boost::python::str groupName);
boost::python::str py_expand(boost::python::object replaceFormat);
boost::python::tuple py_groups();
int py_start_group_0() { return py_start(0); }
int py_start(int group);
int py_start_name(boost::python::str groupName);
int py_end_group_0() { return py_end(0); }
int py_end(int group);
int py_end_name(boost::python::str groupName);
boost::python::tuple py_span_group_0() { return py_span(0); }
boost::python::tuple py_span(int groupIndex);
boost::python::tuple py_span_name(boost::python::str groupName);
int py_lastindex();
boost::python::object py_group_variable(boost::python::tuple args, boost::python::dict kwargs);
private:
boost::python::str getGroup(boost::python::object groupIdentifier);
};
boost::python::object py_group_variable(boost::python::tuple args, boost::python::dict kwargs);
}
#endif // MATCH_H_123091238901
Morty Proxy This is a proxified and sanitized view of the page, visit original site.