Uses of Interface
jdk.nashorn.api.tree.StatementTree
-
Packages that use StatementTree Package Description jdk.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. -
-
Uses of StatementTree in jdk.nashorn.api.tree
Subinterfaces of StatementTree in jdk.nashorn.api.tree Modifier and Type Interface Description interfaceBlockTreeA tree node for a statement block.interfaceBreakTreeA tree node for a 'break' statement.interfaceClassDeclarationTreeA tree node that represents a class declaration.interfaceConditionalLoopTreeA mixin for conditional "loop" statements.interfaceContinueTreeA tree node for a 'continue' statement.interfaceDebuggerTreeA tree node for a 'debugger' statement.interfaceDoWhileLoopTreeA tree node for a 'do' statement.interfaceEmptyStatementTreeA tree node for an empty (skip) statement.interfaceExpressionStatementTreeA tree node for an expression statement.interfaceForInLoopTreeA tree node for for..in statement For example:interfaceForLoopTreeA tree node for a basic 'for' loop statement.interfaceForOfLoopTreeA tree node for for..of statement.interfaceFunctionDeclarationTreeA tree node for a function declaration.interfaceGotoTreeA tree node for a statement that jumps to a target.interfaceIfTreeA tree node for an 'if' statement.interfaceLabeledStatementTreeA tree node for a labeled statement.interfaceLoopTreeA mixin for "loop" statements.interfaceReturnTreeA tree node for a 'return' statement.interfaceSwitchTreeA tree node for a 'switch' statement.interfaceThrowTreeA tree node for a 'throw' statement.interfaceTryTreeA tree node for a 'try' statement.interfaceVariableTreeA tree node for a variable declaration statement.interfaceWhileLoopTreeA tree node for a 'while' loop statement.interfaceWithTreeA tree node for a 'with' statement.Methods in jdk.nashorn.api.tree that return StatementTree Modifier and Type Method Description StatementTreeIfTree. getElseStatement()Returns the then statement of this 'if' statement.StatementTreeDoWhileLoopTree. getStatement()The statement contained within this do-while statement.StatementTreeForInLoopTree. getStatement()The statement contained in this for..in statement.StatementTreeForLoopTree. getStatement()Returns the statement contained in this 'for' statement.StatementTreeForOfLoopTree. getStatement()The statement contained in this for..of statement.StatementTreeLabeledStatementTree. getStatement()Returns the statement being labeled.StatementTreeLoopTree. getStatement()Returns the statement contained in this 'loop' statement.StatementTreeWhileLoopTree. getStatement()The statement contained in this 'while' statement.StatementTreeWithTree. getStatement()The statement contained in this 'with' statement.StatementTreeIfTree. getThenStatement()Returns the 'then' statement of this 'if' statement.Methods in jdk.nashorn.api.tree that return types with arguments of type StatementTree Modifier and Type Method Description List<? 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'.
-