aboutsummaryrefslogtreecommitdiffstats
path: root/lib/prism/parse_result.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/prism/parse_result.rb')
-rw-r--r--lib/prism/parse_result.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/prism/parse_result.rb b/lib/prism/parse_result.rb
index 2d9d855b86..fafa1ae15f 100644
--- a/lib/prism/parse_result.rb
+++ b/lib/prism/parse_result.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module YARP
+module Prism
# This represents a source of Ruby code that has been parsed. It is used in
# conjunction with locations to allow them to resolve line numbers and source
# ranges.
@@ -71,7 +71,7 @@ module YARP
# Returns a string representation of this location.
def inspect
- "#<YARP::Location @start_offset=#{@start_offset} @length=#{@length} start_line=#{start_line}>"
+ "#<Prism::Location @start_offset=#{@start_offset} @length=#{@length} start_line=#{start_line}>"
end
# The source code that this location represents.
@@ -162,7 +162,7 @@ module YARP
end
def inspect
- "#<YARP::Comment @type=#{@type.inspect} @location=#{@location.inspect}>"
+ "#<Prism::Comment @type=#{@type.inspect} @location=#{@location.inspect}>"
end
end
@@ -180,7 +180,7 @@ module YARP
end
def inspect
- "#<YARP::ParseError @message=#{@message.inspect} @location=#{@location.inspect}>"
+ "#<Prism::ParseError @message=#{@message.inspect} @location=#{@location.inspect}>"
end
end
@@ -198,7 +198,7 @@ module YARP
end
def inspect
- "#<YARP::ParseWarning @message=#{@message.inspect} @location=#{@location.inspect}>"
+ "#<Prism::ParseWarning @message=#{@message.inspect} @location=#{@location.inspect}>"
end
end