|
static | compressList ($items, $delim) |
|
static | preg_quote ($what) |
|
static | ccompile ($in, $out, $less=null) |
|
static | cexecute ($in, $force=false, $less=null) |
|
| $vPrefix = '@' |
|
| $mPrefix = '$' |
|
| $parentSelector = '&' |
|
| $importDisabled = false |
|
| $importDir = '' |
|
static | $VERSION = "v0.5.0" |
|
static | $TRUE = array("keyword", "true") |
|
static | $FALSE = array("keyword", "false") |
|
| findImport ($url) |
|
| fileExists ($name) |
|
| tryImport ($importPath, $parentBlock, $out) |
|
| compileImportedProps ($props, $block, $out, $sourceParser, $importDir) |
|
| compileBlock ($block) |
|
| compileCSSBlock ($block) |
|
| compileMedia ($media) |
|
| mediaParent ($scope) |
|
| compileNestedBlock ($block, $selectors) |
|
| compileRoot ($root) |
|
| compileProps ($block, $out) |
|
| deduplicate ($lines) |
|
| sortProps ($props, $split=false) |
|
| compileMediaQuery ($queries) |
|
| multiplyMedia ($env, $childQueries=null) |
|
| expandParentSelectors (&$tag, $replace) |
|
| findClosestSelectors () |
|
| multiplySelectors ($selectors) |
|
| compileSelectors ($selectors) |
|
| eq ($left, $right) |
|
| patternMatch ($block, $orderedArgs, $keywordArgs) |
|
| patternMatchAll ($blocks, $orderedArgs, $keywordArgs, $skip=array()) |
|
| findBlocks ($searchIn, $path, $orderedArgs, $keywordArgs, $seen=array()) |
|
| zipSetArgs ($args, $orderedValues, $keywordValues) |
|
| compileProp ($prop, $block, $out) |
|
| lib_pow ($args) |
|
| lib_pi () |
|
| lib_mod ($args) |
|
| lib_tan ($num) |
|
| lib_sin ($num) |
|
| lib_cos ($num) |
|
| lib_atan ($num) |
|
| lib_asin ($num) |
|
| lib_acos ($num) |
|
| lib_sqrt ($num) |
|
| lib_extract ($value) |
|
| lib_isnumber ($value) |
|
| lib_isstring ($value) |
|
| lib_iscolor ($value) |
|
| lib_iskeyword ($value) |
|
| lib_ispixel ($value) |
|
| lib_ispercentage ($value) |
|
| lib_isem ($value) |
|
| lib_isrem ($value) |
|
| lib_rgbahex ($color) |
|
| lib_argb ($color) |
|
| lib_data_uri ($value) |
|
| lib_e ($arg) |
|
| lib__sprintf ($args) |
|
| lib_floor ($arg) |
|
| lib_ceil ($arg) |
|
| lib_round ($arg) |
|
| lib_unit ($arg) |
|
| lib_darken ($args) |
|
| lib_lighten ($args) |
|
| lib_saturate ($args) |
|
| lib_desaturate ($args) |
|
| lib_spin ($args) |
|
| lib_fadeout ($args) |
|
| lib_fadein ($args) |
|
| lib_hue ($color) |
|
| lib_saturation ($color) |
|
| lib_lightness ($color) |
|
| lib_alpha ($value) |
|
| lib_fade ($args) |
|
| lib_percentage ($arg) |
|
| lib_tint ($args) |
|
| lib_shade ($args) |
|
| lib_mix ($args) |
|
| lib_contrast ($args) |
|
| lib_luma ($color) |
|
| toHSL ($color) |
|
| toRGB_helper ($comp, $temp1, $temp2) |
|
| toRGB ($color) |
|
| clamp ($v, $max=1, $min=0) |
|
| funcToColor ($func) |
|
| reduce ($value, $forExpression=false) |
|
| coerceColor ($value) |
|
| coerceString ($value) |
|
| flattenList ($value) |
|
| evaluate ($exp) |
|
| stringConcatenate ($left, $right) |
|
| fixColor ($c) |
|
| op_number_color ($op, $lft, $rgt) |
|
| op_color_number ($op, $lft, $rgt) |
|
| op_color_color ($op, $left, $right) |
|
| op_number_number ($op, $left, $right) |
|
| makeOutputBlock ($type, $selectors=null) |
|
| pushEnv ($block=null) |
|
| popEnv () |
|
| set ($name, $value) |
|
| get ($name) |
|
| injectVariables ($args) |
|
| makeParser ($name) |
|
| newFormatter () |
|
| $libFunctions = array() |
|
| $registeredVars = array() |
|
| $preserveComments = false |
|
| $numberPrecision = null |
|
| $allParsedFiles = array() |
|
| $sourceParser = null |
|
| $sourceLoc = null |
|
static | $nextImportId = 0 |
|
static | $cssColors |
|
create a less file from a css file by combining blocks where appropriate