[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/lessphp/Tree/ -> NameValue.php (summary)

(no description)

File Size: 51 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Less_Tree_NameValue:: (4 methods):
  __construct()
  genCSS()
  compile()
  makeImportant()


Class: Less_Tree_NameValue  - X-Ref

A simple css name-value pair
ex: width:100px;

In bootstrap, there are about 600-1,000 simple name-value pairs (depending on how forgiving the match is) -vs- 6,020 dynamic rules (Less_Tree_Rule)
Using the name-value object can speed up bootstrap compilation slightly, but it breaks color keyword interpretation: color:red -> color:#FF0000;

__construct($name, $value = null, $index = null, $currentFileInfo = null )   X-Ref
No description

genCSS( $output )   X-Ref
No description

compile($env)   X-Ref
No description

makeImportant()   X-Ref
No description



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1