lib/ParserGenerator/PHP/ParserGenerator/Data.php
function FindLinks()
    {
        /* Housekeeping detail:
        ** Add to every propagate link a pointer back to the state to
        ** which the link is attached. */
        foreach ($this->sorted as $info) {
            $info->key->stp = $info->data;
        }
        
        /* Convert all backlinks into forward links.  Only the forward
        ** links are used in the follow-set computation. */
        for ($i = 0; $i < $this->nstate; $i++) {
            $stp = $this->sorted[$i];
            for ($cfp = $stp->data->cfp; $cfp; $cfp = $cfp->next) {
                for ($plp = $cfp->bplp; $plp; $plp = $plp->next) {
                    $other = $plp->cfp;
                    PHP_ParserGenerator_PropagationLink::Plink_add($other->fplp, $cfp);
                }
            }
        }
    }
function FindLinks()
    {
        /* Housekeeping detail:
        ** Add to every propagate link a pointer back to the state to
        ** which the link is attached. */
        foreach ($this->sorted as $info) {
            $info->key->stp = $info->data;
        }
        
        /* Convert all backlinks into forward links.  Only the forward
        ** links are used in the follow-set computation. */
        for ($i = 0; $i < $this->nstate; $i++) {
            $stp = $this->sorted[$i];
            for ($cfp = $stp->data->cfp; $cfp; $cfp = $cfp->next) {
                for ($plp = $cfp->bplp; $plp; $plp = $plp->next) {
                    $other = $plp->cfp;
                    PHP_ParserGenerator_PropagationLink::Plink_add($other->fplp, $cfp);
                }
            }
        }
    }
function FindLinks ( ) { /* Housekeeping detail:
        ** Add to every propagate link a pointer back to the state to
        ** which the link is attached. */ foreach ( $ this -> sorted as $ info ) { $ info -> key -> stp = $ info -> data ; } /* Convert all backlinks into forward links.  Only the forward
        ** links are used in the follow-set computation. */ for ( $ i = 0 ; $ i < $ this -> nstate ; $ i ++ ) { $ stp = $ this -> sorted [ $ i ] ; for ( $ cfp = $ stp -> data -> cfp ; $ cfp ; $ cfp = $ cfp -> next ) { for ( $ plp = $ cfp -> bplp ; $ plp ; $ plp = $ plp -> next ) { $ other = $ plp -> cfp ; PHP_ParserGenerator_PropagationLink :: Plink_add ( $ other -> fplp , $ cfp ) ; } } } }
Construct the propagation links
Construct the propagation links