Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
less
ParserNode
Class ParserNode
Hierarchy
AbstractRuleset
ParserNode
Index
Properties
rules
selectors
strictImports
Methods
eval
evalImports
find
joinSelector
joinSelectors
makeImportant
matchArgs
mergeElementsOnToSelectors
resetCache
rulesets
toCSS
variable
variables
Properties
public
rules
:
Array<any>
public
selectors
:
Selector
[]
public
strictImports
:
any
Methods
public
eval
(
env
:
Options
)
:
Ruleset
Parameters
env:
Options
Returns
Ruleset
public
evalImports
(
env
:
Options
)
Parameters
env:
Options
public
find
(
selector
:
Selector
, self
:
Rule
)
:
Rule
[]
Parameters
selector:
Selector
self:
Rule
Returns
Rule
[]
public
joinSelector
(
paths
:
Array<string>
, context
:
Array<any[]>
, selector
:
Selector
)
Parameters
paths:
Array<string>
context:
Array<any[]>
selector:
Selector
public
joinSelectors
(
paths
:
Array<string>
, context
:
Array<any[]>
, selectors
:
Selector
[]
)
Parameters
paths:
Array<string>
context:
Array<any[]>
selectors:
Selector
[]
public
makeImportant
(
)
:
Ruleset
Returns
Ruleset
public
matchArgs
(
args
:
any
)
:
boolean
Parameters
args:
any
Returns
boolean
public
mergeElementsOnToSelectors
(
elements
:
Element
[]
, selectors
:
Selector
[]
)
Parameters
elements:
Element
[]
selectors:
Selector
[]
public
resetCache
(
)
public
rulesets
(
)
:
Ruleset
[]
Returns
Ruleset
[]
public
toCSS
(
)
:
string
Returns
string
public
toCSS
(
options
:
{ compress: boolean; }
, variables
?:
any
)
:
string
Parameters
options:
{ compress: boolean; }
variables?:
any
optional
Returns
string
public
variable
(
)
:
Rule
Returns
Rule
public
variables
(
)
:
RuleContainer
Returns
RuleContainer
Globals
less
less.tree
less.tree.functions
less.tree.mixin
version
Options
LessError
Parser
ParserNode
rules
selectors
strictImports
eval
evalImports
find
joinSelector
joinSelectors
makeImportant
matchArgs
mergeElementsOnToSelectors
resetCache
rulesets
toCSS
variable
variables
formatError
render
writeError