comparison vendor/symfony/css-selector/Parser/Token.php @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents 4c8ae668cc8c
children 129ea1e6d783
comparison
equal deleted inserted replaced
13:5fb285c0d0e3 14:1fec387a4317
29 const TYPE_IDENTIFIER = 'identifier'; 29 const TYPE_IDENTIFIER = 'identifier';
30 const TYPE_HASH = 'hash'; 30 const TYPE_HASH = 'hash';
31 const TYPE_NUMBER = 'number'; 31 const TYPE_NUMBER = 'number';
32 const TYPE_STRING = 'string'; 32 const TYPE_STRING = 'string';
33 33
34 /**
35 * @var int
36 */
37 private $type; 34 private $type;
38
39 /**
40 * @var string
41 */
42 private $value; 35 private $value;
43
44 /**
45 * @var int
46 */
47 private $position; 36 private $position;
48 37
49 /** 38 /**
50 * @param int $type 39 * @param int $type
51 * @param string $value 40 * @param string $value
89 { 78 {
90 return self::TYPE_FILE_END === $this->type; 79 return self::TYPE_FILE_END === $this->type;
91 } 80 }
92 81
93 /** 82 /**
94 * @param array $values
95 *
96 * @return bool 83 * @return bool
97 */ 84 */
98 public function isDelimiter(array $values = array()) 85 public function isDelimiter(array $values = array())
99 { 86 {
100 if (self::TYPE_DELIMITER !== $this->type) { 87 if (self::TYPE_DELIMITER !== $this->type) {