Uses of Class
jdk.nashorn.api.scripting.ScriptObjectMirror
| Package | Description |
|---|---|
| jdk.nashorn.api.scripting |
This package provides the
javax.script integration, which is the preferred way to use Nashorn. |
| 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 ScriptObjectMirror in jdk.nashorn.api.scripting
Methods in jdk.nashorn.api.scripting that return ScriptObjectMirror Modifier and Type Method Description ScriptObjectMirrorScriptObjectMirror. freeze()Deprecated, for removal: This API element is subject to removal in a future version.ECMA 15.2.39 - freeze implementation.ScriptObjectMirrorScriptObjectMirror. preventExtensions()Deprecated, for removal: This API element is subject to removal in a future version.Flag this script object as non extensibleScriptObjectMirrorScriptObjectMirror. seal()Deprecated, for removal: This API element is subject to removal in a future version.ECMAScript 15.2.3.8 - seal implementationstatic ScriptObjectMirrorScriptUtils. wrap(Object obj)Deprecated, for removal: This API element is subject to removal in a future version.Make a script object mirror on given object if needed. -
Uses of ScriptObjectMirror in jdk.nashorn.api.tree
Methods in jdk.nashorn.api.tree with parameters of type ScriptObjectMirror Modifier and Type Method Description CompilationUnitTreeParser. parse(ScriptObjectMirror scriptObj, DiagnosticListener listener)Deprecated, for removal: This API element is subject to removal in a future version.Parses the source from script object and returns compilation unit tree