Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

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

   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      const T_ASSIGN = 'assign';
  23      const T_AT_ROOT = 'at-root';
  24      const T_BLOCK = 'block';
  25      /** @deprecated */
  26      const T_BREAK = 'break';
  27      const T_CHARSET = 'charset';
  28      const T_COLOR = 'color';
  29      const T_COMMENT = 'comment';
  30      /** @deprecated */
  31      const T_CONTINUE = 'continue';
  32      /** @deprecated */
  33      const T_CONTROL = 'control';
  34      const T_CUSTOM_PROPERTY = 'custom';
  35      const T_DEBUG = 'debug';
  36      const T_DIRECTIVE = 'directive';
  37      const T_EACH = 'each';
  38      const T_ELSE = 'else';
  39      const T_ELSEIF = 'elseif';
  40      const T_ERROR = 'error';
  41      const T_EXPRESSION = 'exp';
  42      const T_EXTEND = 'extend';
  43      const T_FOR = 'for';
  44      const T_FUNCTION = 'function';
  45      const T_FUNCTION_REFERENCE = 'function-reference';
  46      const T_FUNCTION_CALL = 'fncall';
  47      const T_HSL = 'hsl';
  48      const T_IF = 'if';
  49      const T_IMPORT = 'import';
  50      const T_INCLUDE = 'include';
  51      const T_INTERPOLATE = 'interpolate';
  52      const T_INTERPOLATED = 'interpolated';
  53      const T_KEYWORD = 'keyword';
  54      const T_LIST = 'list';
  55      const T_MAP = 'map';
  56      const T_MEDIA = 'media';
  57      const T_MEDIA_EXPRESSION = 'mediaExp';
  58      const T_MEDIA_TYPE = 'mediaType';
  59      const T_MEDIA_VALUE = 'mediaValue';
  60      const T_MIXIN = 'mixin';
  61      const T_MIXIN_CONTENT = 'mixin_content';
  62      const T_NESTED_PROPERTY = 'nestedprop';
  63      const T_NOT = 'not';
  64      const T_NULL = 'null';
  65      const T_NUMBER = 'number';
  66      const T_RETURN = 'return';
  67      const T_ROOT = 'root';
  68      const T_SCSSPHP_IMPORT_ONCE = 'scssphp-import-once';
  69      const T_SELF = 'self';
  70      const T_STRING = 'string';
  71      const T_UNARY = 'unary';
  72      const T_VARIABLE = 'var';
  73      const T_WARN = 'warn';
  74      const T_WHILE = 'while';
  75  }