Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
web
/
vhosts
/
www.shinegis.mu
/
htdocs
/
functions
/
scssphp
/
src
/
Value
/
/srv/data/web/vhosts/www.shinegis.mu/htdocs/functions/scssphp/src/Value/SassArgumentList.php
<?php /** * SCSSPHP * * @copyright 2012-2020 Leaf Corcoran * * @license http://opensource.org/licenses/MIT MIT * * @link http://scssphp.github.io/scssphp */ namespace ScssPhp\ScssPhp\Value; /** * A SassScript argument list. * * An argument list comes from a rest argument. It's distinct from a normal * {@see SassList} in that it may contain a keyword map as well as the positional * arguments. */ final class SassArgumentList extends SassList { /** * @var array<string, Value> * @readonly */ private $keywords; /** * @var bool */ private $keywordAccessed = false; /** * SassArgumentList constructor. * * @param list<Value> $contents * @param array<string, Value> $keywords * @param string $separator * * @phpstan-param ListSeparator::* $separator */ public function __construct(array $contents, array $keywords, string $separator) { parent::__construct($contents, $separator); $this->keywords = $keywords; } /** * @return array<string, Value> */ public function getKeywords(): array { $this->keywordAccessed = true; return $this->keywords; } /** * @return bool * * @internal */ public function wereKeywordAccessed(): bool { return $this->keywordAccessed; } }