Class lessc_parser
Located at system/app/lessphp/lessc.inc.php
Methods summary
public
|
|
public
|
|
protected
|
#
parseChunk( )
Parse a single chunk off the head of the buffer and append it to the current parse environment. Returns false when the buffer is empty, or when there is an error. |
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
#
assign( $name = null )
Consume an assignment operator Can optionally take a name that will be set to the current property name |
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
Properties summary
protected static
integer
|
$nextBlockId
|
#
0
|
protected static
array
|
$precedence
|
#
array(
'=<' => 0,
'>=' => 0,
'=' => 0,
'<' => 0,
'>' => 0,
'+' => 1,
'-' => 1,
'*' => 2,
'/' => 2,
'%' => 2,
)
|
protected static
|
$whitePattern
|
|
protected static
|
$commentMulti
|
|
protected static
string
|
$commentSingle
|
#
"//"
|
protected static
string
|
$commentMultiLeft
|
#
"/*"
|
protected static
string
|
$commentMultiRight
|
#
"*/"
|
protected static
|
$operatorString
|
|
protected static
array
|
$supressDivisionProps
|
#
array('/border-radius$/i', '/^font$/i')
|
protected
array
|
$blockDirectives
|
#
array("font-face", "keyframes", "page", "-moz-document", "viewport", "-moz-viewport", "-o-viewport", "-ms-viewport")
|
protected
array
|
$lineDirectives
|
#
array("charset")
|
protected
boolean
|
$inParens
if we are in parens we can be more liberal with whitespace around operators because it must evaluate to a single value and thus is less ambiguous. |
#
false
|
protected static
array
|
$literalCache
|
#
array()
|