wikimedia/less.php
PHP port of the LESS processor
Loading...
Searching...
No Matches
Less_Tree Class Reference

Tree. More...

Public Member Functions

 toCSS ()
 
 genCSS ( $output)
 Generate CSS by adding it to the output object.
 
 compile ( $env)
 
 accept ( $visitor)
 

Static Public Member Functions

static outputRuleset ( $output, $rules)
 
static nodeCompare ( $a, $b)
 
static numericCompare ( $a, $b)
 
static ReferencedArray ( $rules)
 
static __set_state ( $args)
 Requires php 5.3+.
 

Public Attributes

 $parensInOp = false
 
 $extendOnEveryPath
 
 $allExtends
 

Protected Member Functions

 _operate ( $op, $a, $b)
 
 fround ( $value)
 

Detailed Description

Tree.

Member Function Documentation

◆ _operate()

Less_Tree::_operate ( $op,
$a,
$b )
protected
Parameters
string$op
float$a
float$b
See also
less-2.5.3.js#Node.prototype._operate

◆ fround()

Less_Tree::fround ( $value)
protected
See also
less-2.5.3.js#Node.prototype.fround

◆ genCSS()

Less_Tree::genCSS ( $output)

Generate CSS by adding it to the output object.

Parameters
Less_Output$outputThe output
Returns
void

◆ nodeCompare()

static Less_Tree::nodeCompare ( $a,
$b )
static
Parameters
Less_Tree$a
Less_Tree$b
Returns
int|null
See also
less-2.5.3.js#Node.compare

◆ numericCompare()

static Less_Tree::numericCompare ( $a,
$b )
static
Parameters
string | float | int$a
string | float | int$b
Returns
int|null
See also
less-2.5.3.js#Node.numericCompare

◆ outputRuleset()

static Less_Tree::outputRuleset ( $output,
$rules )
static
Parameters
Less_Output$output
Less_Tree_Ruleset[]$rules

◆ toCSS()

Less_Tree::toCSS ( )
See also
less-2.5.3.js#Node.prototype.toCSS

The documentation for this class was generated from the following file: