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
    interface  BlockTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  BreakTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  ClassDeclarationTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  ConditionalLoopTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  ContinueTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  DebuggerTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  DoWhileLoopTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  EmptyStatementTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  ExpressionStatementTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  ForInLoopTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  ForLoopTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  ForOfLoopTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  FunctionDeclarationTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  GotoTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  IfTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  LabeledStatementTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  LoopTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  ReturnTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  SwitchTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  ThrowTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  TryTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  VariableTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  WhileLoopTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    interface  WithTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    Methods in jdk.nashorn.api.tree that return StatementTree 
    Modifier and Type Method Description
    StatementTree IfTree.getElseStatement()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the then statement of this 'if' statement.
    StatementTree DoWhileLoopTree.getStatement()
    Deprecated, for removal: This API element is subject to removal in a future version.
    The statement contained within this do-while statement.
    StatementTree ForInLoopTree.getStatement()
    Deprecated, for removal: This API element is subject to removal in a future version.
    The statement contained in this for..in statement.
    StatementTree ForLoopTree.getStatement()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the statement contained in this 'for' statement.
    StatementTree ForOfLoopTree.getStatement()
    Deprecated, for removal: This API element is subject to removal in a future version.
    The statement contained in this for..of statement.
    StatementTree LabeledStatementTree.getStatement()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the statement being labeled.
    StatementTree LoopTree.getStatement()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the statement contained in this 'loop' statement.
    StatementTree WhileLoopTree.getStatement()
    Deprecated, for removal: This API element is subject to removal in a future version.
    The statement contained in this 'while' statement.
    StatementTree WithTree.getStatement()
    Deprecated, for removal: This API element is subject to removal in a future version.
    The statement contained in this 'with' statement.
    StatementTree IfTree.getThenStatement()
    Deprecated, for removal: This API element is subject to removal in a future version.
    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()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the list of statements in this block.
    List<? extends StatementTree> CaseTree.getStatements()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Return the list of statements for this 'case'.