2016-07-20 16:45:59 +08:00
|
|
|
<?php
|
2020-12-09 13:16:13 +08:00
|
|
|
|
2016-07-20 16:45:59 +08:00
|
|
|
/**
|
|
|
|
* SCSSPHP
|
|
|
|
*
|
2020-12-09 13:16:13 +08:00
|
|
|
* @copyright 2012-2020 Leaf Corcoran
|
2016-07-20 16:45:59 +08:00
|
|
|
*
|
|
|
|
* @license http://opensource.org/licenses/MIT MIT
|
|
|
|
*
|
2019-06-28 09:42:24 +08:00
|
|
|
* @link http://scssphp.github.io/scssphp
|
2016-07-20 16:45:59 +08:00
|
|
|
*/
|
|
|
|
|
2019-06-28 09:42:24 +08:00
|
|
|
namespace ScssPhp\ScssPhp;
|
2016-07-20 16:45:59 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Base node
|
|
|
|
*
|
|
|
|
* @author Anthon Pang <anthon.pang@gmail.com>
|
2021-12-30 12:10:34 +00:00
|
|
|
*
|
|
|
|
* @internal
|
2016-07-20 16:45:59 +08:00
|
|
|
*/
|
|
|
|
abstract class Node
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
public $type;
|
|
|
|
|
|
|
|
/**
|
2021-12-30 12:10:34 +00:00
|
|
|
* @var int
|
2016-07-20 16:45:59 +08:00
|
|
|
*/
|
|
|
|
public $sourceIndex;
|
|
|
|
|
|
|
|
/**
|
2021-12-30 12:10:34 +00:00
|
|
|
* @var int|null
|
2016-07-20 16:45:59 +08:00
|
|
|
*/
|
|
|
|
public $sourceLine;
|
|
|
|
|
|
|
|
/**
|
2021-12-30 12:10:34 +00:00
|
|
|
* @var int|null
|
2016-07-20 16:45:59 +08:00
|
|
|
*/
|
|
|
|
public $sourceColumn;
|
|
|
|
}
|