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

DfaSourceRe Class Reference

#include <dfa_source_re.hh>

Inheritance diagram for DfaSourceRe:

Inheritance graph
[legend]
Collaboration diagram for DfaSourceRe:

Collaboration graph
[legend]
List of all members.

Public Methods

 DfaSourceRe (const Position &pos_)
 ~DfaSourceRe ()
virtual void dump (ostream &os) const

Static Public Methods

void indent ()
void unindent ()
ostream& format (ostream &os)

Public Attributes

bool nullable
vBitset firstPos
vBitset lastPos

Static Public Attributes

int indent_level = 0

Detailed Description

The base class of the regexp parse tree nodes used for generating the scanner's sources.

Definition at line 75 of file dfa_source_re.hh.


Constructor & Destructor Documentation

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

Definition at line 79 of file dfa_source_re.hh.

DfaSourceRe::~DfaSourceRe ( ) [inline]
 

Definition at line 83 of file dfa_source_re.hh.


Member Function Documentation

void DfaSourceRe::indent ( ) [inline, static]
 

Definition at line 89 of file dfa_source_re.hh.

Referenced by ReStarNode::dump(), ReOrNode::dump(), and ReCatNode::dump().

void DfaSourceRe::unindent ( ) [inline, static]
 

Definition at line 94 of file dfa_source_re.hh.

Referenced by ReStarNode::dump(), ReOrNode::dump(), and ReCatNode::dump().

ostream & DfaSourceRe::format ( ostream & os ) [inline, static]
 

Definition at line 99 of file dfa_source_re.hh.

Referenced by ReLambdaNode::dump(), ReEotNode::dump(), ReCharNode::dump(), ReStarNode::dump(), ReOrNode::dump(), and ReCatNode::dump().

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

Reimplemented from ReNode.

Reimplemented in ReCatNode, ReOrNode, ReStarNode, ReCharNode, ReEotNode, and ReLambdaNode.

Definition at line 62 of file dfa_source_re.cc.

Referenced by LexicalStateSpec::dump(), ReLambdaNode::dump(), ReEotNode::dump(), ReCharNode::dump(), ReStarNode::dump(), ReOrNode::dump(), and ReCatNode::dump().


Member Data Documentation

int DfaSourceRe::indent_level = 0 [static]
 

Definition at line 87 of file dfa_source_re.hh.

bool DfaSourceRe::nullable
 

True if the regexp represented by this node can match the empty string.

Definition at line 115 of file dfa_source_re.hh.

vBitset DfaSourceRe::firstPos
 

The FIRSTPOS set of this node.

Definition at line 120 of file dfa_source_re.hh.

vBitset DfaSourceRe::lastPos
 

The LASTPOS set of this node,

Definition at line 125 of file dfa_source_re.hh.


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