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

ReLambdaNode Class Reference

#include <dfa_source_re.hh>

Inheritance diagram for ReLambdaNode:

Inheritance graph
[legend]
Collaboration diagram for ReLambdaNode:

Collaboration graph
[legend]
List of all members.

Public Methods

 ReLambdaNode (const Position &pos_)
virtual ReNodeclone ()
virtual int getChildCount ()
virtual ReNodeoperator[] (int index)
virtual void dump (ostream &os) const

Public Attributes

int pos

Detailed Description

ReLambdaNode represents a regular expression that matches the empty string;

Definition at line 359 of file dfa_source_re.hh.


Constructor & Destructor Documentation

ReLambdaNode::ReLambdaNode ( const Position & pos_ ) [inline]
 

Definition at line 363 of file dfa_source_re.hh.

Referenced by clone().


Member Function Documentation

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

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

Reimplemented from ReNode.

Definition at line 367 of file dfa_source_re.hh.

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

Returns the number of child nodes of this node.

Reimplemented from ReNode.

Definition at line 372 of file dfa_source_re.hh.

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

Returns the index'th child of this node.

Precondition:
0 <= index <= getChildCount()

Reimplemented from ReNode.

Definition at line 377 of file dfa_source_re.hh.

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

Reimplemented from DfaSourceRe.

Definition at line 106 of file dfa_source_re.cc.


Member Data Documentation

int ReLambdaNode::pos
 

Reimplemented from ReNode.

Definition at line 389 of file dfa_source_re.hh.


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