Neos\Eel\FlowQuery\FizzleParser::match_IdentifierFilter PHP Method

match_IdentifierFilter() public method

public match_IdentifierFilter ( $stack = [] )
    function match_IdentifierFilter($stack = array())
    {
        $matchrule = "IdentifierFilter";
        $result = $this->construct($matchrule, $matchrule, null);
        $_28 = NULL;
        do {
            if (substr($this->string, $this->pos, 1) == '#') {
                $this->pos += 1;
                $result["text"] .= '#';
            } else {
                $_28 = FALSE;
                break;
            }
            $matcher = 'match_' . 'ObjectIdentifier';
            $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, "ObjectIdentifier");
            } else {
                $_28 = FALSE;
                break;
            }
            $_28 = TRUE;
            break;
        } while (0);
        if ($_28 === TRUE) {
            return $this->finalise($result);
        }
        if ($_28 === FALSE) {
            return FALSE;
        }
    }