Class: Yass::Declarations::Transform::Translate

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

Constant Summary collapse

RUBY_METHODS =
%i(kind x y).freeze

Instance Method Summary collapse

Methods included from Node

#to_h

Instance Method Details

#accept(visitor) ⇒ Object



7181
7182
7183
# File 'lib/yass/declarations.rb', line 7181

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

#kindObject



7185
7186
7187
# File 'lib/yass/declarations.rb', line 7185

def kind
  :translate
end