Class Sass::Selector::Parent
In: lib/sass/selector.rb
Parent: Simple

A parent-referencing selector (`&` in Sass). The function of this is to be replaced by the parent selector in the nested hierarchy.

Methods

new   to_s   unify  

Attributes

suffix  [R]  The identifier following the `&`. `nil` indicates no suffix.

@return [String, nil]

Public Class methods

@param name [String, nil] See \{suffix}

Public Instance methods

@see Selector#to_s

Always raises an exception.

@raise [Sass::SyntaxError] Parent selectors should be resolved before unification @see Selector#unify

[Validate]