Class Sass::Selector::CommaSequence
In: lib/sass/selector/comma_sequence.rb
Parent: AbstractSequence

A comma-separated sequence of selectors.

Methods

Attributes

members  [R]  The comma-separated selector sequences represented by this class.

@return [Array<Sequence>]

Public Class methods

@param seqs [Array<Sequence>] See \{members}

Public Instance methods

Non-destrucively extends this selector with the extensions specified in a hash (which should be populated via {Sass::Tree::Node#cssize}).

@todo Link this to the reference documentation on `@extend`

  when such a thing exists.

@param extends [Haml::Util::SubsetMap{Selector::Simple => Selector::Sequence}]

  The extensions to perform on this selector

@return [CommaSequence] A copy of this selector,

  with extensions made according to `extends`

Returns a string representation of the sequence. This is basically the selector string.

@return [String]

Resolves the {Parent} selectors within this selector by replacing them with the given parent selector, handling commas appropriately.

@param super_cseq [CommaSequence] The parent selector @return [CommaSequence] This selector, with parent references resolved @raise [Sass::SyntaxError] If a parent selector is invalid

[Validate]