Class: Yass::Selector::Negation

Inherits:
Object
  • Object
show all
Includes:
Node
Defined in:
lib/yass/selectors.rb

Constant Summary collapse

RUBY_METHODS =
%i(kind selectors).freeze

Instance Method Summary collapse

Methods included from Node

#to_h

Instance Method Details

#accept(visitor) ⇒ Object



204
205
206
# File 'lib/yass/selectors.rb', line 204

def accept(visitor)
  visitor.visit_selector_negation(self)
end

#kindObject



208
209
210
# File 'lib/yass/selectors.rb', line 208

def kind
  :negation
end