Class: Sass::Tree::Visitors::Cssize::Extend
- Inherits:
- Struct
- Object
- Struct
- Sass::Tree::Visitors::Cssize::Extend
- Defined in:
- /Users/ceppstei/Projects/sass-lang/.sass/lib/sass/tree/visitors/cssize.rb
Overview
A simple struct wrapping up information about a single @extend
instance. A single ExtendNode can have multiple Extends if either the parent node or the extended selector is a comma sequence.
Instance Attribute Summary (collapse)
- - (Array<Sass::Tree::DirectiveNode>) directives protected
The directives containing the
@extend
. - - (Sass::Selector::Sequence) extender protected
The selector of the CSS rule containing the
@extend
. - - (Sass::Tree::ExtendNode) node protected
The node that produced this extend.
- - (Symbol) result protected
The result of this extend.
- - (Array<Sass::Selector::Simple>) target protected
The selector being
@extend
ed.
Instance Attribute Details
- (Array<Sass::Tree::DirectiveNode>) directives (protected)
The directives containing the @extend
.
122 123 124 | # File '/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/tree/visitors/cssize.rb', line 122
def directives
@directives
end |
- (Sass::Selector::Sequence) extender (protected)
The selector of the CSS rule containing the @extend
.
122 123 124 | # File '/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/tree/visitors/cssize.rb', line 122
def extender
@extender
end |
- (Sass::Tree::ExtendNode) node (protected)
The node that produced this extend.
122 123 124 | # File '/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/tree/visitors/cssize.rb', line 122
def node
@node
end |
- (Symbol) result (protected)
The result of this extend. One of :not_found
(the target doesn’t exist in the document), :failed_to_unify
(the target exists but cannot be unified with the extender), or :succeeded
.
122 123 124 | # File '/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/tree/visitors/cssize.rb', line 122
def result
@result
end |
- (Array<Sass::Selector::Simple>) target (protected)
The selector being @extend
ed.
122 123 124 | # File '/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/tree/visitors/cssize.rb', line 122
def target
@target
end |