Skip to content
On this page
class · Ruby 4.0

Prism::ParseWarning

< Object 2 instance methods 1 class methods

This represents a warning that was encountered during parsing.

Class methods 1

Instance methods 2

Attributes
Read

The level of this warning.

Read

A Location object representing the location of this warning in the source.

Read

The message associated with this warning.

Read

The type of warning. This is an internal symbol that is used for communicating with translation layers. It is not meant to be public API.