Nashorn API
DRAFT 9-internal+0-2016-01-17-105616.buildd.src
A B C D E F G H I J K L M N O P R S T U V W 

A

AbstractJSObject - Class in jdk.nashorn.api.scripting
This is the base class for nashorn ScriptObjectMirror class.
AbstractJSObject() - Constructor for class jdk.nashorn.api.scripting.AbstractJSObject
 
accept(TreeVisitor<R, D>, D) - Method in interface jdk.nashorn.api.tree.Tree
Accept method used to implement the visitor pattern.
ArrayAccessTree - Interface in jdk.nashorn.api.tree
A tree node for an array access expression.
ArrayLiteralTree - Interface in jdk.nashorn.api.tree
Represents ECMAScript array literal expression.
asInterface() - Method in enum jdk.nashorn.api.tree.Tree.Kind
Returns the associated interface type that uses this kind.
AssignmentTree - Interface in jdk.nashorn.api.tree
A tree node for an assignment expression.

B

BinaryTree - Interface in jdk.nashorn.api.tree
A tree node for a binary expression.
BlockTree - Interface in jdk.nashorn.api.tree
A tree node for a statement block.
BreakTree - Interface in jdk.nashorn.api.tree
A tree node for a 'break' statement.

C

call(Object, Object...) - Method in class jdk.nashorn.api.scripting.AbstractJSObject
Call this object as a JavaScript function.
call(Object, Object...) - Method in interface jdk.nashorn.api.scripting.JSObject
Call this object as a JavaScript function.
call(Object, Object...) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
callMember(String, Object...) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
Call member function
CaseTree - Interface in jdk.nashorn.api.tree
A tree node for a 'case' in a 'switch' statement.
CatchTree - Interface in jdk.nashorn.api.tree
A tree node for a 'catch' block in a 'try' statement.
ClassFilter - Interface in jdk.nashorn.api.scripting
Class filter (optional) to be used by nashorn script engine.
clear() - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
close() - Method in class jdk.nashorn.api.scripting.URLReader
 
CompilationUnitTree - Interface in jdk.nashorn.api.tree
Represents the abstract syntax tree for compilation units (source files)
compile(Reader) - Method in class jdk.nashorn.api.scripting.NashornScriptEngine
 
compile(String) - Method in class jdk.nashorn.api.scripting.NashornScriptEngine
 
CompoundAssignmentTree - Interface in jdk.nashorn.api.tree
A tree node for compound assignment operator.
ConditionalExpressionTree - Interface in jdk.nashorn.api.tree
A tree node for the conditional operator ? :.
ConditionalLoopTree - Interface in jdk.nashorn.api.tree
A mixin for conditional "loop" statements.
containsKey(Object) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
containsValue(Object) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
ContinueTree - Interface in jdk.nashorn.api.tree
A tree node for a 'continue' statement.
convert(Object, Object) - Static method in class jdk.nashorn.api.scripting.ScriptUtils
Convert the given object to the given type.
create(String...) - Static method in interface jdk.nashorn.api.tree.Parser
Factory method to create a new instance of Parser.
createBindings() - Method in class jdk.nashorn.api.scripting.NashornScriptEngine
 

D

DebuggerTree - Interface in jdk.nashorn.api.tree
A tree node for a 'debugger' statement.
delete(Object) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
Delete a property from this object.
Diagnostic - Interface in jdk.nashorn.api.tree
Interface for diagnostics from tools.
Diagnostic.Kind - Enum in jdk.nashorn.api.tree
Kinds of diagnostics, for example, error or warning.
DiagnosticListener - Interface in jdk.nashorn.api.tree
Interface for receiving diagnostics from Nashorn parser.
DoWhileLoopTree - Interface in jdk.nashorn.api.tree
A tree node for a 'do' statement.

E

EmptyStatementTree - Interface in jdk.nashorn.api.tree
A tree node for an empty (skip) statement.
entrySet() - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
equals(Object) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
ErroneousTree - Interface in jdk.nashorn.api.tree
A tree node to stand in for a malformed expression.
eval(Reader, ScriptContext) - Method in class jdk.nashorn.api.scripting.NashornScriptEngine
 
eval(String) - Method in class jdk.nashorn.api.scripting.AbstractJSObject
Evaluate a JavaScript expression.
eval(String) - Method in interface jdk.nashorn.api.scripting.JSObject
Evaluate a JavaScript expression.
eval(String) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
eval(String, ScriptContext) - Method in class jdk.nashorn.api.scripting.NashornScriptEngine
 
exposeToScripts(String) - Method in interface jdk.nashorn.api.scripting.ClassFilter
Should the Java class of the specified name be exposed to scripts?
ExpressionStatementTree - Interface in jdk.nashorn.api.tree
A tree node for an expression statement.
ExpressionTree - Interface in jdk.nashorn.api.tree
A tree node used as the base class for the different types of expressions.

F

ForInLoopTree - Interface in jdk.nashorn.api.tree
A tree node for for..in statement For example:
ForLoopTree - Interface in jdk.nashorn.api.tree
A tree node for a basic 'for' loop statement.
format(String, Object[]) - Static method in class jdk.nashorn.api.scripting.ScriptUtils
Method which converts javascript types to java types for the String.format method (jrunscript function sprintf).
freeze() - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
ECMA 15.2.39 - freeze implementation.
FunctionCallTree - Interface in jdk.nashorn.api.tree
A tree node for a function call expression.
FunctionDeclarationTree - Interface in jdk.nashorn.api.tree
A tree node for a function declaration.
FunctionExpressionTree - Interface in jdk.nashorn.api.tree
A tree node for a function expression.

G

get(Object) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
getArgument() - Method in exception jdk.nashorn.api.tree.UnknownTreeException
Returns the additional argument.
getArguments() - Method in interface jdk.nashorn.api.tree.FunctionCallTree
Returns the list of arguments being passed to this function call.
getBlock() - Method in interface jdk.nashorn.api.tree.CatchTree
Returns the code block of this catch block.
getBlock() - Method in interface jdk.nashorn.api.tree.TryTree
Returns the 'try' block of this 'try' statement.
getBody() - Method in interface jdk.nashorn.api.tree.FunctionDeclarationTree
Returns the body of code of this function.
getBody() - Method in interface jdk.nashorn.api.tree.FunctionExpressionTree
Returns the body of code of this function.
getCases() - Method in interface jdk.nashorn.api.tree.SwitchTree
Returns the list of 'case' statements.
getCatches() - Method in interface jdk.nashorn.api.tree.TryTree
Returns the list of 'catch' statements associated with this 'try'.
getCharset() - Method in class jdk.nashorn.api.scripting.URLReader
Charset used by this reader
getClassName() - Method in class jdk.nashorn.api.scripting.AbstractJSObject
ECMA [[Class]] property
getClassName() - Method in interface jdk.nashorn.api.scripting.JSObject
ECMA [[Class]] property
getClassName() - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
getCode() - Method in interface jdk.nashorn.api.tree.Diagnostic
Gets a diagnostic code indicating the type of diagnostic.
getColumnNumber() - Method in exception jdk.nashorn.api.scripting.NashornException
Get the column for this NashornException
getColumnNumber() - Method in interface jdk.nashorn.api.tree.Diagnostic
Gets the column number of the character offset returned by Diagnostic.getPosition().
getColumnNumber(long) - Method in interface jdk.nashorn.api.tree.LineMap
Find the column for a character position.
getCondition() - Method in interface jdk.nashorn.api.tree.CatchTree
Returns the optional catch condition expression.
getCondition() - Method in interface jdk.nashorn.api.tree.ConditionalExpressionTree
Returns the condition expression of this ternary expression.
getCondition() - Method in interface jdk.nashorn.api.tree.ConditionalLoopTree
Returns the condition expression of this 'loop' statement.
getCondition() - Method in interface jdk.nashorn.api.tree.DoWhileLoopTree
Returns the condition expression of this do-while statement.
getCondition() - Method in interface jdk.nashorn.api.tree.ForLoopTree
Returns the condition expression of this 'for' statement.
getCondition() - Method in interface jdk.nashorn.api.tree.IfTree
Returns the condition expression of this 'if' statement.
getCondition() - Method in interface jdk.nashorn.api.tree.WhileLoopTree
The condition expression of this 'while' statement.
getConstructorExpression() - Method in interface jdk.nashorn.api.tree.NewTree
Returns the constructor expression of this 'new' expression.
getDefaultValue(Class<?>) - Method in interface jdk.nashorn.api.scripting.JSObject
Implements this object's [[DefaultValue]] method as per ECMAScript 5.1 section 8.6.2.
getDefaultValue(Class<?>) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
getDefaultValue(JSObject, Class<?>) - Static method in class jdk.nashorn.api.scripting.AbstractJSObject
Deprecated.
getEcmaError() - Method in exception jdk.nashorn.api.scripting.NashornException
Return the underlying ECMA error object, if available.
getElements() - Method in interface jdk.nashorn.api.tree.ArrayLiteralTree
Returns the list of Array element expressions.
getElseStatement() - Method in interface jdk.nashorn.api.tree.IfTree
Returns the then statement of this 'if' statement.
getEndPosition() - Method in interface jdk.nashorn.api.tree.Tree
End character offset of this Tree within the source.
getEngineName() - Method in class jdk.nashorn.api.scripting.NashornScriptEngineFactory
 
getEngineVersion() - Method in class jdk.nashorn.api.scripting.NashornScriptEngineFactory
 
getExpression() - Method in interface jdk.nashorn.api.tree.ArrayAccessTree
Returns the array that is accessed.
getExpression() - Method in interface jdk.nashorn.api.tree.AssignmentTree
Returns the right hand side (RHS) of this assignment.
getExpression() - Method in interface jdk.nashorn.api.tree.CaseTree
Case expression of this 'case' statement.
getExpression() - Method in interface jdk.nashorn.api.tree.CompoundAssignmentTree
Returns the right hand side (RHS) of this assignment.
getExpression() - Method in interface jdk.nashorn.api.tree.ExpressionStatementTree
Returns the expression of this expression statement.
getExpression() - Method in interface jdk.nashorn.api.tree.ForInLoopTree
The object or array being whose properties are iterated.
getExpression() - Method in interface jdk.nashorn.api.tree.InstanceOfTree
Returns the expression whose type is being checked.
getExpression() - Method in interface jdk.nashorn.api.tree.MemberSelectTree
The object expression whose member is being selected.
getExpression() - Method in interface jdk.nashorn.api.tree.ParenthesizedTree
Returns the expression within the parenthesis.
getExpression() - Method in interface jdk.nashorn.api.tree.ReturnTree
Returns the expression being returned.
getExpression() - Method in interface jdk.nashorn.api.tree.SwitchTree
Returns the expression on which this statement switches.
getExpression() - Method in interface jdk.nashorn.api.tree.ThrowTree
Returns the expression being thrown.
getExpression() - Method in interface jdk.nashorn.api.tree.UnaryTree
Returns the expression operated by the unary operator.
getExtensions() - Method in class jdk.nashorn.api.scripting.NashornScriptEngineFactory
 
getFactory() - Method in class jdk.nashorn.api.scripting.NashornScriptEngine
 
getFalseExpression() - Method in interface jdk.nashorn.api.tree.ConditionalExpressionTree
Returns the false part of this ternary expression.
getFileName() - Method in exception jdk.nashorn.api.scripting.NashornException
Get the source file name for this NashornException
getFileName() - Method in interface jdk.nashorn.api.tree.Diagnostic
Gets the source file name.
getFinallyBlock() - Method in interface jdk.nashorn.api.tree.TryTree
Returns the 'finally' block associated with this 'try'.
getFunctionSelect() - Method in interface jdk.nashorn.api.tree.FunctionCallTree
Returns the function being called.
getGetter() - Method in interface jdk.nashorn.api.tree.PropertyTree
Returns the setter function of this property if this is an accessor property.
getIdentifier() - Method in interface jdk.nashorn.api.tree.MemberSelectTree
Returns the name of the property.
getIndex() - Method in interface jdk.nashorn.api.tree.ArrayAccessTree
Returns the index of the array element accessed.
getInitializer() - Method in interface jdk.nashorn.api.tree.ForLoopTree
Returns the initializer expression of this 'for' statement.
getInitializer() - Method in interface jdk.nashorn.api.tree.VariableTree
Returns the initial value expression for this variable.
getInterface(Class<T>) - Method in class jdk.nashorn.api.scripting.NashornScriptEngine
 
getInterface(Object, Class<T>) - Method in class jdk.nashorn.api.scripting.NashornScriptEngine
 
getKey() - Method in interface jdk.nashorn.api.tree.PropertyTree
Returns the name of this property.
getKind() - Method in interface jdk.nashorn.api.tree.Diagnostic
Gets the kind of this diagnostic, for example, error or warning.
getKind() - Method in interface jdk.nashorn.api.tree.Tree
Gets the kind of this tree.
getLabel() - Method in interface jdk.nashorn.api.tree.BreakTree
Label associated with this break statement.
getLabel() - Method in interface jdk.nashorn.api.tree.ContinueTree
Label associated with this continue statement.
getLabel() - Method in interface jdk.nashorn.api.tree.GotoTree
Label associated with this goto statement.
getLabel() - Method in interface jdk.nashorn.api.tree.LabeledStatementTree
Returns the label associated with this statement.
getLanguageName() - Method in class jdk.nashorn.api.scripting.NashornScriptEngineFactory
 
getLanguageVersion() - Method in class jdk.nashorn.api.scripting.NashornScriptEngineFactory
 
getLeftOperand() - Method in interface jdk.nashorn.api.tree.BinaryTree
Returns left hand side (LHS) of this binary expression.
getLineMap() - Method in interface jdk.nashorn.api.tree.CompilationUnitTree
Returns the line map for this compilation unit, if available.
getLineNumber() - Method in exception jdk.nashorn.api.scripting.NashornException
Get the line number for this NashornException
getLineNumber() - Method in interface jdk.nashorn.api.tree.Diagnostic
Gets the line number of the character offset returned by Diagnostic.getPosition().
getLineNumber(long) - Method in interface jdk.nashorn.api.tree.LineMap
Find the line containing a position; a line termination character is on the line it terminates.
getMember(String) - Method in class jdk.nashorn.api.scripting.AbstractJSObject
Retrieves a named member of this JavaScript object.
getMember(String) - Method in interface jdk.nashorn.api.scripting.JSObject
Retrieves a named member of this JavaScript object.
getMember(String) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
getMessage() - Method in interface jdk.nashorn.api.tree.Diagnostic
Gets a message for this diagnostic.
getMethodCallSyntax(String, String, String...) - Method in class jdk.nashorn.api.scripting.NashornScriptEngineFactory
 
getMimeTypes() - Method in class jdk.nashorn.api.scripting.NashornScriptEngineFactory
 
getName() - Method in interface jdk.nashorn.api.tree.FunctionDeclarationTree
Returns the name of the function being declared.
getName() - Method in interface jdk.nashorn.api.tree.FunctionExpressionTree
Returns the name of the function being declared.
getName() - Method in interface jdk.nashorn.api.tree.IdentifierTree
Returns the name of this identifier.
getName() - Method in interface jdk.nashorn.api.tree.VariableTree
Returns the name of this variable.
getNames() - Method in class jdk.nashorn.api.scripting.NashornScriptEngineFactory
 
getOptions() - Method in interface jdk.nashorn.api.tree.RegExpLiteralTree
Regular expression matching options.
getOutputStatement(String) - Method in class jdk.nashorn.api.scripting.NashornScriptEngineFactory
 
getOwnKeys(boolean) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
return an array of own property keys associated with the object.
getOwnPropertyDescriptor(String) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
ECMA 8.12.1 [[GetOwnProperty]] (P)
getParameter() - Method in interface jdk.nashorn.api.tree.CatchTree
Returns the catch parameter identifier of the exception caught.
getParameter(String) - Method in class jdk.nashorn.api.scripting.NashornScriptEngineFactory
 
getParameters() - Method in interface jdk.nashorn.api.tree.FunctionDeclarationTree
Returns the parameters of this function.
getParameters() - Method in interface jdk.nashorn.api.tree.FunctionExpressionTree
Returns the parameters of this function.
getPattern() - Method in interface jdk.nashorn.api.tree.RegExpLiteralTree
Regular expression pattern to match.
getPosition() - Method in interface jdk.nashorn.api.tree.Diagnostic
Gets a character offset from the beginning of the source object associated with this diagnostic that indicates the location of the problem.
getProgram(String...) - Method in class jdk.nashorn.api.scripting.NashornScriptEngineFactory
 
getProperties() - Method in interface jdk.nashorn.api.tree.ObjectLiteralTree
Returns the list of properties of this object literal.
getProto() - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
Return the __proto__ of this object.
getRightOperand() - Method in interface jdk.nashorn.api.tree.BinaryTree
Returns right hand side (RHS) of this binary expression.
getScope() - Method in interface jdk.nashorn.api.tree.WithTree
The scope object expression for this 'with' statement.
getScriptEngine() - Method in class jdk.nashorn.api.scripting.NashornScriptEngineFactory
 
getScriptEngine(ClassLoader) - Method in class jdk.nashorn.api.scripting.NashornScriptEngineFactory
Create a new Script engine initialized by given class loader.
getScriptEngine(String...) - Method in class jdk.nashorn.api.scripting.NashornScriptEngineFactory
Create a new Script engine initialized by given arguments.
getScriptEngine(String[], ClassLoader) - Method in class jdk.nashorn.api.scripting.NashornScriptEngineFactory
Create a new Script engine initialized by given arguments.
getScriptEngine(String[], ClassLoader, ClassFilter) - Method in class jdk.nashorn.api.scripting.NashornScriptEngineFactory
Create a new Script engine initialized by given arguments.
getScriptEngine(ClassFilter) - Method in class jdk.nashorn.api.scripting.NashornScriptEngineFactory
Create a new Script engine initialized by given class filter.
getScriptFrames(Throwable) - Static method in exception jdk.nashorn.api.scripting.NashornException
Returns array javascript stack frames from the given exception object.
getScriptStackString(Throwable) - Static method in exception jdk.nashorn.api.scripting.NashornException
Return a formatted script stack trace string with frames information separated by '\n'
getSetter() - Method in interface jdk.nashorn.api.tree.PropertyTree
Returns the getter function of this property if this is an accessor property.
getSlot(int) - Method in class jdk.nashorn.api.scripting.AbstractJSObject
Retrieves an indexed member of this JavaScript object.
getSlot(int) - Method in interface jdk.nashorn.api.scripting.JSObject
Retrieves an indexed member of this JavaScript object.
getSlot(int) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
getSourceElements() - Method in interface jdk.nashorn.api.tree.CompilationUnitTree
Return the list of source elements in this compilation unit.
getSourceName() - Method in interface jdk.nashorn.api.tree.CompilationUnitTree
Return the source name of this script compilation unit.
getStartPosition() - Method in interface jdk.nashorn.api.tree.Tree
Start character offset of this Tree within the source.
getStatement() - Method in interface jdk.nashorn.api.tree.DoWhileLoopTree
The statement contained within this do-while statement.
getStatement() - Method in interface jdk.nashorn.api.tree.ForInLoopTree
The statement contained in this for..in statement.
getStatement() - Method in interface jdk.nashorn.api.tree.ForLoopTree
Returns the statement contained in this 'for' statement.
getStatement() - Method in interface jdk.nashorn.api.tree.LabeledStatementTree
Returns the statement being labeled.
getStatement() - Method in interface jdk.nashorn.api.tree.LoopTree
Returns the statement contained in this 'loop' statement.
getStatement() - Method in interface jdk.nashorn.api.tree.WhileLoopTree
The statement contained in this 'while' statement.
getStatement() - Method in interface jdk.nashorn.api.tree.WithTree
The statement contained in this 'with' statement.
getStatements() - Method in interface jdk.nashorn.api.tree.BlockTree
Returns the list of statements in this block.
getStatements() - Method in interface jdk.nashorn.api.tree.CaseTree
Return the list of statements for this 'case'.
getThenStatement() - Method in interface jdk.nashorn.api.tree.IfTree
Returns the 'then' statement of this 'if' statement.
getThrown() - Method in exception jdk.nashorn.api.scripting.NashornException
Get the thrown object.
getTrueExpression() - Method in interface jdk.nashorn.api.tree.ConditionalExpressionTree
Returns the true part of this ternary expression.
getType() - Method in interface jdk.nashorn.api.tree.InstanceOfTree
Returns the type expression.
getUnknownTree() - Method in exception jdk.nashorn.api.tree.UnknownTreeException
Returns the unknown tree.
getUpdate() - Method in interface jdk.nashorn.api.tree.ForLoopTree
Returns the update expression of this 'for' statement.
getURL() - Method in class jdk.nashorn.api.scripting.URLReader
URL of this reader
getValue() - Method in interface jdk.nashorn.api.tree.LiteralTree
Returns the value of this literal.
getValue() - Method in interface jdk.nashorn.api.tree.PropertyTree
Returns the value of this property.
getVariable() - Method in interface jdk.nashorn.api.tree.AssignmentTree
Returns the left hand side (LHS) of this assignment.
getVariable() - Method in interface jdk.nashorn.api.tree.CompoundAssignmentTree
Returns the left hand side (LHS) of this assignment.
getVariable() - Method in interface jdk.nashorn.api.tree.ForInLoopTree
The for..in left hand side expression.
GotoTree - Interface in jdk.nashorn.api.tree
A tree node for a statement that jumps to a target.

H

hashCode() - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
hasMember(String) - Method in class jdk.nashorn.api.scripting.AbstractJSObject
Does this object have a named member?
hasMember(String) - Method in interface jdk.nashorn.api.scripting.JSObject
Does this object have a named member?
hasMember(String) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
hasSlot(int) - Method in class jdk.nashorn.api.scripting.AbstractJSObject
Does this object have a indexed property?
hasSlot(int) - Method in interface jdk.nashorn.api.scripting.JSObject
Does this object have a indexed property?
hasSlot(int) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 

I

identical(Object, Object) - Static method in class jdk.nashorn.api.scripting.ScriptObjectMirror
Are the given objects mirrors to same underlying object?
IdentifierTree - Interface in jdk.nashorn.api.tree
A tree node for an identifier expression.
IfTree - Interface in jdk.nashorn.api.tree
A tree node for an 'if' statement.
initEcmaError(ScriptObject) - Method in exception jdk.nashorn.api.scripting.NashornException
Initialization function for ECMA errors.
InstanceOfTree - Interface in jdk.nashorn.api.tree
A tree node for an 'instanceof' expression.
invokeFunction(String, Object...) - Method in class jdk.nashorn.api.scripting.NashornScriptEngine
 
invokeMethod(Object, String, Object...) - Method in class jdk.nashorn.api.scripting.NashornScriptEngine
 
isArray() - Method in class jdk.nashorn.api.scripting.AbstractJSObject
Is this an array object?
isArray() - Method in interface jdk.nashorn.api.scripting.JSObject
Is this an array object?
isArray() - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
isEmpty() - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
isExpression() - Method in enum jdk.nashorn.api.tree.Tree.Kind
Returns if this is an expression tree kind or not.
isExtensible() - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
Check if this script object is extensible
isForEach() - Method in interface jdk.nashorn.api.tree.ForInLoopTree
Returns if this is a for..each..in statement or not.
isFrozen() - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
Check whether this script object is frozen
isFunction() - Method in class jdk.nashorn.api.scripting.AbstractJSObject
Is this a function object?
isFunction() - Method in interface jdk.nashorn.api.scripting.JSObject
Is this a function object?
isFunction() - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
isInstance(Object) - Method in class jdk.nashorn.api.scripting.AbstractJSObject
Checking whether the given object is an instance of 'this' object.
isInstance(Object) - Method in interface jdk.nashorn.api.scripting.JSObject
Checking whether the given object is an instance of 'this' object.
isInstance(Object) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
isInstanceOf(Object) - Method in class jdk.nashorn.api.scripting.AbstractJSObject
Checking whether this object is an instance of the given 'clazz' object.
isInstanceOf(Object) - Method in interface jdk.nashorn.api.scripting.JSObject
Checking whether this object is an instance of the given 'clazz' object.
isLiteral() - Method in enum jdk.nashorn.api.tree.Tree.Kind
Returns if this is a literal tree kind or not.
isSealed() - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
Check whether this script object is sealed
isStatement() - Method in enum jdk.nashorn.api.tree.Tree.Kind
Returns if this is a statement tree kind or not.
isStrict() - Method in interface jdk.nashorn.api.tree.CompilationUnitTree
Returns if this is a ECMAScript "strict" compilation unit or not.
isStrict() - Method in interface jdk.nashorn.api.tree.FunctionDeclarationTree
Is this a strict function?
isStrict() - Method in interface jdk.nashorn.api.tree.FunctionExpressionTree
Is this a strict function?
isStrictFunction() - Method in class jdk.nashorn.api.scripting.AbstractJSObject
Is this a 'use strict' function object?
isStrictFunction() - Method in interface jdk.nashorn.api.scripting.JSObject
Is this a 'use strict' function object?
isStrictFunction() - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
isUndefined(Object) - Static method in class jdk.nashorn.api.scripting.ScriptObjectMirror
Utility to check if given object is ECMAScript undefined value

J

jdk.nashorn.api.scripting - package jdk.nashorn.api.scripting
This package provides the javax.script integration, which is the preferred way to use Nashorn.
jdk.nashorn.api.tree - package 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.
JSObject - Interface in jdk.nashorn.api.scripting
This interface can be implemented by an arbitrary Java class.

K

keySet() - Method in class jdk.nashorn.api.scripting.AbstractJSObject
Returns the set of all property names of this object.
keySet() - Method in interface jdk.nashorn.api.scripting.JSObject
Returns the set of all property names of this object.
keySet() - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 

L

LabeledStatementTree - Interface in jdk.nashorn.api.tree
A tree node for a labeled statement.
LineMap - Interface in jdk.nashorn.api.tree
Provides methods to convert between character positions and line numbers for a compilation unit.
LiteralTree - Interface in jdk.nashorn.api.tree
A tree node for a literal expression.
LoopTree - Interface in jdk.nashorn.api.tree
A mixin for "loop" statements.

M

makeSynchronizedFunction(ScriptFunction, Object) - Static method in class jdk.nashorn.api.scripting.ScriptUtils
Create a wrapper function that calls func synchronized on sync or, if that is undefined, self.
MemberSelectTree - Interface in jdk.nashorn.api.tree
A tree node for a member access expression.

N

NASHORN_GLOBAL - Static variable in class jdk.nashorn.api.scripting.NashornScriptEngine
Key used to associate Nashorn global object mirror with arbitrary Bindings instance.
NashornException - Exception in jdk.nashorn.api.scripting
This is base exception for all Nashorn exceptions.
NashornException(String, String, int, int) - Constructor for exception jdk.nashorn.api.scripting.NashornException
Constructor
NashornException(String, Throwable) - Constructor for exception jdk.nashorn.api.scripting.NashornException
Constructor
NashornException(String, Throwable, String, int, int) - Constructor for exception jdk.nashorn.api.scripting.NashornException
Constructor
NashornScriptEngine - Class in jdk.nashorn.api.scripting
JSR-223 compliant script engine for Nashorn.
NashornScriptEngineFactory - Class in jdk.nashorn.api.scripting
JSR-223 compliant script engine factory for Nashorn.
NashornScriptEngineFactory() - Constructor for class jdk.nashorn.api.scripting.NashornScriptEngineFactory
 
newObject(Object...) - Method in class jdk.nashorn.api.scripting.AbstractJSObject
Call this 'constructor' JavaScript function to create a new object.
newObject(Object...) - Method in interface jdk.nashorn.api.scripting.JSObject
Call this 'constructor' JavaScript function to create a new object.
newObject(Object...) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
NewTree - Interface in jdk.nashorn.api.tree
A tree node to declare a new instance of a class.
NOPOS - Static variable in interface jdk.nashorn.api.tree.Diagnostic
Used to signal that no position is available.

O

ObjectLiteralTree - Interface in jdk.nashorn.api.tree
Represents ECMAScript object literal expression.

P

ParenthesizedTree - Interface in jdk.nashorn.api.tree
A tree node for a parenthesized expression.
parse(File, DiagnosticListener) - Method in interface jdk.nashorn.api.tree.Parser
Parses the source file and returns compilation unit tree
parse(String, Reader, DiagnosticListener) - Method in interface jdk.nashorn.api.tree.Parser
Parses the reader and returns compilation unit tree
parse(String, String, boolean) - Static method in class jdk.nashorn.api.scripting.ScriptUtils
Returns AST as JSON compatible string.
parse(String, String, DiagnosticListener) - Method in interface jdk.nashorn.api.tree.Parser
Parses the string source and returns compilation unit tree
parse(URL, DiagnosticListener) - Method in interface jdk.nashorn.api.tree.Parser
Parses the source url and returns compilation unit tree
parse(Path, DiagnosticListener) - Method in interface jdk.nashorn.api.tree.Parser
Parses the source Path and returns compilation unit tree
parse(ScriptObjectMirror, DiagnosticListener) - Method in interface jdk.nashorn.api.tree.Parser
Parses the source from script object and returns compilation unit tree
Parser - Interface in jdk.nashorn.api.tree
Represents nashorn ECMAScript parser instance.
preventExtensions() - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
Flag this script object as non extensible
PropertyTree - Interface in jdk.nashorn.api.tree
To represent property setting in an object literal tree.
put(String, Object) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
putAll(Map<? extends String, ? extends Object>) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 

R

read(char[], int, int) - Method in class jdk.nashorn.api.scripting.URLReader
 
RegExpLiteralTree - Interface in jdk.nashorn.api.tree
Represents regular expression literal in the source code.
remove(Object) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
removeMember(String) - Method in class jdk.nashorn.api.scripting.AbstractJSObject
Remove a named member from this JavaScript object
removeMember(String) - Method in interface jdk.nashorn.api.scripting.JSObject
Remove a named member from this JavaScript object
removeMember(String) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
report(Diagnostic) - Method in interface jdk.nashorn.api.tree.DiagnosticListener
Invoked whenever a parsing problem is found.
ReturnTree - Interface in jdk.nashorn.api.tree
A tree node for a 'return' statement.

S

ScriptObjectMirror - Class in jdk.nashorn.api.scripting
Mirror object that wraps a given Nashorn Script object.
ScriptUtils - Class in jdk.nashorn.api.scripting
Utilities that are to be called from script code.
seal() - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
ECMAScript 15.2.3.8 - seal implementation
setColumnNumber(int) - Method in exception jdk.nashorn.api.scripting.NashornException
Set the column for this NashornException
setEcmaError(Object) - Method in exception jdk.nashorn.api.scripting.NashornException
Return the underlying ECMA error object, if available.
setFileName(String) - Method in exception jdk.nashorn.api.scripting.NashornException
Set the source file name for this NashornException
setIndexedPropertiesToExternalArrayData(ByteBuffer) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
Nashorn extension: setIndexedPropertiesToExternalArrayData.
setLineNumber(int) - Method in exception jdk.nashorn.api.scripting.NashornException
Set the line number for this NashornException
setMember(String, Object) - Method in class jdk.nashorn.api.scripting.AbstractJSObject
Set a named member in this JavaScript object
setMember(String, Object) - Method in interface jdk.nashorn.api.scripting.JSObject
Set a named member in this JavaScript object
setMember(String, Object) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
setProto(Object) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
Set the __proto__ of this object.
setSlot(int, Object) - Method in class jdk.nashorn.api.scripting.AbstractJSObject
Set an indexed member in this JavaScript object
setSlot(int, Object) - Method in interface jdk.nashorn.api.scripting.JSObject
Set an indexed member in this JavaScript object
setSlot(int, Object) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
SimpleTreeVisitorES5_1<R,P> - Class in jdk.nashorn.api.tree
A simple implementation of the TreeVisitor for ECMAScript edition 5.1.
SimpleTreeVisitorES5_1() - Constructor for class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
size() - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
StatementTree - Interface in jdk.nashorn.api.tree
A tree node used as the base class for the different kinds of statements.
SwitchTree - Interface in jdk.nashorn.api.tree
A tree node for a 'switch' statement.

T

ThrowTree - Interface in jdk.nashorn.api.tree
A tree node for a 'throw' statement.
to(Class<T>) - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
Utility to convert this script object to the given type.
toNumber() - Method in class jdk.nashorn.api.scripting.AbstractJSObject
Deprecated.
toNumber() - Method in interface jdk.nashorn.api.scripting.JSObject
Deprecated.
toNumber() - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
Deprecated.
toString() - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
Tree - Interface in jdk.nashorn.api.tree
Common interface for all nodes in an abstract syntax tree.
Tree.Kind - Enum in jdk.nashorn.api.tree
Enumerates all kinds of trees.
TreeVisitor<R,P> - Interface in jdk.nashorn.api.tree
A visitor of trees, in the style of the visitor design pattern.
TryTree - Interface in jdk.nashorn.api.tree
A tree node for a 'try' statement.

U

UnaryTree - Interface in jdk.nashorn.api.tree
A tree node for postfix and unary expressions.
UnknownTreeException - Exception in jdk.nashorn.api.tree
Indicates that an unknown kind of Tree was encountered.
UnknownTreeException(Tree, Object) - Constructor for exception jdk.nashorn.api.tree.UnknownTreeException
Creates a new UnknownTreeException.
unwrap(Object) - Static method in class jdk.nashorn.api.scripting.ScriptUtils
Unwrap a script object mirror if needed.
unwrap(Object, Object) - Static method in class jdk.nashorn.api.scripting.ScriptObjectMirror
Unwrap a script object mirror if needed.
unwrapArray(Object[]) - Static method in class jdk.nashorn.api.scripting.ScriptUtils
Unwrap an array of script object mirrors if needed.
unwrapArray(Object[], Object) - Static method in class jdk.nashorn.api.scripting.ScriptObjectMirror
Unwrap an array of script object mirrors if needed.
URLReader - Class in jdk.nashorn.api.scripting
A Reader that reads from a URL.
URLReader(URL) - Constructor for class jdk.nashorn.api.scripting.URLReader
Constructor
URLReader(URL, String) - Constructor for class jdk.nashorn.api.scripting.URLReader
Constructor
URLReader(URL, Charset) - Constructor for class jdk.nashorn.api.scripting.URLReader
Constructor

V

valueOf(String) - Static method in enum jdk.nashorn.api.tree.Diagnostic.Kind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum jdk.nashorn.api.tree.Tree.Kind
Returns the enum constant of this type with the specified name.
values() - Method in class jdk.nashorn.api.scripting.AbstractJSObject
Returns the set of all property values of this object.
values() - Method in interface jdk.nashorn.api.scripting.JSObject
Returns the set of all property values of this object.
values() - Method in class jdk.nashorn.api.scripting.ScriptObjectMirror
 
values() - Static method in enum jdk.nashorn.api.tree.Diagnostic.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum jdk.nashorn.api.tree.Tree.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
VariableTree - Interface in jdk.nashorn.api.tree
A tree node for a variable declaration.
visitArrayAccess(ArrayAccessTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitArrayAccess(ArrayAccessTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit array access expression tree.
visitArrayLiteral(ArrayLiteralTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitArrayLiteral(ArrayLiteralTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit array literal expression tree.
visitAssignment(AssignmentTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitAssignment(AssignmentTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit assignment tree.
visitBinary(BinaryTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitBinary(BinaryTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit binary expression tree.
visitBlock(BlockTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitBlock(BlockTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit block statement tree.
visitBreak(BreakTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitBreak(BreakTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit break statement tree.
visitCase(CaseTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitCase(CaseTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit case statement tree.
visitCatch(CatchTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitCatch(CatchTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit catch block statement tree.
visitCompilationUnit(CompilationUnitTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitCompilationUnit(CompilationUnitTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit compilation unit tree.
visitCompoundAssignment(CompoundAssignmentTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitCompoundAssignment(CompoundAssignmentTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit compound assignment tree.
visitConditionalExpression(ConditionalExpressionTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitConditionalExpression(ConditionalExpressionTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit conditional expression tree.
visitContinue(ContinueTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitContinue(ContinueTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit continue statement tree.
visitDebugger(DebuggerTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitDebugger(DebuggerTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit debugger statement tree.
visitDoWhileLoop(DoWhileLoopTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitDoWhileLoop(DoWhileLoopTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit do-while statement tree.
visitEmptyStatement(EmptyStatementTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitEmptyStatement(EmptyStatementTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit an empty statement tree.
visitErroneous(ErroneousTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitErroneous(ErroneousTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit error expression tree.
visitExpressionStatement(ExpressionStatementTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitExpressionStatement(ExpressionStatementTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit expression statement tree.
visitForInLoop(ForInLoopTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitForInLoop(ForInLoopTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit for..in statement tree.
visitForLoop(ForLoopTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitForLoop(ForLoopTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit 'for' statement tree.
visitFunctionCall(FunctionCallTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitFunctionCall(FunctionCallTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit function call expression tree.
visitFunctionDeclaration(FunctionDeclarationTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitFunctionDeclaration(FunctionDeclarationTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit function declaration tree.
visitFunctionExpression(FunctionExpressionTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitFunctionExpression(FunctionExpressionTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit function expression tree.
visitIdentifier(IdentifierTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitIdentifier(IdentifierTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit identifier tree.
visitIf(IfTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitIf(IfTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit 'if' statement tree.
visitInstanceOf(InstanceOfTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitInstanceOf(InstanceOfTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit 'instanceof' expression tree.
visitLabeledStatement(LabeledStatementTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitLabeledStatement(LabeledStatementTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit labeled statement tree.
visitLiteral(LiteralTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitLiteral(LiteralTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit literal expression tree.
visitMemberSelect(MemberSelectTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitMemberSelect(MemberSelectTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit member select expression tree.
visitNew(NewTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitNew(NewTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit 'new' expression tree.
visitObjectLiteral(ObjectLiteralTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitObjectLiteral(ObjectLiteralTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit object literal tree.
visitParenthesized(ParenthesizedTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitParenthesized(ParenthesizedTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit parenthesized expression tree.
visitProperty(PropertyTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitProperty(PropertyTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit a property of an object literal expression tree.
visitRegExpLiteral(RegExpLiteralTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitRegExpLiteral(RegExpLiteralTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit regular expression literal tree.
visitReturn(ReturnTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitReturn(ReturnTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit return statement tree.
visitSwitch(SwitchTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitSwitch(SwitchTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit 'switch' statement tree.
visitThrow(ThrowTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitThrow(ThrowTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit 'throw' expression tree.
visitTry(TryTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitTry(TryTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit 'try' statement tree.
visitUnary(UnaryTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitUnary(UnaryTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit unary expression tree.
visitUnknown(Tree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitUnknown(Tree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit unknown expression/statement tree.
visitVariable(VariableTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitVariable(VariableTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit variable declaration tree.
visitWhileLoop(WhileLoopTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitWhileLoop(WhileLoopTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit 'while' statement tree.
visitWith(WithTree, P) - Method in class jdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitWith(WithTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
Visit 'with' statement tree.

W

WhileLoopTree - Interface in jdk.nashorn.api.tree
A tree node for a 'while' loop statement.
WithTree - Interface in jdk.nashorn.api.tree
A tree node for a 'with' statement.
wrap(Object, Object) - Static method in class jdk.nashorn.api.scripting.ScriptObjectMirror
Make a script object mirror on given object if needed.
wrap(ScriptObject) - Static method in class jdk.nashorn.api.scripting.ScriptUtils
Make a script object mirror on given object if needed.
wrapArray(Object[]) - Static method in class jdk.nashorn.api.scripting.ScriptUtils
Wrap an array of object to script object mirrors if needed.
wrapArray(Object[], Object) - Static method in class jdk.nashorn.api.scripting.ScriptObjectMirror
Wrap an array of object to script object mirrors if needed.
wrapAsJSONCompatible(Object, Object) - Static method in class jdk.nashorn.api.scripting.ScriptObjectMirror
Make a script object mirror on given object if needed.
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links
Nashorn API
DRAFT 9-internal+0-2016-01-17-105616.buildd.src


Copyright © 2014, 2016, Oracle and/or its affiliates. All rights reserved.

DRAFT 9-internal+0-2016-01-17-105616.buildd.src