Class: Yass::Declarations::WithVariables

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

Constant Summary collapse

RUBY_METHODS =
%i(kind value).freeze

Instance Method Summary collapse

Methods included from Node

#to_h

Instance Method Details

#accept(visitor) ⇒ Object



7798
7799
7800
# File 'lib/yass/declarations.rb', line 7798

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

#kindObject



7802
7803
7804
# File 'lib/yass/declarations.rb', line 7802

def kind
  :with_variables
end