Skip navigation links
A B C D E F G I J L M N O P R S T U V W 

A

accept(TreeVisitor<R, D>, D) - Method in interface jdk.nashorn.api.tree.Tree
Accept method used to implement the visitor pattern.
ArrayAccessTree - Interface in jdk.nashorn.api.tree
A tree node for an array access expression.
ArrayLiteralTree - Interface in jdk.nashorn.api.tree
Represents ECMAScript array literal expression.
asInterface() - Method in enum jdk.nashorn.api.tree.Tree.Kind
 
AssignmentTree - Interface in jdk.nashorn.api.tree
A tree node for an assignment expression.

B

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

C

CaseTree - Interface in jdk.nashorn.api.tree
A tree node for a 'case' in a 'switch' statement.
CatchTree - Interface in jdk.nashorn.api.tree
A tree node for a 'catch' block in a 'try' statement.
CompilationUnitTree - Interface in jdk.nashorn.api.tree
Represents the abstract syntax tree for compilation units (source files)
CompoundAssignmentTree - Interface in jdk.nashorn.api.tree
A tree node for compound assignment operator.
ConditionalExpressionTree - Interface in jdk.nashorn.api.tree
A tree node for the conditional operator ? :.
ContinueTree - Interface in jdk.nashorn.api.tree
A tree node for a 'continue' statement.
create(String...) - Method in interface jdk.nashorn.api.tree.ParserFactory
Create a new nashorn parser initialized with the given options
create(String...) - Method in class jdk.nashorn.api.tree.ParserFactoryImpl
 

D

DebuggerTree - Interface in jdk.nashorn.api.tree
A tree node for a 'debugger' statement.
Diagnostic - Interface in jdk.nashorn.api.tree
Interface for diagnostics from tools.
Diagnostic.Kind - Enum in jdk.nashorn.api.tree
Kinds of diagnostics, for example, error or warning.
DiagnosticListener - Interface in jdk.nashorn.api.tree
Interface for receiving diagnostics from Nashorn parser.
DoWhileLoopTree - Interface in jdk.nashorn.api.tree
A tree node for a 'do' statement.

E

EmptyStatementTree - Interface in jdk.nashorn.api.tree
A tree node for an empty (skip) statement.
ErroneousTree - Interface in jdk.nashorn.api.tree
A tree node to stand in for a malformed expression.
ExpressionStatementTree - Interface in jdk.nashorn.api.tree
A tree node for an expression statement.
ExpressionTree - Interface in jdk.nashorn.api.tree
A tree node used as the base class for the different types of expressions.

F

ForInLoopTree - Interface in jdk.nashorn.api.tree
A tree node for for..in statement For example:
ForLoopTree - Interface in jdk.nashorn.api.tree
A tree node for a basic 'for' loop statement.
FunctionCallTree - Interface in jdk.nashorn.api.tree
A tree node for a function call expression.
FunctionDeclarationTree - Interface in jdk.nashorn.api.tree
A tree node for a function declaration.
FunctionExpressionTree - Interface in jdk.nashorn.api.tree
A tree node for a function expression.

G

getArguments() - Method in interface jdk.nashorn.api.tree.FunctionCallTree
 
getBlock() - Method in interface jdk.nashorn.api.tree.CatchTree
 
getBlock() - Method in interface jdk.nashorn.api.tree.TryTree
 
getBody() - Method in interface jdk.nashorn.api.tree.FunctionDeclarationTree
 
getBody() - Method in interface jdk.nashorn.api.tree.FunctionExpressionTree
 
getCases() - Method in interface jdk.nashorn.api.tree.SwitchTree
 
getCatches() - Method in interface jdk.nashorn.api.tree.TryTree
 
getCode() - Method in interface jdk.nashorn.api.tree.Diagnostic
Gets a diagnostic code indicating the type of diagnostic.
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
 
getCondition() - Method in interface jdk.nashorn.api.tree.ConditionalExpressionTree
 
getCondition() - Method in interface jdk.nashorn.api.tree.DoWhileLoopTree
 
getCondition() - Method in interface jdk.nashorn.api.tree.ForLoopTree
 
getCondition() - Method in interface jdk.nashorn.api.tree.IfTree
 
getCondition() - Method in interface jdk.nashorn.api.tree.WhileLoopTree
 
getConstructorExpression() - Method in interface jdk.nashorn.api.tree.NewTree
 
getElements() - Method in interface jdk.nashorn.api.tree.ArrayLiteralTree
 
getElseStatement() - Method in interface jdk.nashorn.api.tree.IfTree
 
getEndPosition() - Method in interface jdk.nashorn.api.tree.Tree
End position of this Tree within the source
getExpression() - Method in interface jdk.nashorn.api.tree.ArrayAccessTree
 
getExpression() - Method in interface jdk.nashorn.api.tree.AssignmentTree
 
getExpression() - Method in interface jdk.nashorn.api.tree.CaseTree
 
getExpression() - Method in interface jdk.nashorn.api.tree.CompoundAssignmentTree
 
getExpression() - Method in interface jdk.nashorn.api.tree.ExpressionStatementTree
 
getExpression() - Method in interface jdk.nashorn.api.tree.ForInLoopTree
 
getExpression() - Method in interface jdk.nashorn.api.tree.InstanceOfTree
 
getExpression() - Method in interface jdk.nashorn.api.tree.MemberSelectTree
 
getExpression() - Method in interface jdk.nashorn.api.tree.ParenthesizedTree
 
getExpression() - Method in interface jdk.nashorn.api.tree.ReturnTree
 
getExpression() - Method in interface jdk.nashorn.api.tree.SwitchTree
 
getExpression() - Method in interface jdk.nashorn.api.tree.ThrowTree
 
getExpression() - Method in interface jdk.nashorn.api.tree.UnaryTree
 
getFalseExpression() - Method in interface jdk.nashorn.api.tree.ConditionalExpressionTree
 
getFileName() - Method in interface jdk.nashorn.api.tree.Diagnostic
Gets the source file name.
getFinallyBlock() - Method in interface jdk.nashorn.api.tree.TryTree
 
getFunctionSelect() - Method in interface jdk.nashorn.api.tree.FunctionCallTree
 
getGetter() - Method in interface jdk.nashorn.api.tree.PropertyTree
 
getIdentifier() - Method in interface jdk.nashorn.api.tree.MemberSelectTree
 
getIndex() - Method in interface jdk.nashorn.api.tree.ArrayAccessTree
 
getInitializer() - Method in interface jdk.nashorn.api.tree.ForLoopTree
 
getInitializer() - Method in interface jdk.nashorn.api.tree.VariableTree
 
getKey() - Method in interface jdk.nashorn.api.tree.PropertyTree
 
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
 
getLabel() - Method in interface jdk.nashorn.api.tree.ContinueTree
 
getLabel() - Method in interface jdk.nashorn.api.tree.LabeledStatementTree
 
getLeftOperand() - Method in interface jdk.nashorn.api.tree.BinaryTree
 
getLineMap() - Method in interface jdk.nashorn.api.tree.CompilationUnitTree
Gets the line map for this compilation unit, if available.
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.
getMessage() - Method in interface jdk.nashorn.api.tree.Diagnostic
Gets a message for this diagnostic.
getName() - Method in interface jdk.nashorn.api.tree.FunctionDeclarationTree
 
getName() - Method in interface jdk.nashorn.api.tree.FunctionExpressionTree
 
getName() - Method in interface jdk.nashorn.api.tree.IdentifierTree
 
getName() - Method in interface jdk.nashorn.api.tree.VariableTree
 
getOptions() - Method in interface jdk.nashorn.api.tree.RegExpLiteralTree
regular expression matching options
getParameter() - Method in interface jdk.nashorn.api.tree.CatchTree
 
getParameters() - Method in interface jdk.nashorn.api.tree.FunctionDeclarationTree
 
getParameters() - Method in interface jdk.nashorn.api.tree.FunctionExpressionTree
 
getPattern() - Method in interface jdk.nashorn.api.tree.RegExpLiteralTree
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.
getProperties() - Method in interface jdk.nashorn.api.tree.ObjectLiteralTree
 
getRightOperand() - Method in interface jdk.nashorn.api.tree.BinaryTree
 
getScope() - Method in interface jdk.nashorn.api.tree.WithTree
 
getSetter() - Method in interface jdk.nashorn.api.tree.PropertyTree
 
getSourceElements() - Method in interface jdk.nashorn.api.tree.CompilationUnitTree
 
getSourceName() - Method in interface jdk.nashorn.api.tree.CompilationUnitTree
 
getStartPosition() - Method in interface jdk.nashorn.api.tree.Tree
Start position of this Tree within the source
getStatement() - Method in interface jdk.nashorn.api.tree.DoWhileLoopTree
 
getStatement() - Method in interface jdk.nashorn.api.tree.ForInLoopTree
 
getStatement() - Method in interface jdk.nashorn.api.tree.ForLoopTree
 
getStatement() - Method in interface jdk.nashorn.api.tree.LabeledStatementTree
 
getStatement() - Method in interface jdk.nashorn.api.tree.WhileLoopTree
 
getStatement() - Method in interface jdk.nashorn.api.tree.WithTree
 
getStatements() - Method in interface jdk.nashorn.api.tree.BlockTree
 
getStatements() - Method in interface jdk.nashorn.api.tree.CaseTree
 
getThenStatement() - Method in interface jdk.nashorn.api.tree.IfTree
 
getTrueExpression() - Method in interface jdk.nashorn.api.tree.ConditionalExpressionTree
 
getType() - Method in interface jdk.nashorn.api.tree.InstanceOfTree
 
getUpdate() - Method in interface jdk.nashorn.api.tree.ForLoopTree
 
getValue() - Method in interface jdk.nashorn.api.tree.LiteralTree
 
getValue() - Method in interface jdk.nashorn.api.tree.PropertyTree
 
getVariable() - Method in interface jdk.nashorn.api.tree.AssignmentTree
 
getVariable() - Method in interface jdk.nashorn.api.tree.CompoundAssignmentTree
 
getVariable() - Method in interface jdk.nashorn.api.tree.ForInLoopTree
 

I

IdentifierTree - Interface in jdk.nashorn.api.tree
A tree node for an identifier expression.
IfTree - Interface in jdk.nashorn.api.tree
A tree node for an 'if' statement.
InstanceOfTree - Interface in jdk.nashorn.api.tree
A tree node for an 'instanceof' expression.
isForEach() - Method in interface jdk.nashorn.api.tree.ForInLoopTree
 
isStrict() - Method in interface jdk.nashorn.api.tree.CompilationUnitTree
 
isStrict() - Method in interface jdk.nashorn.api.tree.FunctionDeclarationTree
 
isStrict() - Method in interface jdk.nashorn.api.tree.FunctionExpressionTree
 

J

jdk.nashorn.api.tree - package jdk.nashorn.api.tree
Provides interfaces to represent ECMAScript source code as abstract syntax trees (AST).

L

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

M

MemberSelectTree - Interface in jdk.nashorn.api.tree
A tree node for a member access expression.

N

NewTree - Interface in jdk.nashorn.api.tree
A tree node to declare a new instance of a class.
NOPOS - Static variable in interface jdk.nashorn.api.tree.Diagnostic
Used to signal that no position is available.

O

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

P

ParenthesizedTree - Interface in jdk.nashorn.api.tree
A tree node for a parenthesized expression.
parse(File, DiagnosticListener) - Method in interface jdk.nashorn.api.tree.Parser
Parses the source file and returns compilation unit tree
parse(URL, DiagnosticListener) - Method in interface jdk.nashorn.api.tree.Parser
Parses the source url and returns compilation unit tree
parse(String, Reader, DiagnosticListener) - Method in interface jdk.nashorn.api.tree.Parser
Parses the readerand returns compilation unit tree
parse(String, String, DiagnosticListener) - Method in interface jdk.nashorn.api.tree.Parser
Parses the string source and returns compilation unit tree
parse(ScriptObjectMirror, DiagnosticListener) - Method in interface jdk.nashorn.api.tree.Parser
Parses the source from script object and returns compilation unit tree
Parser - Interface in jdk.nashorn.api.tree
Represents nashorn ECMAScript parser instance.
ParserFactory - Interface in jdk.nashorn.api.tree
Factory that creates Nashorn parser instances.
ParserFactoryImpl - Class in jdk.nashorn.api.tree
Implementation of ParserFactory on Nashorn IR.
ParserFactoryImpl() - Constructor for class jdk.nashorn.api.tree.ParserFactoryImpl
 
PropertyTree - Interface in jdk.nashorn.api.tree
To represent property setting in an object literal tree.

R

RegExpLiteralTree - Interface in jdk.nashorn.api.tree
Represents regular expression literal in the source code.
report(Diagnostic) - Method in interface jdk.nashorn.api.tree.DiagnosticListener
invoked whenever a parsing problem is found
ReturnTree - Interface in jdk.nashorn.api.tree
A tree node for a 'return' statement.

S

StatementTree - Interface in jdk.nashorn.api.tree
A tree node used as the base class for the different kinds of statements.
SwitchTree - Interface in jdk.nashorn.api.tree
A tree node for a 'switch' statement.

T

ThrowTree - Interface in jdk.nashorn.api.tree
A tree node for a 'throw' statement.
Tree - Interface in jdk.nashorn.api.tree
Common interface for all nodes in an abstract syntax tree.
Tree.Kind - Enum in jdk.nashorn.api.tree
Enumerates all kinds of trees.
TreeVisitor<R,P> - Interface in jdk.nashorn.api.tree
A visitor of trees, in the style of the visitor design pattern.
TryTree - Interface in jdk.nashorn.api.tree
A tree node for a 'try' statement.

U

UnaryTree - Interface in jdk.nashorn.api.tree
A tree node for postfix and unary expressions.

V

valueOf(String) - Static method in enum jdk.nashorn.api.tree.Diagnostic.Kind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum jdk.nashorn.api.tree.Tree.Kind
Returns the enum constant of this type with the specified name.
values() - Static method in enum jdk.nashorn.api.tree.Diagnostic.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum jdk.nashorn.api.tree.Tree.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
VariableTree - Interface in jdk.nashorn.api.tree
A tree node for a variable declaration.
visitArrayAccess(ArrayAccessTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitArrayLiteral(ArrayLiteralTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitAssignment(AssignmentTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitBinary(BinaryTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitBlock(BlockTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitBreak(BreakTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitCase(CaseTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitCatch(CatchTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitCompilationUnit(CompilationUnitTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitCompoundAssignment(CompoundAssignmentTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitConditionalExpression(ConditionalExpressionTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitContinue(ContinueTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitDebugger(DebuggerTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitDoWhileLoop(DoWhileLoopTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitEmptyStatement(EmptyStatementTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitEnhancedForLoop(ForInLoopTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitErroneous(ErroneousTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitExpressionStatement(ExpressionStatementTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitForInLoop(ForInLoopTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitForLoop(ForLoopTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitFunctionCall(FunctionCallTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitFunctionDeclaration(FunctionDeclarationTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitFunctionExpression(FunctionExpressionTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitIdentifier(IdentifierTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitIf(IfTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitInstanceOf(InstanceOfTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitLabeledStatement(LabeledStatementTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitLiteral(LiteralTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitMemberSelect(MemberSelectTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitMethod(FunctionDeclarationTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitMethodInvocation(FunctionCallTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitNew(NewTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitObjectLiteral(ObjectLiteralTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitOther(Tree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitParenthesized(ParenthesizedTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitProperty(PropertyTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitRegExpLiteral(RegExpLiteralTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitReturn(ReturnTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitSwitch(SwitchTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitThrow(ThrowTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitTry(TryTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitUnary(UnaryTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitVariable(VariableTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitWhileLoop(WhileLoopTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 
visitWith(WithTree, P) - Method in interface jdk.nashorn.api.tree.TreeVisitor
 

W

WhileLoopTree - Interface in jdk.nashorn.api.tree
A tree node for a 'while' loop statement.
WithTree - Interface in jdk.nashorn.api.tree
A tree node for a 'with' statement.
A B C D E F G I J L M N O P R S T U V W 
Skip navigation links