consumeWord example


        return $parts;
    }

    /** * Parses a type selector part * * @return Node\Part\Type|null */
    protected function parseSelectorPartType()
    {
        $type = $this->consumeWord();
        if ($type) {
            $part = new Node\Part\Type;
            $part->setType($type);
            return $part;
        }
        return null;
    }

    /** * Parses an attribute selector part * * @return Node\Part\Attribute|null * * @throws Exception */
Home | Imprint | This part of the site doesn't use cookies.