File manager - Edit - /home/ferretapmx/public_html/plugins/system/helixultimate/vendor/scssphp/scssphp/src/Ast/Selector/Combinator.php
Back
<?php /** * SCSSPHP * * @copyright 2012-2020 Leaf Corcoran * * @license http://opensource.org/licenses/MIT MIT * * @link http://scssphp.github.io/scssphp */ namespace ScssPhp\ScssPhp\Ast\Selector; /** * A combinator that defines the relationship between selectors in a * {@see ComplexSelector}. * * @internal */ enum Combinator { /** * Matches the right-hand selector if it's immediately adjacent to the * left-hand selector in the DOM tree. */ case NEXT_SIBLING; /** * Matches the right-hand selector if it's a direct child of the left-hand * selector in the DOM tree. */ case CHILD; /** * Matches the right-hand selector if it comes after the left-hand selector * in the DOM tree. */ case FOLLOWING_SIBLING; public function getText(): string { return match ($this) { self::NEXT_SIBLING => '+', self::CHILD => '>', self::FOLLOWING_SIBLING => '~', }; } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings