PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 15.2
Jetpack – WP Security, Backup, Speed, & Growth v15.2
16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 All 501 releases
jetpack / vendor / scssphp / scssphp / src / Exception / ParserException.php

ParserException.php in Jetpack – WP Security, Backup, Speed, & Growth 15.2, at vendor/scssphp/scssphp/src/Exception/ParserException.php

59 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * SCSSPHP
5 *
6 * @copyright 2012-2020 Leaf Corcoran
7 *
8 * @license http://opensource.org/licenses/MIT MIT
9 *
10 * @link http://scssphp.github.io/scssphp
11 */
12
13 namespace ScssPhp\ScssPhp\Exception;
14
15 /**
16 * Parser Exception
17 *
18 * @author Oleksandr Savchenko <traveltino@gmail.com>
19 *
20 * @internal
21 */
22 class ParserException extends \Exception implements SassException
23 {
24 /**
25 * @var array|null
26 * @phpstan-var array{string, int, int}|null
27 */
28 private $sourcePosition;
29
30 /**
31 * Get source position
32 *
33 * @api
34 *
35 * @return array|null
36 * @phpstan-return array{string, int, int}|null
37 */
38 public function getSourcePosition()
39 {
40 return $this->sourcePosition;
41 }
42
43 /**
44 * Set source position
45 *
46 * @api
47 *
48 * @param array $sourcePosition
49 *
50 * @return void
51 *
52 * @phpstan-param array{string, int, int} $sourcePosition
53 */
54 public function setSourcePosition($sourcePosition)
55 {
56 $this->sourcePosition = $sourcePosition;
57 }
58 }
59