public virtual void ComputeRuleFOLLOWSets()
{
if ( getNumberOfDecisions() == 0 )
{
createNFAs();
}
for ( Iterator it = getRules().iterator(); it.hasNext(); )
{
Rule r = (Rule)it.next();
if ( r.isSynPred )
{
continue;
}
LookaheadSet s = ll1Analyzer.FOLLOW( r );
[email protected]( "FOLLOW(" + r.name + ")=" + s );
}
}