## Uses of Class
jdk.nashorn.api.tree.Diagnostic.Kind

- Packages that use Diagnostic.Kind
  Package | Description
  --- | ---
  jdk.nashorn.api.tree | Nashorn parser API provides interfaces to represent ECMAScript source code as abstract syntax trees (AST) and Parser to parse ECMAScript source scripts.

- - ### Uses of Diagnostic.Kind in jdk.nashorn.api.tree

    Methods in jdk.nashorn.api.tree that return Diagnostic.Kind
    Modifier and Type | Method | Description
    --- | --- | ---
    `Diagnostic.Kind` | Diagnostic.`getKind​()` | Gets the kind of this diagnostic, for example, error or warning.
    `static Diagnostic.Kind` | Diagnostic.Kind.`valueOf​(String name)` | Returns the enum constant of this type with the specified name.
    `static Diagnostic.Kind[]` | Diagnostic.Kind.`values​()` | Returns an array containing the constants of this enum type, in the order they are declared.