Lines Matching refs:value
14 public static function assertArgs($value, $expectedArgs, $name = '') argument
17 return $value;
19 if ($value[0] !== 'list' || $value[1] != ',') {
22 $values = $value[2];
41 public static function assertMinArgs($value, $expectedMinArgs, $name = '') argument
43 if ($value[0] !== 'list' || $value[1] != ',') {
46 $values = $value[2];
62 * @param array $value The parsed value triplet
66 public static function assertNumber(array $value, string $error = 'expecting number'): float argument
68 if ($value[0] == 'number') return (float)$value[1];
75 public static function assertColor(array $value, $error = 'expected color value'): array argument
77 $color = Color::coerceColor($value);