Archon::Utilities::CFG::FirstSets Class Reference

Collaboration diagram for Archon::Utilities::CFG::FirstSets:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FirstSets (const CFG &)
bool includeFirstSet (const Item &, set< int > &) const
 Add the first set of the symbols after the position in the item to the argument set.
string print (int width=0) const

Detailed Description

Definition at line 239 of file cfg.H.


Member Function Documentation

bool Archon::Utilities::CFG::FirstSets::includeFirstSet const Item ,
set< int > & 
const
 

Add the first set of the symbols after the position in the item to the argument set.

Returns:
true if the symbols after the item position can derive epsilon

Definition at line 351 of file cfg.C.

References Archon::Utilities::CFG::Symbol::index, Archon::Utilities::CFG::Item::position, Archon::Utilities::CFG::Item::production, Archon::Utilities::CFG::Item::rule, Archon::Utilities::CFG::rules, Archon::Utilities::set_include(), Archon::Utilities::CFG::Production::symbols, and Archon::Utilities::CFG::Symbol::type.

Referenced by Archon::Utilities::ClrParser::ClrParser(), FirstSets(), and Archon::Utilities::CFG::FollowSets::FollowSets().


The documentation for this class was generated from the following files:
Generated on Sun Jul 30 22:57:17 2006 for Archon by  doxygen 1.4.4