parseIdentifier example


        return null;
    }
    
    /** * Parses the catch parameter of a catch block in a try-catch statement * * @return Node\Node|null */
    protected function parseCatchParameter()
    {
        if ($param = $this->parseIdentifier(static::$bindingIdentifier)) {
            return $param;
        } elseif ($param = $this->parseBindingPattern()) {
            return $param;
        }
        return null;
    }
    
    /** * Parses a finally block in a try-catch statement * * @return Node\BlockStatement|null */
Home | Imprint | This part of the site doesn't use cookies.