Class: Yass::Declarations::Calc::Product

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



1555
1556
1557
# File 'lib/yass/declarations.rb', line 1555

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

#kindObject



1559
1560
1561
# File 'lib/yass/declarations.rb', line 1559

def kind
  :product
end