Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401]

   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\Compiler;
  14  
  15  /**
  16   * Compiler environment
  17   *
  18   * @author Anthon Pang <anthon.pang@gmail.com>
  19   *
  20   * @internal
  21   */
  22  class Environment
  23  {
  24      /**
  25       * @var \ScssPhp\ScssPhp\Block|null
  26       */
  27      public $block;
  28  
  29      /**
  30       * @var \ScssPhp\ScssPhp\Compiler\Environment|null
  31       */
  32      public $parent;
  33  
  34      /**
  35       * @var Environment|null
  36       */
  37      public $declarationScopeParent;
  38  
  39      /**
  40       * @var Environment|null
  41       */
  42      public $parentStore;
  43  
  44      /**
  45       * @var array|null
  46       */
  47      public $selectors;
  48  
  49      /**
  50       * @var string|null
  51       */
  52      public $marker;
  53  
  54      /**
  55       * @var array
  56       */
  57      public $store;
  58  
  59      /**
  60       * @var array
  61       */
  62      public $storeUnreduced;
  63  
  64      /**
  65       * @var int
  66       */
  67      public $depth;
  68  }