lib/ParserGenerator/PHP/ParserGenerator/Config.php
function ConfigPrint($fp)
    {
        $rp = $this->rp;
        fprintf($fp, "%s ::=", $rp->lhs->name);
        for ($i = 0; $i <= $rp->nrhs; $i++) {
            if ($i === $this->dot) {
                fwrite($fp,' *');
            }
            if ($i === $rp->nrhs) {
                break;
            }
            $sp = $rp->rhs[$i];
            fprintf($fp,' %s', $sp->name);
            if ($sp->type == PHP_ParserGenerator_Symbol::MULTITERMINAL) {
                for ($j = 1; $j < $sp->nsubsym; $j++) {
                    fprintf($fp, '|%s', $sp->subsym[$j]->name);
                }
            }
        }
    }
function ConfigPrint($fp)
    {
        $rp = $this->rp;
        fprintf($fp, "%s ::=", $rp->lhs->name);
        for ($i = 0; $i <= $rp->nrhs; $i++) {
            if ($i === $this->dot) {
                fwrite($fp,' *');
            }
            if ($i === $rp->nrhs) {
                break;
            }
            $sp = $rp->rhs[$i];
            fprintf($fp,' %s', $sp->name);
            if ($sp->type == PHP_ParserGenerator_Symbol::MULTITERMINAL) {
                for ($j = 1; $j < $sp->nsubsym; $j++) {
                    fprintf($fp, '|%s', $sp->subsym[$j]->name);
                }
            }
        }
    }
function ConfigPrint ( $ fp ) { $ rp = $ this -> rp ; fprintf ( $ fp , "%s ::=" , $ rp -> lhs -> name ) ; for ( $ i = 0 ; $ i <= $ rp -> nrhs ; $ i ++ ) { if ( $ i === $ this -> dot ) { fwrite ( $ fp , ' *' ) ; } if ( $ i === $ rp -> nrhs ) { break ; } $ sp = $ rp -> rhs [ $ i ] ; fprintf ( $ fp , ' %s' , $ sp -> name ) ; if ( $ sp -> type == PHP_ParserGenerator_Symbol :: MULTITERMINAL ) { for ( $ j = 1 ; $ j < $ sp -> nsubsym ; $ j ++ ) { fprintf ( $ fp , '|%s' , $ sp -> subsym [ $ j ] -> name ) ; } } } }
Print out information on this configuration.

@param resource $fp
@see PHP_ParserGenerator_Data::ReportOutput()
Print out information on this configuration .