4 * @license https://opensource.org/licenses/Apache-2.0 Apache-2.0
7 namespace Wikimedia\CSS\Objects;
10 * Represent a CSS component value
12 abstract class ComponentValue implements CSSObject {
14 /** @var int Line and position in the input where this component value starts */
15 protected $line = -1, $pos = -1;
18 * Get the position of this ComponentValue in the input stream
19 * @return array [ $line, $pos ]
21 public function getPosition() {
22 return [ $this->line, $this->pos ];
25 public function toComponentValueArray() {