Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

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

   1  <?php
   2  /**
   3   * SCSSPHP
   4   *
   5   * @copyright 2012-2019 Leaf Corcoran
   6   *
   7   * @license http://opensource.org/licenses/MIT MIT
   8   *
   9   * @link http://scssphp.github.io/scssphp
  10   */
  11  
  12  namespace ScssPhp\ScssPhp;
  13  
  14  /**
  15   * Block/node types
  16   *
  17   * @author Anthon Pang <anthon.pang@gmail.com>
  18   */
  19  class Type
  20  {
  21      const T_ASSIGN = 'assign';
  22      const T_AT_ROOT = 'at-root';
  23      const T_BLOCK = 'block';
  24      const T_BREAK = 'break';
  25      const T_CHARSET = 'charset';
  26      const T_COLOR = 'color';
  27      const T_COMMENT = 'comment';
  28      const T_CONTINUE = 'continue';
  29      const T_CONTROL = 'control';
  30      const T_DEBUG = 'debug';
  31      const T_DIRECTIVE = 'directive';
  32      const T_EACH = 'each';
  33      const T_ELSE = 'else';
  34      const T_ELSEIF = 'elseif';
  35      const T_ERROR = 'error';
  36      const T_EXPRESSION = 'exp';
  37      const T_EXTEND = 'extend';
  38      const T_FOR = 'for';
  39      const T_FUNCTION = 'function';
  40      const T_FUNCTION_CALL = 'fncall';
  41      const T_HSL = 'hsl';
  42      const T_IF = 'if';
  43      const T_IMPORT = 'import';
  44      const T_INCLUDE = 'include';
  45      const T_INTERPOLATE = 'interpolate';
  46      const T_INTERPOLATED = 'interpolated';
  47      const T_KEYWORD = 'keyword';
  48      const T_LIST = 'list';
  49      const T_MAP = 'map';
  50      const T_MEDIA = 'media';
  51      const T_MEDIA_EXPRESSION = 'mediaExp';
  52      const T_MEDIA_TYPE = 'mediaType';
  53      const T_MEDIA_VALUE = 'mediaValue';
  54      const T_MIXIN = 'mixin';
  55      const T_MIXIN_CONTENT = 'mixin_content';
  56      const T_NESTED_PROPERTY = 'nestedprop';
  57      const T_NOT = 'not';
  58      const T_NULL = 'null';
  59      const T_NUMBER = 'number';
  60      const T_RETURN = 'return';
  61      const T_ROOT = 'root';
  62      const T_SCSSPHP_IMPORT_ONCE = 'scssphp-import-once';
  63      const T_SELF = 'self';
  64      const T_STRING = 'string';
  65      const T_UNARY = 'unary';
  66      const T_VARIABLE = 'var';
  67      const T_WARN = 'warn';
  68      const T_WHILE = 'while';
  69  }