Skip to content
On this page

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

class · Ruby 3.3

Prism::Location

< Object 17 instance methods 2 class methods

This represents a location in the source.

Class methods 2

Instance methods 17

Attributes
Read

The list of comments attached to this location

Read

The length of this location in bytes.

The byte offset from the beginning of the source where this location starts.