Lines Matching defs:type
104 * store an expression for the current element (type selector)
328 * Output the universal type (* or xmlns|*) selector to the buffer
344 * Output the type (element name) selector to the buffer
346 * @param Ast\Selector\Simple\Type $type
348 public function visitSelectorSimpleType(Ast\Selector\Simple\Type $type): void {
350 $elementName = $this->strToLower($type->elementName);
352 $elementName = $type->elementName;
354 if ('' === $type->namespacePrefix && $this->hasOption(self::OPTION_EXPLICIT_NAMESPACES)) {
359 $isEmptyPrefix = !isset($type->namespacePrefix) || $type->namespacePrefix === '';
360 if (!$isEmptyPrefix && $type->namespacePrefix !== '*') {
361 $this->add($type->namespacePrefix.':'.$elementName);
362 $this->setElement($type->namespacePrefix.':'.$elementName);
527 case 'first-of-type' :
530 case 'last-of-type' :
536 case 'only-of-type' :
609 case 'nth-of-type' :
615 case 'nth-last-of-type' :