gems.sass-3.5.5.lib.sass.script.tree.selector.rb Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sass-maven-plugin Show documentation
Show all versions of sass-maven-plugin Show documentation
A Maven Plugin that compiles Sass files.
module Sass::Script::Tree
# A SassScript node that will resolve to the current selector.
class Selector < Node
def initialize; end
def children
[]
end
def to_sass(opts = {})
'&'
end
def deep_copy
dup
end
protected
def _perform(environment)
selector = environment.selector
return opts(Sass::Script::Value::Null.new) unless selector
opts(selector.to_sass_script)
end
end
end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy