diff options
author | nyamatongwe <devnull@localhost> | 2006-02-27 00:00:25 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2006-02-27 00:00:25 +0000 |
commit | cca359f1d365a3ee3db3892fbdec8e141b212afc (patch) | |
tree | 53ce864408dc58548d84fc2b64b716ac4fc598b8 /src/RESearch.h | |
parent | 38a5a1bfddd9beab8370970084514eba5cfd8486 (diff) | |
download | scintilla-mirror-cca359f1d365a3ee3db3892fbdec8e141b212afc.tar.gz |
Patch from Philippe makes some methods private, improve comments and
whitespace.
Diffstat (limited to 'src/RESearch.h')
-rw-r--r-- | src/RESearch.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/RESearch.h b/src/RESearch.h index 25205951f..aa8557918 100644 --- a/src/RESearch.h +++ b/src/RESearch.h @@ -29,11 +29,7 @@ class RESearch { public: RESearch(CharClassify *charClassTable); ~RESearch(); - void Init(); - void Clear(); bool GrabMatches(CharacterIndexer &ci); - void ChSet(char c); - void ChSetWithCase(char c, bool caseSensitive); const char *Compile(const char *pat, int length, bool caseSensitive, bool posix); int Execute(CharacterIndexer &ci, int lp, int endp); int Substitute(CharacterIndexer &ci, char *src, char *dst); @@ -47,14 +43,18 @@ public: char *pat[MAXTAG]; private: + void Init(); + void Clear(); + void ChSet(char c); + void ChSetWithCase(char c, bool caseSensitive); + int PMatch(CharacterIndexer &ci, int lp, int endp, char *ap); int bol; - int tagstk[MAXTAG]; /* subpat tag stack..*/ - char nfa[MAXNFA]; /* automaton.. */ + int tagstk[MAXTAG]; /* subpat tag stack */ + char nfa[MAXNFA]; /* automaton */ int sta; - char bittab[BITBLK]; /* bit table for CCL */ - /* pre-set bits... */ + char bittab[BITBLK]; /* bit table for CCL pre-set bits */ int failure; CharClassify *charClass; bool iswordc(unsigned char x) { |