lib/ParserGenerator/PHP/ParserGenerator/Config.php
static function Configlist_add($rp, $dot)
    {
        $model = new PHP_ParserGenerator_Config;
        $model->rp = $rp;
        $model->dot = $dot;
        $cfp = self::Configtable_find($model);
        if ($cfp === 0) {
            $cfp = self::newconfig();
            $cfp->rp = $rp;
            $cfp->dot = $dot;
            $cfp->fws = array();
            $cfp->stp = 0;
            $cfp->fplp = $cfp->bplp = 0;
            $cfp->next = 0;
            $cfp->bp = 0;
            self::$currentend = $cfp;
            self::$currentend = &$cfp->next;
            self::Configtable_insert($cfp);
        }
        return $cfp;
    }
static function Configlist_add($rp, $dot)
    {
        $model = new PHP_ParserGenerator_Config;
        $model->rp = $rp;
        $model->dot = $dot;
        $cfp = self::Configtable_find($model);
        if ($cfp === 0) {
            $cfp = self::newconfig();
            $cfp->rp = $rp;
            $cfp->dot = $dot;
            $cfp->fws = array();
            $cfp->stp = 0;
            $cfp->fplp = $cfp->bplp = 0;
            $cfp->next = 0;
            $cfp->bp = 0;
            self::$currentend = $cfp;
            self::$currentend = &$cfp->next;
            self::Configtable_insert($cfp);
        }
        return $cfp;
    }
static function Configlist_add ( $ rp , $ dot ) { $ model = new PHP_ParserGenerator_Config ; $ model -> rp = $ rp ; $ model -> dot = $ dot ; $ cfp = self :: Configtable_find ( $ model ) ; if ( $ cfp === 0 ) { $ cfp = self :: newconfig ( ) ; $ cfp -> rp = $ rp ; $ cfp -> dot = $ dot ; $ cfp -> fws = array ( ) ; $ cfp -> stp = 0 ; $ cfp -> fplp = $ cfp -> bplp = 0 ; $ cfp -> next = 0 ; $ cfp -> bp = 0 ; self :: $ currentend = $ cfp ; self :: $ currentend = & $ cfp -> next ; self :: Configtable_insert ( $ cfp ) ; } return $ cfp ; }
Add another configuration to the configuration list for this parser state.
@param PHP_ParserGenerator_Rule the rule
@param int Index into the right-hand side of the rule where the dot goes
@return PHP_ParserGenerator_Config
Add another configuration to the configuration list for this parser state .