Метод |
Описание |
|
adjustHsl ( $color, $idx, $amount ) |
|
|
adjust_color_helper ( $base, $alter, $i ) |
|
|
alter_color ( $args, $fn ) |
helper function for adjust_color, change_color, and scale_color |
|
applyArguments ( $argDef, $argValues ) |
|
|
callBuiltin ( $name, $args, &$returnValue ) |
|
|
change_color_helper ( $base, $alter, $i ) |
|
|
coerceColor ( $value ) |
|
|
coerceForExpression ( $value ) |
|
|
coerceList ( $item, $delim = "," ) |
convert something to list |
|
coercePercent ( $value ) |
|
|
coerceString ( $value ) |
|
|
coerceUnit ( $number, $unit ) |
$number should be normalized |
|
combineSelectorSingle ( $base, $other ) |
|
|
compileBlock ( StdClass $block ) |
Recursively compiles a block. |
|
compileChild ( $child, $out ) |
return a value to halt execution |
|
compileChildren ( $stms, $out ) |
|
|
compileImport ( $rawPath, $out ) |
returns true if the value was something that could be imported |
|
compileMedia ( $media ) |
|
|
compileMediaQuery ( $queryList ) |
|
|
compileNestedBlock ( $block, $selectors ) |
TODO refactor compileNestedBlock and compileMedia into same thing |
|
compileRoot ( $rootBlock ) |
|
|
compileSelector ( $selector ) |
self(&) should have been replaced by now |
|
compileSelectorPart ( $piece ) |
|
|
compileStringContent ( $string ) |
|
|
compileValue ( array $value ) |
Compiles a primitive value into a CSS property value. |
|
evalSelector ( $selector ) |
replaces all the interpolates |
|
evalSelectorPart ( $piece ) |
|
|
expToString ( $exp ) |
|
|
extractInterpolation ( $list ) |
doesn't need to be recursive, compileValue will handle that |
|
fileExists ( $name ) |
|
|
fixColor ( $c ) |
make sure a color's components don't go out of bounds |
|
flattenSelectorSingle ( $single ) |
joins together .classes and #ids |
|
flattenSelectors ( $block, $parentKey = null ) |
|
|
getNormalizedNumbers ( $args ) |
|
|
getStoreEnv ( ) |
|
|
hasSelectorPlaceholder ( $selector ) |
|
|
importFile ( $path, $out ) |
|
|
isSelfExtend ( $target, $origin ) |
|
|
isTruthy ( $value ) |
|
|
joinSelectors ( $parent, $child ) |
looks for & to replace, or append parent before child |
|
lib_abs ( $args ) |
|
|
lib_adjust_color ( $args ) |
|
|
lib_adjust_hue ( $args ) |
|
|
lib_alpha ( $args ) |
|
|
lib_append ( $args ) |
|
|
lib_blue ( $args ) |
|
|
lib_ceil ( $args ) |
|
|
lib_change_color ( $args ) |
|
|
lib_comparable ( $args ) |
|
|
lib_complement ( $args ) |
|
|
lib_counter ( array $args ) |
Workaround IE7's content counter bug. |
|
lib_darken ( $args ) |
|
|
lib_desaturate ( $args ) |
|
|
lib_fade_in ( $args ) |
|
|
lib_fade_out ( $args ) |
|
|
lib_floor ( $args ) |
|
|
lib_grayscale ( $args ) |
|
|
lib_green ( $args ) |
|
|
lib_hsl ( $args ) |
|
|
lib_hsla ( $args ) |
|
|
lib_hue ( $args ) |
|
|
lib_ie_hex_str ( $args ) |
|
|
lib_if ( $args ) |
|
|
lib_index ( $args ) |
|
|
lib_invert ( $args ) |
|
|
lib_join ( $args ) |
|
|
lib_length ( $args ) |
|
|
lib_lighten ( $args ) |
|
|
lib_lightness ( $args ) |
|
|
lib_max ( $args ) |
|
|
lib_min ( $args ) |
|
|
lib_mix ( $args ) |
|
|
lib_nth ( $args ) |
|
|
lib_opacify ( $args ) |
|
|
lib_opacity ( $args ) |
|
|
lib_percentage ( $args ) |
|
|
lib_quote ( $args ) |
|
|
lib_red ( $args ) |
|
|
lib_rgb ( $args ) |
|
|
lib_rgba ( $args ) |
|
|
lib_round ( $args ) |
|
|
lib_saturate ( $args ) |
|
|
lib_saturation ( $args ) |
|
|
lib_scale_color ( $args ) |
|
|
lib_transparentize ( $args ) |
|
|
lib_type_of ( $args ) |
|
|
lib_unit ( $args ) |
|
|
lib_unitless ( $args ) |
|
|
lib_unquote ( $args ) |
|
|
lib_zip ( $args ) |
|
|
listSeparatorForJoin ( $list1, $sep ) |
|
|
makeOutputBlock ( $type, $selectors = null ) |
|
|
matchExtends ( $selector, &$out, $from, $initial = true ) |
|
|
matchExtendsSingle ( $single, &$outOrigin ) |
|
|
mediaParent ( $scope ) |
|
|
multiplyMedia ( $env, $childQueries = null ) |
|
|
multiplySelectors ( $env ) |
find the final set of selectors |
|
normalizeName ( $name ) |
|
|
normalizeNumber ( $number ) |
just does physical lengths for now |
|
op_add ( $left, $right ) |
adding strings |
|
op_add_number_number ( $left, $right ) |
|
|
op_and ( $left, $right, $shouldEval ) |
|
|
op_color_color ( $op, $left, $right ) |
|
|
op_color_number ( $op, $left, $right ) |
|
|
op_div_number_number ( $left, $right ) |
|
|
op_eq ( $left, $right ) |
|
|
op_gt_number_number ( $left, $right ) |
|
|
op_gte_number_number ( $left, $right ) |
|
|
op_lt_number_number ( $left, $right ) |
|
|
op_lte_number_number ( $left, $right ) |
|
|
op_mod_number_number ( $left, $right ) |
|
|
op_mul_number_number ( $left, $right ) |
|
|
op_neq ( $left, $right ) |
|
|
op_number_color ( $op, $left, $right ) |
|
|
op_or ( $left, $right, $shouldEval ) |
|
|
op_sub_number_number ( $left, $right ) |
|
|
popEnv ( ) |
|
|
pushEnv ( $block = null ) |
|
|
pushExtends ( $target, $origin ) |
|
|
reduce ( $value, $inExp = false ) |
|
|
scale_color_helper ( $base, $scale, $i ) |
|
|
set ( $name, $value, $shadow = false ) |
|
|
setExisting ( $name, $value, $env = null ) |
|
|
setRaw ( $name, $value ) |
|
|
shouldEval ( $value ) |
should $value cause its operand to eval |
|
sortArgs ( $prototype, $args ) |
TODO: merge with apply arguments |
|