Neos\Eel\AbstractParser::match_NumberLiteral PHP Метод

match_NumberLiteral() публичный Метод

public match_NumberLiteral ( $stack = [] )
    function match_NumberLiteral($stack = array())
    {
        $matchrule = "NumberLiteral";
        $result = $this->construct($matchrule, $matchrule, null);
        $_5 = NULL;
        do {
            $matcher = 'match_' . '_IntegerNumber';
            $key = $matcher;
            $pos = $this->pos;
            $subres = $this->packhas($key, $pos) ? $this->packread($key, $pos) : $this->packwrite($key, $pos, $this->{$matcher}(array_merge($stack, array($result))));
            if ($subres !== FALSE) {
                $this->store($result, $subres, "int");
            } else {
                $_5 = FALSE;
                break;
            }
            $res_4 = $result;
            $pos_4 = $this->pos;
            $matcher = 'match_' . '_Decimals';
            $key = $matcher;
            $pos = $this->pos;
            $subres = $this->packhas($key, $pos) ? $this->packread($key, $pos) : $this->packwrite($key, $pos, $this->{$matcher}(array_merge($stack, array($result))));
            if ($subres !== FALSE) {
                $this->store($result, $subres, "dec");
            } else {
                $result = $res_4;
                $this->pos = $pos_4;
                unset($res_4);
                unset($pos_4);
            }
            $_5 = TRUE;
            break;
        } while (0);
        if ($_5 === TRUE) {
            return $this->finalise($result);
        }
        if ($_5 === FALSE) {
            return FALSE;
        }
    }