Public Methods | |
cmt_char_node (char c) | |
const cmt_regexp::iterator | match (const cmt_string& text, int pos) const |
bool | is_char () const |
operator char () | |
Private Attributes | |
char | _c |
|
Definition at line 261 of file cmt_regexp.cxx. 00262 { 00263 _c = c; 00264 } |
|
Reimplemented from cmt_node. Definition at line 284 of file cmt_regexp.cxx. 00285 { 00286 return (true); 00287 } |
|
Reimplemented from cmt_node. Definition at line 266 of file cmt_regexp.cxx. 00268 { 00269 if ((pos < 0) || (pos > text.size ())) 00270 { 00271 return (cmt_regexp::iterator::null ()); 00272 } 00273 00274 char c = text[pos]; 00275 00276 if (c == _c) 00277 { 00278 return (cmt_regexp::iterator (pos, 1)); 00279 } 00280 00281 return (cmt_regexp::iterator::null ()); 00282 } |
|
Definition at line 289 of file cmt_regexp.cxx. 00290 { 00291 return (_c); 00292 } |
|
Definition at line 44 of file cmt_regexp.cxx. |