Module: Sass::Selector
- Defined in:
- /Users/ceppstei/Projects/sass-lang/.sass/lib/sass/selector.rb,
/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/selector/abstract_sequence.rb,
/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/selector/comma_sequence.rb,
/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/selector/pseudo.rb,
/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/selector/sequence.rb,
/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/selector/simple.rb,
/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/selector/simple_sequence.rb
Overview
A namespace for nodes in the parse tree for selectors.
CommaSequence is the toplevel selector, representing a comma-separated sequence of Sequences, such as foo bar, baz bang
. Sequence is the next level, representing SimpleSequences separated by combinators (e.g. descendant or child), such as foo bar
or foo > bar baz
. SimpleSequence is a sequence of selectors that all apply to a single element, such as foo.bar[attr=val]
. Finally, Simple is the superclass of the simplest selectors, such as .foo
or #bar
.
Defined Under Namespace
Classes: AbstractSequence, Attribute, Class, CommaSequence, Element, Id, Parent, Placeholder, Pseudo, Sequence, Simple, SimpleSequence, Universal