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

ReStarNode Class Reference

#include <dfa_source_re.hh>

Inheritance diagram for ReStarNode:

Inheritance graph
Collaboration diagram for ReStarNode:

Collaboration graph
List of all members.

Public Methods

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

Public Attributes


Detailed Description

ReStarNode represents a regular expression that matches zero or more occurences of another regular expression r. The tree for r is rooted into the in field.

Definition at line 229 of file dfa_source_re.hh.

Constructor & Destructor Documentation

ReStarNode::ReStarNode ( DfaSourceRe * in_,
const Position & pos_ ) [inline]

Definition at line 233 of file dfa_source_re.hh.

Referenced by clone().

ReStarNode::~ReStarNode ( ) [inline]

Definition at line 238 of file dfa_source_re.hh.

Member Function Documentation

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

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

Reimplemented from ReNode.

Definition at line 243 of file dfa_source_re.hh.

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

Returns the number of child nodes of this node.

Reimplemented from ReNode.

Definition at line 248 of file dfa_source_re.hh.

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

Returns the index'th child of this node.

0 <= index <= getChildCount()

Reimplemented from ReNode.

Definition at line 253 of file dfa_source_re.hh.

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

Reimplemented from DfaSourceRe.

Definition at line 86 of file

Member Data Documentation

DfaSourceRe * ReStarNode::in

Definition at line 265 of file dfa_source_re.hh.

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