Class: LightningcssRb::AST::Selectors::Combinator
- Defined in:
- lib/lightningcss_rb/ast/selectors/combinator.rb
Constant Summary collapse
- STRINGS =
{ "descendant" => " ", "child" => " > ", "next-sibling" => " + ", "later-sibling" => " ~ ", "pseudo-element" => "", "slot-assignment" => "", "part" => "", "deep-descendant" => " >>> ", "deep" => " /deep/ " }.freeze
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
from_ast, #initialize, node_attr_reader, #to_s
Constructor Details
This class inherits a constructor from LightningcssRb::AST::Selectors::Base
Instance Method Details
#to_css ⇒ Object
21 |
# File 'lib/lightningcss_rb/ast/selectors/combinator.rb', line 21 def to_css = STRINGS.fetch(value, " ") |