CodeQL library for Ruby
codeql/ruby-all 2.0.4-dev (changelog, source)
Search

Class Diagnostic

A diagnostic emitted during extraction, such as a parse error

Import path

import codeql.ruby.Diagnostics

Direct supertypes

Known direct subtypes

Fields

Predicates

getFullMessage

Gets the full error message text associated with this diagnostic.

getLocation

Gets the source location of this diagnostic.

getMessage

Gets the error message text associated with this diagnostic.

getSeverity

Gets the numerical severity level associated with this diagnostic.

getSeverityText

Gets a string representation of the severity of this diagnostic.

getTag

Gets the error code associated with this diagnostic, e.g. parse_error.

toString

Gets a textual representation of this diagnostic.

Charpred