A B C D E F G H I J K L M N O P R S T U V W X Y 
All Classes All Packages

A

AbstractJSObject - Class in org.openjdk.nashorn.api.scripting
This is the base class for nashorn ScriptObjectMirror class.
AbstractJSObject() - Constructor for class org.openjdk.nashorn.api.scripting.AbstractJSObject
The default constructor.
accept(TreeVisitor<R, D>, D) - Method in interface org.openjdk.nashorn.api.tree.Tree
Accept method used to implement the visitor pattern.
AND - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing bitwise and logical "and" &.
AND_ASSIGNMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of CompoundAssignmentTree representing bitwise and logical "and" assignment &=.
ARRAY_ACCESS - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of ArrayAccessTree.
ARRAY_LITERAL - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of ArrayLiteralTree.
ArrayAccessTree - Interface in org.openjdk.nashorn.api.tree
A tree node for an array access expression.
ArrayLiteralTree - Interface in org.openjdk.nashorn.api.tree
Represents ECMAScript array literal expression.
asInterface() - Method in enum org.openjdk.nashorn.api.tree.Tree.Kind
Returns the associated interface type that uses this kind.
ASSIGNMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of AssignmentTree.
AssignmentTree - Interface in org.openjdk.nashorn.api.tree
A tree node for an assignment expression.

B

BinaryTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a binary expression.
BITWISE_COMPLEMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of UnaryTree representing bitwise complement operator ~.
BLOCK - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BlockTree.
BlockTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a statement block.
BOOLEAN_LITERAL - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of LiteralTree representing a boolean literal expression of type boolean.
BREAK - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BreakTree.
BreakTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a 'break' statement.

C

call(Object, Object...) - Method in class org.openjdk.nashorn.api.scripting.AbstractJSObject
 
call(Object, Object...) - Method in interface org.openjdk.nashorn.api.scripting.JSObject
Call this object as a JavaScript function.
call(Object, Object...) - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
callMember(String, Object...) - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
Call member function
CASE - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of CaseTree.
CaseTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a 'case' in a 'switch' statement.
CATCH - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of CatchTree.
CatchTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a 'catch' block in a 'try' statement.
CLASS - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of ClassDeclarationTree.
CLASS_EXPRESSION - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of ClassExpressionTree.
ClassDeclarationTree - Interface in org.openjdk.nashorn.api.tree
A tree node that represents a class declaration.
ClassExpressionTree - Interface in org.openjdk.nashorn.api.tree
A tree node that represents a class expression.
ClassFilter - Interface in org.openjdk.nashorn.api.scripting
Class filter (optional) to be used by nashorn script engine.
clear() - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
close() - Method in class org.openjdk.nashorn.api.scripting.URLReader
 
COMMA - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing comma ,.
COMPILATION_UNIT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of CompilationUnitTree.
CompilationUnitTree - Interface in org.openjdk.nashorn.api.tree
Represents the abstract syntax tree for compilation units (source files)
compile(Reader) - Method in class org.openjdk.nashorn.api.scripting.NashornScriptEngine
 
compile(String) - Method in class org.openjdk.nashorn.api.scripting.NashornScriptEngine
 
CompoundAssignmentTree - Interface in org.openjdk.nashorn.api.tree
A tree node for compound assignment operator.
CONDITIONAL_AND - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing conditional-and &&.
CONDITIONAL_EXPRESSION - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of ConditionalExpressionTree.
CONDITIONAL_OR - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing conditional-or ||.
ConditionalExpressionTree - Interface in org.openjdk.nashorn.api.tree
A tree node for the conditional operator ? :.
ConditionalLoopTree - Interface in org.openjdk.nashorn.api.tree
A mixin for conditional "loop" statements.
containsKey(Object) - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
containsValue(Object) - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
CONTINUE - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of ContinueTree.
ContinueTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a 'continue' statement.
convert(Object, Object) - Static method in class org.openjdk.nashorn.api.scripting.ScriptUtils
Convert the given object to the given type.
create(String...) - Static method in interface org.openjdk.nashorn.api.tree.Parser
Factory method to create a new instance of Parser.
createBindings() - Method in class org.openjdk.nashorn.api.scripting.NashornScriptEngine
 

D

DEBUGGER - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of DebuggerTree.
DebuggerTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a 'debugger' statement.
delete(Object) - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
Delete a property from this object.
DELETE - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of UnaryTree representing logical delete operator delete.
Diagnostic - Interface in org.openjdk.nashorn.api.tree
Interface for diagnostics from tools.
Diagnostic.Kind - Enum in org.openjdk.nashorn.api.tree
Kinds of diagnostics, for example, error or warning.
DiagnosticListener - Interface in org.openjdk.nashorn.api.tree
Interface for receiving diagnostics from Nashorn parser.
DIVIDE - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing division /.
DIVIDE_ASSIGNMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of CompoundAssignmentTree representing division assignment /=.
DO_WHILE_LOOP - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of DoWhileLoopTree.
DoWhileLoopTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a 'do' statement.

E

EMPTY_STATEMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of EmptyStatementTree.
EmptyStatementTree - Interface in org.openjdk.nashorn.api.tree
A tree node for an empty (skip) statement.
entrySet() - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
EQUAL_TO - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing equal-to ==.
equals(Object) - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
ErroneousTree - Interface in org.openjdk.nashorn.api.tree
A tree node to stand in for a malformed expression.
ERROR - org.openjdk.nashorn.api.tree.Diagnostic.Kind
Problem which prevents the tool's normal completion.
ERROR - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of ErroneousTree.
eval(Reader, ScriptContext) - Method in class org.openjdk.nashorn.api.scripting.NashornScriptEngine
 
eval(String) - Method in class org.openjdk.nashorn.api.scripting.AbstractJSObject
 
eval(String) - Method in interface org.openjdk.nashorn.api.scripting.JSObject
Evaluate a JavaScript expression.
eval(String) - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
eval(String, ScriptContext) - Method in class org.openjdk.nashorn.api.scripting.NashornScriptEngine
 
EXPORT_ENTRY - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of ExportEntryTree.
ExportEntryTree - Interface in org.openjdk.nashorn.api.tree
A Tree node for export entry in Module information.
exposeToScripts(String) - Method in interface org.openjdk.nashorn.api.scripting.ClassFilter
Should the Java class of the specified name be exposed to scripts?
EXPRESSION_STATEMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of ExpressionStatementTree.
ExpressionStatementTree - Interface in org.openjdk.nashorn.api.tree
A tree node for an expression statement.
ExpressionTree - Interface in org.openjdk.nashorn.api.tree
A tree node used as the base class for the different types of expressions.

F

FOR_IN_LOOP - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of ForInLoopTree.
FOR_LOOP - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of ForLoopTree.
ForInLoopTree - Interface in org.openjdk.nashorn.api.tree
A tree node for for..in statement For example:
ForLoopTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a basic 'for' loop statement.
format(String, Object[]) - Static method in class org.openjdk.nashorn.api.scripting.ScriptUtils
Method which converts javascript types to java types for the String.format method (jrunscript function sprintf).
ForOfLoopTree - Interface in org.openjdk.nashorn.api.tree
A tree node for for..of statement.
freeze() - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
ECMA 15.2.39 - freeze implementation.
FUNCTION - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of FunctionDeclarationTree.
FUNCTION_EXPRESSION - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of FunctionExpressionTree.
FUNCTION_INVOCATION - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of FunctionCallTree.
FunctionCallTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a function call expression.
FunctionDeclarationTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a function declaration.
FunctionExpressionTree - Interface in org.openjdk.nashorn.api.tree
A tree node for function expressions including arrow functions.

G

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

H

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

I

identical(Object, Object) - Static method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
Are the given objects mirrors to same underlying object?
IDENTIFIER - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of IdentifierTree.
IdentifierTree - Interface in org.openjdk.nashorn.api.tree
A tree node for an identifier expression.
IF - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of IfTree.
IfTree - Interface in org.openjdk.nashorn.api.tree
A tree node for an 'if' statement.
IMPORT_ENTRY - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of ImportEntryTree.
ImportEntryTree - Interface in org.openjdk.nashorn.api.tree
A Tree node for import entry of Module information.
IN - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing in operator in.
INSTANCE_OF - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of InstanceOfTree.
InstanceOfTree - Interface in org.openjdk.nashorn.api.tree
A tree node for an 'instanceof' expression.
invokeFunction(String, Object...) - Method in class org.openjdk.nashorn.api.scripting.NashornScriptEngine
 
invokeMethod(Object, String, Object...) - Method in class org.openjdk.nashorn.api.scripting.NashornScriptEngine
 
isArray() - Method in class org.openjdk.nashorn.api.scripting.AbstractJSObject
 
isArray() - Method in interface org.openjdk.nashorn.api.scripting.JSObject
Is this an array object?
isArray() - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
isArrow() - Method in interface org.openjdk.nashorn.api.tree.FunctionExpressionTree
Is this a arrow function?
isComputed() - Method in interface org.openjdk.nashorn.api.tree.PropertyTree
Is this a computed property?
isConst() - Method in interface org.openjdk.nashorn.api.tree.VariableTree
Is this a const declaration?
isDefault() - Method in interface org.openjdk.nashorn.api.tree.IdentifierTree
Is this "default" used in module export entry?
isEmpty() - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
isExpression() - Method in enum org.openjdk.nashorn.api.tree.Tree.Kind
Returns if this is an expression tree kind or not.
isExtensible() - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
Check if this script object is extensible
isForEach() - Method in interface org.openjdk.nashorn.api.tree.ForInLoopTree
Returns if this is a for..each..in statement or not.
isFrozen() - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
Check whether this script object is frozen
isFunction() - Method in class org.openjdk.nashorn.api.scripting.AbstractJSObject
 
isFunction() - Method in interface org.openjdk.nashorn.api.scripting.JSObject
Is this a function object?
isFunction() - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
isGenerator() - Method in interface org.openjdk.nashorn.api.tree.FunctionDeclarationTree
Is this a generator function?
isGenerator() - Method in interface org.openjdk.nashorn.api.tree.FunctionExpressionTree
Is this a generator function?
isInstance(Object) - Method in class org.openjdk.nashorn.api.scripting.AbstractJSObject
 
isInstance(Object) - Method in interface org.openjdk.nashorn.api.scripting.JSObject
Checking whether the given object is an instance of 'this' object.
isInstance(Object) - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
isInstanceOf(Object) - Method in class org.openjdk.nashorn.api.scripting.AbstractJSObject
 
isInstanceOf(Object) - Method in interface org.openjdk.nashorn.api.scripting.JSObject
Checking whether this object is an instance of the given 'clazz' object.
isLet() - Method in interface org.openjdk.nashorn.api.tree.VariableTree
Is this a let declaration?
isLiteral() - Method in enum org.openjdk.nashorn.api.tree.Tree.Kind
Returns if this is a literal tree kind or not.
isRestParameter() - Method in interface org.openjdk.nashorn.api.tree.IdentifierTree
Is this a rest parameter for a function or rest elements of an array?
isSealed() - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
Check whether this script object is sealed
isStar() - Method in interface org.openjdk.nashorn.api.tree.IdentifierTree
Is this "*" used in module export entry?
isStar() - Method in interface org.openjdk.nashorn.api.tree.YieldTree
Is this a yield * expression in a generator function? For example:
isStarDefaultStar() - Method in interface org.openjdk.nashorn.api.tree.IdentifierTree
Is this "*default*" used in module export entry?
isStatement() - Method in enum org.openjdk.nashorn.api.tree.Tree.Kind
Returns if this is a statement tree kind or not.
isStatic() - Method in interface org.openjdk.nashorn.api.tree.PropertyTree
Is this a class static property?
isStrict() - Method in interface org.openjdk.nashorn.api.tree.CompilationUnitTree
Returns if this is a ECMAScript "strict" compilation unit or not.
isStrict() - Method in interface org.openjdk.nashorn.api.tree.FunctionDeclarationTree
Is this a strict function?
isStrict() - Method in interface org.openjdk.nashorn.api.tree.FunctionExpressionTree
Is this a strict function?
isStrictFunction() - Method in class org.openjdk.nashorn.api.scripting.AbstractJSObject
 
isStrictFunction() - Method in interface org.openjdk.nashorn.api.scripting.JSObject
Is this a 'use strict' function object?
isStrictFunction() - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
isSuper() - Method in interface org.openjdk.nashorn.api.tree.IdentifierTree
Is this super identifier?
isThis() - Method in interface org.openjdk.nashorn.api.tree.IdentifierTree
Is this 'this' identifier?
isUndefined(Object) - Static method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
Utility to check if given object is ECMAScript undefined value

J

JSObject - Interface in org.openjdk.nashorn.api.scripting
This interface can be implemented by an arbitrary Java class.

K

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

L

LABELED_STATEMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of LabeledStatementTree.
LabeledStatementTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a labeled statement.
LEFT_SHIFT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing left shift <<.
LEFT_SHIFT_ASSIGNMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of CompoundAssignmentTree representing left shift assignment <<=.
LESS_THAN - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing less-than <.
LESS_THAN_EQUAL - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing less-than-equal <=.
LineMap - Interface in org.openjdk.nashorn.api.tree
Provides methods to convert between character positions and line numbers for a compilation unit.
LiteralTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a literal expression.
LOGICAL_COMPLEMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of UnaryTree representing logical complement operator !.
LoopTree - Interface in org.openjdk.nashorn.api.tree
A mixin for "loop" statements.

M

makeSynchronizedFunction(Object, Object) - Static method in class org.openjdk.nashorn.api.scripting.ScriptUtils
Create a wrapper function that calls func synchronized on sync or, if that is undefined, self.
MANDATORY_WARNING - org.openjdk.nashorn.api.tree.Diagnostic.Kind
Problem similar to a warning, but is mandated by the tool's specification.
MEMBER_SELECT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of MemberSelectTree.
MemberSelectTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a member access expression.
MINUS - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing subtraction -.
MINUS_ASSIGNMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of CompoundAssignmentTree representing subtraction assignment -=.
MODULE - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of ModuleTree.
ModuleTree - Interface in org.openjdk.nashorn.api.tree
A Tree node for Module information.
MULTIPLY - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing multiplication *.
MULTIPLY_ASSIGNMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of CompoundAssignmentTree representing multiplication assignment *=.

N

NASHORN_GLOBAL - Static variable in class org.openjdk.nashorn.api.scripting.NashornScriptEngine
Key used to associate Nashorn global object mirror with arbitrary Bindings instance.
NashornException - Exception in org.openjdk.nashorn.api.scripting
This is base exception for all Nashorn exceptions.
NashornException(String, String, int, int) - Constructor for exception org.openjdk.nashorn.api.scripting.NashornException
Constructor to initialize error message, file name, line and column numbers.
NashornException(String, Throwable) - Constructor for exception org.openjdk.nashorn.api.scripting.NashornException
Constructor to initialize error message and cause exception.
NashornException(String, Throwable, String, int, int) - Constructor for exception org.openjdk.nashorn.api.scripting.NashornException
Constructor to initialize error message, cause exception, file name, line and column numbers.
NashornScriptEngine - Class in org.openjdk.nashorn.api.scripting
JSR-223 compliant script engine for Nashorn.
NashornScriptEngineFactory - Class in org.openjdk.nashorn.api.scripting
JSR-223 compliant script engine factory for Nashorn.
NashornScriptEngineFactory() - Constructor for class org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory
 
NEW - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of NewTree.
newObject(Object...) - Method in class org.openjdk.nashorn.api.scripting.AbstractJSObject
 
newObject(Object...) - Method in interface org.openjdk.nashorn.api.scripting.JSObject
Call this 'constructor' JavaScript function to create a new object.
newObject(Object...) - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
NewTree - Interface in org.openjdk.nashorn.api.tree
A tree node to declare a new instance of a class.
NOPOS - Static variable in interface org.openjdk.nashorn.api.tree.Diagnostic
Used to signal that no position is available.
NOT_EQUAL_TO - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing not-equal-to !=.
NOTE - org.openjdk.nashorn.api.tree.Diagnostic.Kind
Informative message from the tool.
NULL_LITERAL - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of LiteralTree representing the use of null.
NUMBER_LITERAL - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of LiteralTree representing a number literal expression of type double.

O

OBJECT_LITERAL - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of ObjectLiteralTree.
ObjectLiteralTree - Interface in org.openjdk.nashorn.api.tree
Represents ECMAScript object literal expression.
OR - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing bitwise and logical "or" |.
OR_ASSIGNMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of CompoundAssignmentTree representing bitwise and logical "or" assignment |=.
org.openjdk.nashorn - module org.openjdk.nashorn
Provides the implementation of Nashorn script engine and the runtime environment for programs written in ECMAScript 5.1.
org.openjdk.nashorn.api.scripting - package org.openjdk.nashorn.api.scripting
This package provides the javax.script integration, which is the preferred way to use Nashorn.
org.openjdk.nashorn.api.tree - package org.openjdk.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.
OTHER - org.openjdk.nashorn.api.tree.Diagnostic.Kind
Diagnostic which does not fit within the other kinds.
OTHER - org.openjdk.nashorn.api.tree.Tree.Kind
An implementation-reserved node.

P

PARENTHESIZED - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of ParenthesizedTree.
ParenthesizedTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a parenthesized expression.
parse(File, DiagnosticListener) - Method in interface org.openjdk.nashorn.api.tree.Parser
Parses the source file and returns compilation unit tree
parse(String, Reader, DiagnosticListener) - Method in interface org.openjdk.nashorn.api.tree.Parser
Parses the reader and returns compilation unit tree
parse(String, String, boolean) - Static method in class org.openjdk.nashorn.api.scripting.ScriptUtils
Returns AST as JSON compatible string.
parse(String, String, DiagnosticListener) - Method in interface org.openjdk.nashorn.api.tree.Parser
Parses the string source and returns compilation unit tree
parse(URL, DiagnosticListener) - Method in interface org.openjdk.nashorn.api.tree.Parser
Parses the source url and returns compilation unit tree
parse(Path, DiagnosticListener) - Method in interface org.openjdk.nashorn.api.tree.Parser
Parses the source Path and returns compilation unit tree
parse(ScriptObjectMirror, DiagnosticListener) - Method in interface org.openjdk.nashorn.api.tree.Parser
Parses the source from script object and returns compilation unit tree
Parser - Interface in org.openjdk.nashorn.api.tree
Represents nashorn ECMAScript parser instance.
PLUS - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing addition or string concatenation +.
PLUS_ASSIGNMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of CompoundAssignmentTree representing addition or string concatenation assignment +=.
POSTFIX_DECREMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of UnaryTree representing postfix decrement operator --.
POSTFIX_INCREMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of UnaryTree representing postfix increment operator ++.
PREFIX_DECREMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of UnaryTree representing prefix decrement operator --.
PREFIX_INCREMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of UnaryTree representing prefix increment operator ++.
preventExtensions() - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
Flag this script object as non extensible
PROPERTY - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of PropertyTree.
PropertyTree - Interface in org.openjdk.nashorn.api.tree
To represent property setting in an object literal tree.
put(String, Object) - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
putAll(Map<? extends String, ?>) - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 

R

read(char[], int, int) - Method in class org.openjdk.nashorn.api.scripting.URLReader
 
REGEXP_LITERAL - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of RegExpLiteralTree.
RegExpLiteralTree - Interface in org.openjdk.nashorn.api.tree
Represents regular expression literal in the source code.
REMAINDER - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing remainder %.
REMAINDER_ASSIGNMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of CompoundAssignmentTree representing remainder assignment %=.
remove(Object) - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
removeMember(String) - Method in class org.openjdk.nashorn.api.scripting.AbstractJSObject
 
removeMember(String) - Method in interface org.openjdk.nashorn.api.scripting.JSObject
Remove a named member from this JavaScript object
removeMember(String) - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
report(Diagnostic) - Method in interface org.openjdk.nashorn.api.tree.DiagnosticListener
Invoked whenever a parsing problem is found.
RETURN - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of ReturnTree.
ReturnTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a 'return' statement.
RIGHT_SHIFT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing right shift >>.
RIGHT_SHIFT_ASSIGNMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of CompoundAssignmentTree representing right shift assignment >>=.

S

ScriptObjectMirror - Class in org.openjdk.nashorn.api.scripting
Mirror object that wraps a given Nashorn Script object.
ScriptUtils - Class in org.openjdk.nashorn.api.scripting
Utilities that are to be called from script code.
seal() - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
ECMAScript 15.2.3.8 - seal implementation
setColumnNumber(int) - Method in exception org.openjdk.nashorn.api.scripting.NashornException
Set the column for this NashornException
setEcmaError(Object) - Method in exception org.openjdk.nashorn.api.scripting.NashornException
Return the underlying ECMA error object, if available.
setFileName(String) - Method in exception org.openjdk.nashorn.api.scripting.NashornException
Set the source file name for this NashornException
setIndexedPropertiesToExternalArrayData(ByteBuffer) - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
Nashorn extension: setIndexedPropertiesToExternalArrayData.
setLineNumber(int) - Method in exception org.openjdk.nashorn.api.scripting.NashornException
Set the line number for this NashornException
setMember(String, Object) - Method in class org.openjdk.nashorn.api.scripting.AbstractJSObject
 
setMember(String, Object) - Method in interface org.openjdk.nashorn.api.scripting.JSObject
Set a named member in this JavaScript object
setMember(String, Object) - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
setProto(Object) - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
Set the __proto__ of this object.
setSlot(int, Object) - Method in class org.openjdk.nashorn.api.scripting.AbstractJSObject
 
setSlot(int, Object) - Method in interface org.openjdk.nashorn.api.scripting.JSObject
Set an indexed member in this JavaScript object
setSlot(int, Object) - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
SimpleTreeVisitorES5_1<R,​P> - Class in org.openjdk.nashorn.api.tree
A simple implementation of the TreeVisitor for ECMAScript edition 5.1.
SimpleTreeVisitorES5_1() - Constructor for class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
SimpleTreeVisitorES6<R,​P> - Class in org.openjdk.nashorn.api.tree
A simple implementation of the TreeVisitor for ECMAScript edition 6.
SimpleTreeVisitorES6() - Constructor for class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES6
 
size() - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
SPREAD - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of SpreadTree representing spread "operator" for arrays and function call arguments.
SpreadTree - Interface in org.openjdk.nashorn.api.tree
A tree node for spread operator in array elements, function call arguments.
StatementTree - Interface in org.openjdk.nashorn.api.tree
A tree node used as the base class for the different kinds of statements.
STRICT_EQUAL_TO - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing equal-to ===.
STRICT_NOT_EQUAL_TO - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing not-equal-to !==.
STRING_LITERAL - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of LiteralTree representing a string literal expression of type String.
SWITCH - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of SwitchTree.
SwitchTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a 'switch' statement.

T

TEMPLATE_LITERAL - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of TemplateLiteralTree.
TemplateLiteralTree - Interface in org.openjdk.nashorn.api.tree
A tree node for template literal strings.
THROW - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of ThrowTree.
ThrowTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a 'throw' statement.
to(Class<T>) - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
Utility to convert this script object to the given type.
toNumber() - Method in class org.openjdk.nashorn.api.scripting.AbstractJSObject
Deprecated.
toNumber() - Method in interface org.openjdk.nashorn.api.scripting.JSObject
Deprecated.
toNumber() - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
Deprecated.
toString() - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
Tree - Interface in org.openjdk.nashorn.api.tree
Common interface for all nodes in an abstract syntax tree.
Tree.Kind - Enum in org.openjdk.nashorn.api.tree
Enumerates all kinds of trees.
TreeVisitor<R,​P> - Interface in org.openjdk.nashorn.api.tree
A visitor of trees, in the style of the visitor design pattern.
TRY - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of TryTree.
TryTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a 'try' statement.
TYPEOF - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of UnaryTree representing logical typeof operator typeof.

U

UNARY_MINUS - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of UnaryTree representing unary minus operator -.
UNARY_PLUS - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of UnaryTree representing unary plus operator +.
UnaryTree - Interface in org.openjdk.nashorn.api.tree
A tree node for postfix and unary expressions.
UnknownTreeException - Exception in org.openjdk.nashorn.api.tree
Indicates that an unknown kind of Tree was encountered.
UnknownTreeException(Tree, Object) - Constructor for exception org.openjdk.nashorn.api.tree.UnknownTreeException
Creates a new UnknownTreeException.
UNSIGNED_RIGHT_SHIFT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing unsigned right shift >>>.
UNSIGNED_RIGHT_SHIFT_ASSIGNMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of CompoundAssignmentTree representing unsigned right shift assignment >>>=.
unwrap(Object) - Static method in class org.openjdk.nashorn.api.scripting.ScriptUtils
Unwrap a script object mirror if needed.
unwrap(Object, Object) - Static method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
Unwrap a script object mirror if needed.
unwrapArray(Object[]) - Static method in class org.openjdk.nashorn.api.scripting.ScriptUtils
Unwrap an array of script object mirrors if needed.
unwrapArray(Object[], Object) - Static method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
Unwrap an array of script object mirrors if needed.
URLReader - Class in org.openjdk.nashorn.api.scripting
A Reader that reads from a URL.
URLReader(URL) - Constructor for class org.openjdk.nashorn.api.scripting.URLReader
Constructor
URLReader(URL, String) - Constructor for class org.openjdk.nashorn.api.scripting.URLReader
Constructor
URLReader(URL, Charset) - Constructor for class org.openjdk.nashorn.api.scripting.URLReader
Constructor

V

valueOf(String) - Static method in enum org.openjdk.nashorn.api.tree.Diagnostic.Kind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.openjdk.nashorn.api.tree.Tree.Kind
Returns the enum constant of this type with the specified name.
values() - Method in class org.openjdk.nashorn.api.scripting.AbstractJSObject
 
values() - Method in interface org.openjdk.nashorn.api.scripting.JSObject
Returns the set of all property values of this object.
values() - Method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
 
values() - Static method in enum org.openjdk.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 org.openjdk.nashorn.api.tree.Tree.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
VARIABLE - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of VariableTree.
VariableTree - Interface in org.openjdk.nashorn.api.tree
visitArrayAccess(ArrayAccessTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitArrayAccess(ArrayAccessTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit array access expression tree.
visitArrayLiteral(ArrayLiteralTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitArrayLiteral(ArrayLiteralTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit array literal expression tree.
visitAssignment(AssignmentTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitAssignment(AssignmentTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit assignment tree.
visitBinary(BinaryTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitBinary(BinaryTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit binary expression tree.
visitBlock(BlockTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitBlock(BlockTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit block statement tree.
visitBreak(BreakTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitBreak(BreakTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit break statement tree.
visitCase(CaseTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitCase(CaseTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit case statement tree.
visitCatch(CatchTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitCatch(CatchTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit catch block statement tree.
visitClassDeclaration(ClassDeclarationTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
Visits a ClassDeclarationTree tree by calling visitUnknown.
visitClassDeclaration(ClassDeclarationTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES6
Visit class statement tree.
visitClassDeclaration(ClassDeclarationTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit class statement tree.
visitClassExpression(ClassExpressionTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
Visits a ClassExpressionTree tree by calling visitUnknown.
visitClassExpression(ClassExpressionTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES6
Visit class expression tree.
visitClassExpression(ClassExpressionTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit class expression tree.
visitCompilationUnit(CompilationUnitTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitCompilationUnit(CompilationUnitTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES6
 
visitCompilationUnit(CompilationUnitTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit compilation unit tree.
visitCompoundAssignment(CompoundAssignmentTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitCompoundAssignment(CompoundAssignmentTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit compound assignment tree.
visitConditionalExpression(ConditionalExpressionTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitConditionalExpression(ConditionalExpressionTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit conditional expression tree.
visitContinue(ContinueTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitContinue(ContinueTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit continue statement tree.
visitDebugger(DebuggerTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitDebugger(DebuggerTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit debugger statement tree.
visitDoWhileLoop(DoWhileLoopTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitDoWhileLoop(DoWhileLoopTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit do-while statement tree.
visitEmptyStatement(EmptyStatementTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitEmptyStatement(EmptyStatementTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit an empty statement tree.
visitErroneous(ErroneousTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitErroneous(ErroneousTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit error expression tree.
visitExportEntry(ExportEntryTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
Visits an ExportEntryTree tree by calling visitUnknown.
visitExportEntry(ExportEntryTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES6
Visit Module ExportEntry tree.
visitExportEntry(ExportEntryTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit Module ExportEntry tree.
visitExpressionStatement(ExpressionStatementTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitExpressionStatement(ExpressionStatementTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit expression statement tree.
visitForInLoop(ForInLoopTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitForInLoop(ForInLoopTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit for..in statement tree.
visitForLoop(ForLoopTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitForLoop(ForLoopTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit 'for' statement tree.
visitForOfLoop(ForOfLoopTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
Visits a ForOfLoopTree tree by calling visitUnknown.
visitForOfLoop(ForOfLoopTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES6
Visit for..of statement tree.
visitForOfLoop(ForOfLoopTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit for..of statement tree.
visitFunctionCall(FunctionCallTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitFunctionCall(FunctionCallTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit function call expression tree.
visitFunctionDeclaration(FunctionDeclarationTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitFunctionDeclaration(FunctionDeclarationTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit function declaration tree.
visitFunctionExpression(FunctionExpressionTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitFunctionExpression(FunctionExpressionTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit function expression tree.
visitIdentifier(IdentifierTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitIdentifier(IdentifierTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit identifier tree.
visitIf(IfTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitIf(IfTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit 'if' statement tree.
visitImportEntry(ImportEntryTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
Visits an ImportEntryTree tree by calling visitUnknown.
visitImportEntry(ImportEntryTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES6
Visit Module ImportEntry tree.
visitImportEntry(ImportEntryTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit Module ImportEntry tree.
visitInstanceOf(InstanceOfTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitInstanceOf(InstanceOfTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit 'instanceof' expression tree.
visitLabeledStatement(LabeledStatementTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitLabeledStatement(LabeledStatementTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit labeled statement tree.
visitLiteral(LiteralTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitLiteral(LiteralTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit literal expression tree.
visitMemberSelect(MemberSelectTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitMemberSelect(MemberSelectTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit member select expression tree.
visitModule(ModuleTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
Visits a ModuleTree tree by calling visitUnknown.
visitModule(ModuleTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES6
Visit Module tree.
visitModule(ModuleTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit Module tree.
visitNew(NewTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitNew(NewTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit 'new' expression tree.
visitObjectLiteral(ObjectLiteralTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitObjectLiteral(ObjectLiteralTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit object literal tree.
visitParenthesized(ParenthesizedTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitParenthesized(ParenthesizedTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit parenthesized expression tree.
visitProperty(PropertyTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitProperty(PropertyTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit a property of an object literal expression tree.
visitRegExpLiteral(RegExpLiteralTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitRegExpLiteral(RegExpLiteralTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit regular expression literal tree.
visitReturn(ReturnTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitReturn(ReturnTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit return statement tree.
visitSpread(SpreadTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
Visits a SpreadTree tree by calling visitUnknown.
visitSpread(SpreadTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES6
Visit 'spread' expression tree.
visitSpread(SpreadTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit 'spread' expression tree.
visitSwitch(SwitchTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitSwitch(SwitchTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit 'switch' statement tree.
visitTemplateLiteral(TemplateLiteralTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
Visits a TemplateLiteralTree tree by calling visitUnknown.
visitTemplateLiteral(TemplateLiteralTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES6
Visit template literal tree.
visitTemplateLiteral(TemplateLiteralTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit template literal tree.
visitThrow(ThrowTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitThrow(ThrowTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit 'throw' expression tree.
visitTry(TryTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitTry(TryTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit 'try' statement tree.
visitUnary(UnaryTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitUnary(UnaryTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit unary expression tree.
visitUnknown(Tree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
Visit unknown expression/statement tree.
visitUnknown(Tree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit unknown expression/statement tree.
visitVariable(VariableTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitVariable(VariableTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES6
 
visitVariable(VariableTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit variable declaration tree.
visitWhileLoop(WhileLoopTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitWhileLoop(WhileLoopTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit 'while' statement tree.
visitWith(WithTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
 
visitWith(WithTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit 'with' statement tree.
visitYield(YieldTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1
Visits a YieldTree tree by calling visitUnknown.
visitYield(YieldTree, P) - Method in class org.openjdk.nashorn.api.tree.SimpleTreeVisitorES6
Visit 'yield' expression tree.
visitYield(YieldTree, P) - Method in interface org.openjdk.nashorn.api.tree.TreeVisitor
Visit 'yield' expression tree.
VOID - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of UnaryTree representing logical void operator void.

W

WARNING - org.openjdk.nashorn.api.tree.Diagnostic.Kind
Problem which does not usually prevent the tool from completing normally.
WHILE_LOOP - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of WhileLoopTree.
WhileLoopTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a 'while' loop statement.
WITH - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of WithTree.
WithTree - Interface in org.openjdk.nashorn.api.tree
A tree node for a 'with' statement.
wrap(Object) - Static method in class org.openjdk.nashorn.api.scripting.ScriptUtils
Make a script object mirror on given object if needed.
wrap(Object, Object) - Static method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
Make a script object mirror on given object if needed.
wrapArray(Object[]) - Static method in class org.openjdk.nashorn.api.scripting.ScriptUtils
Wrap an array of object to script object mirrors if needed.
wrapArray(Object[], Object) - Static method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
Wrap an array of object to script object mirrors if needed.
wrapAsJSONCompatible(Object, Object) - Static method in class org.openjdk.nashorn.api.scripting.ScriptObjectMirror
Make a script object mirror on given object if needed.

X

XOR - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing bitwise and logical "xor" ^.
XOR_ASSIGNMENT - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of CompoundAssignmentTree representing bitwise and logical "xor" assignment ^=.

Y

YIELD - org.openjdk.nashorn.api.tree.Tree.Kind
Used for instances of YieldTree representing (generator) yield expression yield expr.
YieldTree - Interface in org.openjdk.nashorn.api.tree
A tree node for yield expressions used in generator functions.
A B C D E F G H I J K L M N O P R S T U V W X Y 
All Classes All Packages