Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
less
tree
Ruleset
Class Ruleset
Hierarchy
AbstractRuleset
Ruleset
Definition
Index
Constructor methods
constructor
Properties
rules
selectors
strictImports
Methods
eval
evalImports
find
joinSelector
joinSelectors
makeImportant
matchArgs
mergeElementsOnToSelectors
resetCache
rulesets
toCSS
variable
variables
Constructor methods
constructor
(
selectors
:
Selector
[]
, rules
:
Rule
[]
, strictImports
:
any
)
:
Ruleset
Parameters
selectors:
Selector
[]
rules:
Rule
[]
strictImports:
any
Returns
Ruleset
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
(
context
?:
Array<any[]>
, env
?:
Options
)
:
string
Parameters
context?:
Array<any[]>
optional
env?:
Options
optional
Returns
string
public
variable
(
)
:
Rule
Returns
Rule
public
variables
(
)
:
RuleContainer
Returns
RuleContainer
Globals
less
less.tree
less.tree.functions
less.tree.mixin
False
True
colors
debugInfo
DebugInfo
DebugInfoFunction
HSL
HasDebugInfo
ICSSable
IColorable
IComparable
IEvalable
IInjectable
IOperable
IValuableNumber
IValuableString
RuleContainer
AbstractRuleset
Alpha
Anonymous
Assignment
Attribute
Call
Color
Combinator
Comment
Condition
Dimension
Directive
Element
Expression
Import
JavaScript
Keyword
Media
Operation
Paren
Quoted
Ratio
Rule
Ruleset
constructor
rules
selectors
strictImports
eval
evalImports
find
joinSelector
joinSelectors
makeImportant
matchArgs
mergeElementsOnToSelectors
resetCache
rulesets
toCSS
variable
variables
Selector
Shorthand
URL
UnicodeDescriptor
Value
Variable
find
jsify
operate