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;
  14  
  15  /**
  16   * Block/node types
  17   *
  18   * @author Anthon Pang <anthon.pang@gmail.com>
  19   */
  20  class Type
  21  {
  22      /**
  23       * @internal
  24       */
  25      const T_ASSIGN = 'assign';
  26      /**
  27       * @internal
  28       */
  29      const T_AT_ROOT = 'at-root';
  30      /**
  31       * @internal
  32       */
  33      const T_BLOCK = 'block';
  34      /**
  35       * @deprecated
  36       * @internal
  37       */
  38      const T_BREAK = 'break';
  39      /**
  40       * @internal
  41       */
  42      const T_CHARSET = 'charset';
  43      const T_COLOR = 'color';
  44      /**
  45       * @internal
  46       */
  47      const T_COMMENT = 'comment';
  48      /**
  49       * @deprecated
  50       * @internal
  51       */
  52      const T_CONTINUE = 'continue';
  53      /**
  54       * @deprecated
  55       * @internal
  56       */
  57      const T_CONTROL = 'control';
  58      /**
  59       * @internal
  60       */
  61      const T_CUSTOM_PROPERTY = 'custom';
  62      /**
  63       * @internal
  64       */
  65      const T_DEBUG = 'debug';
  66      /**
  67       * @internal
  68       */
  69      const T_DIRECTIVE = 'directive';
  70      /**
  71       * @internal
  72       */
  73      const T_EACH = 'each';
  74      /**
  75       * @internal
  76       */
  77      const T_ELSE = 'else';
  78      /**
  79       * @internal
  80       */
  81      const T_ELSEIF = 'elseif';
  82      /**
  83       * @internal
  84       */
  85      const T_ERROR = 'error';
  86      /**
  87       * @internal
  88       */
  89      const T_EXPRESSION = 'exp';
  90      /**
  91       * @internal
  92       */
  93      const T_EXTEND = 'extend';
  94      /**
  95       * @internal
  96       */
  97      const T_FOR = 'for';
  98      const T_FUNCTION = 'function';
  99      /**
 100       * @internal
 101       */
 102      const T_FUNCTION_REFERENCE = 'function-reference';
 103      /**
 104       * @internal
 105       */
 106      const T_FUNCTION_CALL = 'fncall';
 107      /**
 108       * @internal
 109       */
 110      const T_HSL = 'hsl';
 111      /**
 112       * @internal
 113       */
 114      const T_HWB = 'hwb';
 115      /**
 116       * @internal
 117       */
 118      const T_IF = 'if';
 119      /**
 120       * @internal
 121       */
 122      const T_IMPORT = 'import';
 123      /**
 124       * @internal
 125       */
 126      const T_INCLUDE = 'include';
 127      /**
 128       * @internal
 129       */
 130      const T_INTERPOLATE = 'interpolate';
 131      /**
 132       * @internal
 133       */
 134      const T_INTERPOLATED = 'interpolated';
 135      /**
 136       * @internal
 137       */
 138      const T_KEYWORD = 'keyword';
 139      const T_LIST = 'list';
 140      const T_MAP = 'map';
 141      /**
 142       * @internal
 143       */
 144      const T_MEDIA = 'media';
 145      /**
 146       * @internal
 147       */
 148      const T_MEDIA_EXPRESSION = 'mediaExp';
 149      /**
 150       * @internal
 151       */
 152      const T_MEDIA_TYPE = 'mediaType';
 153      /**
 154       * @internal
 155       */
 156      const T_MEDIA_VALUE = 'mediaValue';
 157      /**
 158       * @internal
 159       */
 160      const T_MIXIN = 'mixin';
 161      /**
 162       * @internal
 163       */
 164      const T_MIXIN_CONTENT = 'mixin_content';
 165      /**
 166       * @internal
 167       */
 168      const T_NESTED_PROPERTY = 'nestedprop';
 169      /**
 170       * @internal
 171       */
 172      const T_NOT = 'not';
 173      const T_NULL = 'null';
 174      const T_NUMBER = 'number';
 175      /**
 176       * @internal
 177       */
 178      const T_RETURN = 'return';
 179      /**
 180       * @internal
 181       */
 182      const T_ROOT = 'root';
 183      /**
 184       * @internal
 185       */
 186      const T_SCSSPHP_IMPORT_ONCE = 'scssphp-import-once';
 187      /**
 188       * @internal
 189       */
 190      const T_SELF = 'self';
 191      const T_STRING = 'string';
 192      /**
 193       * @internal
 194       */
 195      const T_UNARY = 'unary';
 196      /**
 197       * @internal
 198       */
 199      const T_VARIABLE = 'var';
 200      /**
 201       * @internal
 202       */
 203      const T_WARN = 'warn';
 204      /**
 205       * @internal
 206       */
 207      const T_WHILE = 'while';
 208  }