Nashorn API
DRAFT 9-Ubuntu+0-9b149-1
A B C D E F G H I J K L M N O P R S T U V W X Y 

G

GREATER_THAN - jdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing greater-than >.
GREATER_THAN_EQUAL - jdk.nashorn.api.tree.Tree.Kind
Used for instances of BinaryTree representing greater-than-equal >=.
GotoTree - Interface in jdk.nashorn.api.tree
A tree node for a statement that jumps to a target.
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.
getBinding() - Method in interface jdk.nashorn.api.tree.VariableTree
Returns the binding of this declaration.
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 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
getClassElements() - Method in interface jdk.nashorn.api.tree.ClassDeclarationTree
Get other property definitions except for the constructor.
getClassElements() - Method in interface jdk.nashorn.api.tree.ClassExpressionTree
Get other property definitions except for the constructor.
getClassHeritage() - Method in interface jdk.nashorn.api.tree.ClassDeclarationTree
The expression of the extends clause.
getClassHeritage() - Method in interface jdk.nashorn.api.tree.ClassExpressionTree
The expression of the extends clause.
getClassName() - Method in class jdk.nashorn.api.scripting.AbstractJSObject
 
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.
getConstructor() - Method in interface jdk.nashorn.api.tree.ClassDeclarationTree
Get the constructor method definition.
getConstructor() - Method in interface jdk.nashorn.api.tree.ClassExpressionTree
Get the constructor method definition.
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
 
getExportName() - Method in interface jdk.nashorn.api.tree.ExportEntryTree
Returns the entry's export name.
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.ForOfLoopTree
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.SpreadTree
Returns the expression that is being spread.
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.
getExpression() - Method in interface jdk.nashorn.api.tree.YieldTree
Returns the expression that is yielded.
getExpressions() - Method in interface jdk.nashorn.api.tree.TemplateLiteralTree
Returns the list of expressions in this template string
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.
getImportEntries() - Method in interface jdk.nashorn.api.tree.ModuleTree
Returns the list of import entries.
getImportName() - Method in interface jdk.nashorn.api.tree.ExportEntryTree
Returns the entry's import name.
getImportName() - Method in interface jdk.nashorn.api.tree.ImportEntryTree
Returns the entry's import name.
getIndex() - Method in interface jdk.nashorn.api.tree.ArrayAccessTree
Returns the index of the array element accessed.
getIndirectExportEntries() - Method in interface jdk.nashorn.api.tree.ModuleTree
Returns the list of indirect export entries.
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.
getLocalExportEntries() - Method in interface jdk.nashorn.api.tree.ModuleTree
Returns the list of local export entries.
getLocalName() - Method in interface jdk.nashorn.api.tree.ExportEntryTree
Returns the entry's local name.
getLocalName() - Method in interface jdk.nashorn.api.tree.ImportEntryTree
Returns the entry's local name.
getMember(String) - Method in class jdk.nashorn.api.scripting.AbstractJSObject
 
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
 
getModule() - Method in interface jdk.nashorn.api.tree.CompilationUnitTree
Return the ModuleTree associated with this compilation unit.
getModuleRequest() - Method in interface jdk.nashorn.api.tree.ExportEntryTree
Returns the entry's module request.
getModuleRequest() - Method in interface jdk.nashorn.api.tree.ImportEntryTree
Returns the entry's module request.
getName() - Method in interface jdk.nashorn.api.tree.ClassDeclarationTree
Class identifier.
getName() - Method in interface jdk.nashorn.api.tree.ClassExpressionTree
Class identifier.
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.
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 or parameter binding pattern 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 with the given class loader.
getScriptEngine(String...) - Method in class jdk.nashorn.api.scripting.NashornScriptEngineFactory
Create a new Script engine initialized with the given arguments.
getScriptEngine(String[], ClassLoader) - Method in class jdk.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 jdk.nashorn.api.scripting.NashornScriptEngineFactory
Create a new Script engine initialized with the given arguments, class loader and class filter.
getScriptEngine(ClassFilter) - Method in class jdk.nashorn.api.scripting.NashornScriptEngineFactory
Create a new Script engine initialized with the 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
 
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.
getStarExportEntries() - Method in interface jdk.nashorn.api.tree.ModuleTree
Returns the list of star export entries.
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.ForOfLoopTree
The statement contained in this for..in 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.
getVariable() - Method in interface jdk.nashorn.api.tree.ForOfLoopTree
The for..in left hand side expression.
A B C D E F G H I J K L M N O P R S T U V W X Y 
Skip navigation links
Nashorn API
DRAFT 9-Ubuntu+0-9b149-1

Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2014, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.

DRAFT 9-Ubuntu+0-9b149-1