Public Member Functions | |
cmt_char_node (char c) | |
const cmt_regexp::iterator | match (const cmt_string &text, int pos) const |
bool | is_char () const |
operator char () | |
void | dump () const |
Private Attributes | |
char | _c |
|
Definition at line 312 of file cmt_regexp.cxx. References _c.
00313 { 00314 _c = c; 00315 } |
|
Reimplemented from cmt_regexp_node. Definition at line 345 of file cmt_regexp.cxx.
|
|
Reimplemented from cmt_regexp_node. Definition at line 335 of file cmt_regexp.cxx.
00336 { 00337 return (true); 00338 } |
|
Reimplemented from cmt_regexp_node. Definition at line 317 of file cmt_regexp.cxx. References _c, cmt_regexp::iterator::null(), and cmt_string::size().
00319 { 00320 if ((pos < 0) || (pos > text.size ())) 00321 { 00322 return (cmt_regexp::iterator::null ()); 00323 } 00324 00325 char c = text[pos]; 00326 00327 if (c == _c) 00328 { 00329 return (cmt_regexp::iterator (pos, 1)); 00330 } 00331 00332 return (cmt_regexp::iterator::null ()); 00333 } |
|
Definition at line 340 of file cmt_regexp.cxx. References _c.
00341 { 00342 return (_c); 00343 } |
|
Definition at line 63 of file cmt_regexp.cxx. Referenced by cmt_char_node(), dump(), match(), and operator char(). |