Public Member Functions | |
cmt_regexp_node () | |
virtual | ~cmt_regexp_node () |
virtual const cmt_regexp::iterator | match (const cmt_string &text, int pos) const |
virtual bool | is_char () const |
virtual bool | is_many_node () const |
virtual void | dump () const |
Static Public Member Functions | |
cmt_regexp_node & | null () |
int | node_count () |
Static Private Attributes | |
int | _node_count = 0 |
|
Definition at line 273 of file cmt_regexp.cxx. References _node_count.
00274 { 00275 _node_count++; 00276 } |
|
Definition at line 278 of file cmt_regexp.cxx. References _node_count.
00279 { 00280 _node_count--; 00281 } |
|
Reimplemented in cmt_char_node, cmt_string_node, cmt_char_list_node, cmt_not_char_list_node, cmt_any_node, cmt_zero_one, cmt_begin_node, cmt_end_node, cmt_regexp_node_set, cmt_and_node, cmt_or_node, cmt_many_node, cmt_zero_more, and cmt_one_more. Definition at line 304 of file cmt_regexp.cxx. Referenced by cmt_regexp_node_set::dump(), cmt_one_more::dump(), cmt_zero_more::dump(), cmt_many_node::dump(), cmt_zero_one::dump(), and cmt_regexp::set().
00305 { 00306 } |
|
Reimplemented in cmt_char_node. Definition at line 294 of file cmt_regexp.cxx. Referenced by cmt_and_node::reduce().
00295 { 00296 return (false); 00297 } |
|
Reimplemented in cmt_many_node. Definition at line 299 of file cmt_regexp.cxx. Referenced by cmt_and_node::reduce().
00300 { 00301 return (false); 00302 } |
|
Reimplemented in cmt_char_node, cmt_string_node, cmt_char_list_node, cmt_not_char_list_node, cmt_any_node, cmt_zero_one, cmt_begin_node, cmt_end_node, cmt_and_node, cmt_or_node, cmt_zero_more, and cmt_one_more. Definition at line 288 of file cmt_regexp.cxx. References cmt_regexp::iterator::null(). Referenced by cmt_regexp::begin(), cmt_or_node::match(), cmt_and_node::match(), cmt_one_more::match(), cmt_zero_more::match(), and cmt_zero_one::match().
00290 { 00291 return (cmt_regexp::iterator::null()); 00292 } |
|
Definition at line 283 of file cmt_regexp.cxx. References _node_count.
00284 { 00285 return (_node_count); 00286 } |
|
Definition at line 215 of file cmt_regexp.cxx. Referenced by cmt_regexp_node_set::pop(), and cmt_regexp_node_set::top().
00216 { 00217 static cmt_regexp_node null_instance; 00218 00219 return (null_instance); 00220 } |
|
Definition at line 308 of file cmt_regexp.cxx. Referenced by cmt_regexp_node(), node_count(), and ~cmt_regexp_node(). |