This represents a warning that was encountered during parsing.

Attributes
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.

Read

The message associated with this warning.

Read

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

Read

The level of this warning.

Class Methods

Create a new warning object with the given message and location.

Instance Methods

Implement the hash pattern matching interface for ParseWarning.

Returns a string representation of this warning.