Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ReCatNode Class Reference

#include <dfa_source_re.hh>

Inheritance diagram for ReCatNode:

Inheritance graph
Collaboration diagram for ReCatNode:

Collaboration graph
List of all members.

Public Methods

 ReCatNode (DfaSourceRe *pre_, DfaSourceRe *post_, const Position &pos_)
 ~ReCatNode ()
virtual ReNodeclone ()
virtual int getChildCount ()
virtual ReNodeoperator[] (int index)
virtual void dump (ostream &os) const

Public Attributes


Detailed Description

ReCatNode represents a regular expression that matches the successive occurences of two subexpression r1 and r2, in this order. The trees for r1 and r2 are rooted into its pre and post fields.

Definition at line 134 of file dfa_source_re.hh.

Constructor & Destructor Documentation

ReCatNode::ReCatNode ( DfaSourceRe * pre_,
DfaSourceRe * post_,
const Position & pos_ ) [inline]

Definition at line 138 of file dfa_source_re.hh.

Referenced by clone().

ReCatNode::~ReCatNode ( ) [inline]

Definition at line 142 of file dfa_source_re.hh.

Member Function Documentation

ReNode * ReCatNode::clone ( ) [inline, virtual]

Creates a copy of the regexp parse tree rooted in this node.

Reimplemented from ReNode.

Definition at line 148 of file dfa_source_re.hh.

int ReCatNode::getChildCount ( ) [inline, virtual]

Returns the number of child nodes of this node.

Reimplemented from ReNode.

Definition at line 154 of file dfa_source_re.hh.

ReNode & ReCatNode::operator[] ( int index ) [inline, virtual]

Returns the index'th child of this node.

0 <= index <= getChildCount()

Reimplemented from ReNode.

Definition at line 159 of file dfa_source_re.hh.

void ReCatNode::dump ( ostream & os ) const [virtual]

Reimplemented from DfaSourceRe.

Definition at line 68 of file

Member Data Documentation

DfaSourceRe * ReCatNode::pre

Definition at line 172 of file dfa_source_re.hh.

DfaSourceRe * ReCatNode::post

Definition at line 172 of file dfa_source_re.hh.

The documentation for this class was generated from the following files:
Generated at Tue Jul 9 21:08:07 2002 for CppCC by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001