Skip to content
On this page

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

class · Ruby 3.4

Prism::MagicComment

< Object 4 instance methods 1 class methods

This represents a magic comment that was encountered during parsing.

Class methods 1

Instance methods 4

Attributes
Read

A Location object representing the location of the key in the source.

Read

A Location object representing the location of the value in the source.