parseBindingPattern example


    
    /** * 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 */
    protected function parseFinally()
    {
Home | Imprint | This part of the site doesn't use cookies.