Skip to content
class method

Prism::Location.new

new(source, start_offset, length)

Create a new location object with the given source, start byte offset, and byte length.

See also #== #adjoin also in 3.4 · 3.3