lib/ParserGenerator/PHP/ParserGenerator/State.php
static function stateResortCompare($a, $b)
    {
        $n = $b->nNtAct - $a->nNtAct;
        if ($n === 0) {
            $n = $b->nTknAct - $a->nTknAct;
        }
        return $n;
    }
static function stateResortCompare($a, $b)
    {
        $n = $b->nNtAct - $a->nNtAct;
        if ($n === 0) {
            $n = $b->nTknAct - $a->nTknAct;
        }
        return $n;
    }
static function stateResortCompare ( $ a , $ b ) { $ n = $ b -> nNtAct - $ a -> nNtAct ; if ( $ n === 0 ) { $ n = $ b -> nTknAct - $ a -> nTknAct ; } return $ n ; }
Compare two states for sorting purposes.  The smaller state is the
one with the most non-terminal actions.  If they have the same number
of non-terminal actions, then the smaller is the one with the most
token actions.
Compare two states for sorting purposes . The smaller state is the one with the most non - terminal actions . If they have the same number of non - terminal actions then the smaller is the one with the most token actions .