lib/ParserGenerator/PHP/ParserGenerator/State.php
private static function statehash(PHP_ParserGenerator_Config $a)
    {
        $h = 0;
        while ($a) {
            $h = $h * 571 + $a->rp->index * 37 + $a->dot;
            $a = $a->bp;
        }
        return (int) $h;
    }
private static function statehash(PHP_ParserGenerator_Config $a)
    {
        $h = 0;
        while ($a) {
            $h = $h * 571 + $a->rp->index * 37 + $a->dot;
            $a = $a->bp;
        }
        return (int) $h;
    }
private static function statehash ( PHP_ParserGenerator_Config $ a ) { $ h = 0 ; while ( $ a ) { $ h = $ h * 571 + $ a -> rp -> index * 37 + $ a -> dot ; $ a = $ a -> bp ; } return ( int ) $ h ; }
Hash a state based on its configuration

@return int
Hash a state based on its configuration