Skip to content
instance method

Prism::Translation::Parser#warning_diagnostic

warning_diagnostic(warning, offset_cache)

Build a diagnostic from the given prism parse warning.

See also #valid_warning? #valid_error? also in 3.4