public function __construct($sourceName, $sourceIndex = 0, $encoding = 'utf-8')
{
$this->sourceName = $sourceName ?: '(stdin)';
$this->sourceIndex = $sourceIndex;
$this->charset = null;
$this->utf8 = !$encoding || strtolower($encoding) === 'utf-8';
$this->patternModifiers = $this->utf8 ? 'Aisu' : 'Ais';
if (empty(static::$operatorPattern)) {
static::$operatorPattern = '([*\\/%+-]|[!=]\\=|\\>\\=?|\\<\\=\\>|\\<\\=?|and|or)';
$commentSingle = '\\/\\/';
$commentMultiLeft = '\\/\\*';
$commentMultiRight = '\\*\\/';
static::$commentPattern = $commentMultiLeft . '.*?' . $commentMultiRight;
static::$whitePattern = $this->utf8 ? '/' . $commentSingle . '[^\\n]*\\s*|(' . static::$commentPattern . ')\\s*|\\s+/AisuS' : '/' . $commentSingle . '[^\\n]*\\s*|(' . static::$commentPattern . ')\\s*|\\s+/AisS';
}
}
function __construct($sourceName, $sourceIndex = 0, $encoding = 'utf-8', $scssFile = null) { $this->scssFile = $scssFile; parent::__construct($sourceName, $sourceIndex, $encoding); }