Class: Yass::StyleQuery::Not

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

Constant Summary collapse

RUBY_METHODS =
%i(kind style_query).freeze

Instance Method Summary collapse

Methods included from Node

#to_h

Instance Method Details

#accept(visitor) ⇒ Object



38
39
40
# File 'lib/yass/rules.rb', line 38

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

#kindObject



42
43
44
# File 'lib/yass/rules.rb', line 42

def kind
  :not
end