Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 310 and 400] [Versions 311 and 400] [Versions 39 and 400] [Versions 400 and 401] [Versions 400 and 402] [Versions 400 and 403]

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