Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

cmt_end_node Class Reference

Inheritance diagram for cmt_end_node:

Inheritance graph
[legend]
Collaboration diagram for cmt_end_node:

Collaboration graph
[legend]
List of all members.

Public Member Functions

const cmt_regexp::iterator match (const cmt_string &text, int pos) const
void dump () const

Member Function Documentation

void cmt_end_node::dump  )  const [virtual]
 

Reimplemented from cmt_regexp_node.

Definition at line 838 of file cmt_regexp.cxx.

References tab().

00839 {
00840   tab (); cout << "end (" << this << ") " << endl;
00841 }

const cmt_regexp::iterator cmt_end_node::match const cmt_string text,
int  pos
const [virtual]
 

Reimplemented from cmt_regexp_node.

Definition at line 831 of file cmt_regexp.cxx.

References cmt_regexp::iterator::null(), and cmt_string::size().

00833 {
00834   if (pos == text.size ()) return (cmt_regexp::iterator (pos, 0));
00835   return (cmt_regexp::iterator::null ());
00836 }


The documentation for this class was generated from the following file:
Generated on Mon May 2 10:25:29 2005 for CMT by doxygen 1.3.5