Class AbstractRuleset

Hierarchy

Index

Properties

Methods

Properties

public rules: Array<any>

public selectors: Selector[]

public strictImports: any

Methods

public eval(env: Options): Ruleset

Parameters

Returns

Ruleset

public evalImports(env: Options)

Parameters

public find(selector: Selector, self: Rule): Rule[]

Parameters

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

public resetCache()

public rulesets(): Ruleset[]

Returns

Ruleset[]

public variable(): Rule

Returns

Rule

public variables(): RuleContainer

Returns

RuleContainer