Uses of Interface
org.openjdk.nashorn.api.tree.StatementTree
Packages that use StatementTree
Package
Description
Nashorn parser API provides interfaces to represent ECMAScript source code
as abstract syntax trees (AST) and Parser to parse ECMAScript source scripts.
-
Uses of StatementTree in org.openjdk.nashorn.api.tree
Subinterfaces of StatementTree in org.openjdk.nashorn.api.treeModifier and TypeInterfaceDescriptioninterface
A tree node for a statement block.interface
A tree node for a 'break' statement.interface
A tree node that represents a class declaration.interface
A mixin for conditional "loop" statements.interface
A tree node for a 'continue' statement.interface
A tree node for a 'debugger' statement.interface
A tree node for a 'do' statement.interface
A tree node for an empty (skip) statement.interface
A tree node for an expression statement.interface
A tree node for for..in statement For example:interface
A tree node for a basic 'for' loop statement.interface
A tree node for for..of statement.interface
A tree node for a function declaration.interface
A tree node for a statement that jumps to a target.interface
A tree node for an 'if' statement.interface
A tree node for a labeled statement.interface
A mixin for "loop" statements.interface
A tree node for a 'return' statement.interface
A tree node for a 'switch' statement.interface
A tree node for a 'throw' statement.interface
A tree node for a 'try' statement.interface
A tree node for a variable declaration statement.interface
A tree node for a 'while' loop statement.interface
A tree node for a 'with' statement.Methods in org.openjdk.nashorn.api.tree that return StatementTreeModifier and TypeMethodDescriptionIfTree.getElseStatement()
Returns the then statement of this 'if' statement.DoWhileLoopTree.getStatement()
The statement contained within this do-while statement.ForInLoopTree.getStatement()
The statement contained in this for..in statement.ForLoopTree.getStatement()
Returns the statement contained in this 'for' statement.ForOfLoopTree.getStatement()
The statement contained in this for..of statement.LabeledStatementTree.getStatement()
Returns the statement being labeled.LoopTree.getStatement()
Returns the statement contained in this 'loop' statement.WhileLoopTree.getStatement()
The statement contained in this 'while' statement.WithTree.getStatement()
The statement contained in this 'with' statement.IfTree.getThenStatement()
Returns the 'then' statement of this 'if' statement.Methods in org.openjdk.nashorn.api.tree that return types with arguments of type StatementTreeModifier and TypeMethodDescriptionList
<? extends StatementTree> BlockTree.getStatements()
Returns the list of statements in this block.List
<? extends StatementTree> CaseTree.getStatements()
Return the list of statements for this 'case'.