Class: Yass::SourceLocation

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

Constant Summary collapse

RUBY_METHODS =
%i(column kind line).freeze

Instance Method Summary collapse

Methods included from Node

#to_h

Instance Method Details

#accept(visitor) ⇒ Object



23
24
25
# File 'lib/yass/general.rb', line 23

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

#kindObject



27
28
29
# File 'lib/yass/general.rb', line 27

def kind
  :source_location
end