Antlr3.Tool.Grammar.ComputeRuleFOLLOWSets C# (CSharp) Method

ComputeRuleFOLLOWSets() public method

public ComputeRuleFOLLOWSets ( ) : void
return void
        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 );
            }
        }
Grammar