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.
|
Modifier and Type | Method and 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.
|
Copyright © 2014, 2015, Oracle and/or its affiliates. All rights reserved.
DRAFT internal-b94