Module Less::StyleSheet::Selectors2
In: lib/sass/less.rb
SassNode Engine Keyword FontFamily Anonymous Number Color Function Expression Variable Quoted Property Element Def Call lib/sass/less.rb lib/sass/less.rb lib/sass/less.rb Mixin Entity Node Selectors2 Import1 Accessor1 Declaration3 Alpha1 Entity Mixin4 StyleSheet Less dot/m_62_0.png

Comma-separated selectors. Less breaks these into completely separate nodes. Since we don‘t want this duplication in the Sass, we modify the production to keep track of the original group so we can reconstruct it later on.

Methods

External Aliases

build -> build_without_sass

Public Instance methods

build(env, method)

Alias for build_with_sass

[Source]

    # File lib/sass/less.rb, line 74
74:       def build_with_sass(env, method)
75:         arr = build_without_sass(env, method)
76:         return arr if method == :mixin
77:         rarr = arr.map {|e| e.top(env)}
78:         rarr.each {|e| e.group = rarr}
79:         arr
80:       end

[Validate]