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 TypeInterfaceDescriptioninterfaceA tree node for a statement block.interfaceA tree node for a 'break' statement.interfaceA tree node that represents a class declaration.interfaceA mixin for conditional "loop" statements.interfaceA tree node for a 'continue' statement.interfaceA tree node for a 'debugger' statement.interfaceA tree node for a 'do' statement.interfaceA tree node for an empty (skip) statement.interfaceA tree node for an expression statement.interfaceA tree node for for..in statement For example:interfaceA tree node for a basic 'for' loop statement.interfaceA tree node for for..of statement.interfaceA tree node for a function declaration.interfaceA tree node for a statement that jumps to a target.interfaceA tree node for an 'if' statement.interfaceA tree node for a labeled statement.interfaceA mixin for "loop" statements.interfaceA tree node for a 'return' statement.interfaceA tree node for a 'switch' statement.interfaceA tree node for a 'throw' statement.interfaceA tree node for a 'try' statement.interfaceA tree node for a variable declaration statement.interfaceA tree node for a 'while' loop statement.interfaceA 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'.