abstract class LessUtils

Less Utils.

@author Kris Wallsmith <kris.wallsmith@gmail.com>

Hierarchy

Expanded class hierarchy of LessUtils

2 files declare their use of LessUtils
LessFilter.php in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/LessFilter.php
LessphpFilter.php in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/LessphpFilter.php

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Util/LessUtils.php, line 19

Namespace

Assetic\Util
View source
abstract class LessUtils extends CssUtils {
  const REGEX_IMPORTS = '/@import(?:-once)? (?:url\\()?(\'|"|)(?P<url>[^\'"\\)\\n\\r]*)\\1\\)?;?/';
  const REGEX_IMPORTS_NO_URLS = '/@import(?:-once)? (?!url\\()(\'|"|)(?P<url>[^\'"\\)\\n\\r]*)\\1;?/';

}

Members

Namesort descending Modifiers Type Description Overrides
CssUtils::extractImports public static function Extracts all references from the supplied CSS content.
CssUtils::filterIEFilters public static function Filters all IE filters (AlphaImageLoader filter) through a callable.
CssUtils::filterImports public static function Filters all CSS imports through a callable.
CssUtils::filterReferences public static function Filters all references -- url() and "@import" -- through a callable.
CssUtils::filterUrls public static function Filters all CSS url()'s through a callable.
CssUtils::REGEX_IE_FILTERS constant
CssUtils::REGEX_URLS constant
CssUtils::__construct final private function
LessUtils::REGEX_IMPORTS constant Overrides CssUtils::REGEX_IMPORTS
LessUtils::REGEX_IMPORTS_NO_URLS constant Overrides CssUtils::REGEX_IMPORTS_NO_URLS