Class: Dommy::Internal::CSS::Parser::Selector
- Inherits:
-
Struct
- Object
- Struct
- Dommy::Internal::CSS::Parser::Selector
- Defined in:
- lib/dommy/internal/css/parser.rb
Overview
One comma branch of a selector list. specificity is the
Selectors L4 [A, B, C] triple computed from Dommy's AST.
Instance Attribute Summary collapse
-
#ast ⇒ Object
Returns the value of attribute ast.
-
#specificity ⇒ Object
Returns the value of attribute specificity.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Attribute Details
#ast ⇒ Object
Returns the value of attribute ast
19 20 21 |
# File 'lib/dommy/internal/css/parser.rb', line 19 def ast @ast end |
#specificity ⇒ Object
Returns the value of attribute specificity
19 20 21 |
# File 'lib/dommy/internal/css/parser.rb', line 19 def specificity @specificity end |
#text ⇒ Object
Returns the value of attribute text
19 20 21 |
# File 'lib/dommy/internal/css/parser.rb', line 19 def text @text end |