Class: Yass::Declarations::Calc::Negate

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

Constant Summary collapse

RUBY_METHODS =
%i(children kind).freeze

Instance Method Summary collapse

Methods included from Node

#to_h

Instance Method Details

#accept(visitor) ⇒ Object



1541
1542
1543
# File 'lib/yass/declarations.rb', line 1541

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

#kindObject



1545
1546
1547
# File 'lib/yass/declarations.rb', line 1545

def kind
  :negate
end