MDL-70301 lib: Upgrade scssphp to 1.4.1

This commit is contained in:
Mathew May
2021-01-21 10:35:10 +08:00
parent dab0910676
commit 9a3e290efb
31 changed files with 4685 additions and 1606 deletions
+29 -2
View File
@@ -1,8 +1,9 @@
<?php
/**
* SCSSPHP
*
* @copyright 2012-2019 Leaf Corcoran
* @copyright 2012-2020 Leaf Corcoran
*
* @license http://opensource.org/licenses/MIT MIT
*
@@ -16,6 +17,32 @@ namespace ScssPhp\ScssPhp\Exception;
*
* @author Oleksandr Savchenko <[email protected]>
*/
class ParserException extends \Exception
class ParserException extends \Exception implements SassException
{
/**
* @var array
*/
private $sourcePosition;
/**
* Get source position
*
* @api
*/
public function getSourcePosition()
{
return $this->sourcePosition;
}
/**
* Set source position
*
* @api
*
* @param array $sourcePosition
*/
public function setSourcePosition($sourcePosition)
{
$this->sourcePosition = $sourcePosition;
}
}