Uses of Class
jdk.nashorn.api.scripting.ScriptObjectMirror
-
Packages that use ScriptObjectMirror Package Description jdk.nashorn.api.scripting This package provides thejavax.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 ScriptObjectMirror
ScriptObjectMirror. freeze()
ECMA 15.2.39 - freeze implementation.ScriptObjectMirror
ScriptObjectMirror. preventExtensions()
Flag this script object as non extensibleScriptObjectMirror
ScriptObjectMirror. seal()
ECMAScript 15.2.3.8 - seal implementationstatic ScriptObjectMirror
ScriptUtils. wrap(Object obj)
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 CompilationUnitTree
Parser. parse(ScriptObjectMirror scriptObj, DiagnosticListener listener)
Parses the source from script object and returns compilation unit tree
-