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

ReCharNode Class Reference

#include <dfa_source_re.hh>

Inheritance diagram for ReCharNode:

Inheritance graph
Collaboration diagram for ReCharNode:

Collaboration graph
List of all members.

Public Methods

 ReCharNode (unsigned char match_, const Position &pos_)
virtual ReNodeclone ()
virtual int getChildCount ()
virtual ReNodeoperator[] (int index)
virtual void dump (ostream &os) const

Public Attributes

unsigned char match
int pos

Detailed Description

ReCharNode represents a regular expression that matches a single character. The character is stored in its match field;

Definition at line 273 of file dfa_source_re.hh.

Constructor & Destructor Documentation

ReCharNode::ReCharNode ( unsigned char match_,
const Position & pos_ ) [inline]

Definition at line 277 of file dfa_source_re.hh.

Referenced by clone().

Member Function Documentation

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

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

Reimplemented from ReNode.

Definition at line 282 of file dfa_source_re.hh.

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

Returns the number of child nodes of this node.

Reimplemented from ReNode.

Definition at line 287 of file dfa_source_re.hh.

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

Returns the index'th child of this node.

0 <= index <= getChildCount()

Reimplemented from ReNode.

Definition at line 292 of file dfa_source_re.hh.

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

Reimplemented from DfaSourceRe.

Definition at line 94 of file

Member Data Documentation

unsigned char ReCharNode::match

Definition at line 304 of file dfa_source_re.hh.

int ReCharNode::pos

Reimplemented from ReNode.

Definition at line 306 of file dfa_source_re.hh.

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