Merge branch 'MDL-76525-MOODLE_400_STABLE' of https://github.com/PhMemmel/moodle...
[moodle.git] / lib / scssphp / Block / CallableBlock.php
bloba18a87c2addd1750a42ba83ac78fbde349d68d42
1 <?php
3 /**
4 * SCSSPHP
6 * @copyright 2012-2020 Leaf Corcoran
8 * @license http://opensource.org/licenses/MIT MIT
10 * @link http://scssphp.github.io/scssphp
13 namespace ScssPhp\ScssPhp\Block;
15 use ScssPhp\ScssPhp\Block;
16 use ScssPhp\ScssPhp\Compiler\Environment;
18 /**
19 * @internal
21 class CallableBlock extends Block
23 /**
24 * @var string
26 public $name;
28 /**
29 * @var array|null
31 public $args;
33 /**
34 * @var Environment|null
36 public $parentEnv;
38 /**
39 * @param string $type
41 public function __construct($type)
43 $this->type = $type;