ExpressionStatementTree (Java SE 9 & JDK 9 )
Keywords: jdk.nashorn.api.tree.ExpressionStatementTree interface

Module jdk.scripting.nashorn
Package jdk.nashorn.api.tree

## Interface ExpressionStatementTree

- All Superinterfaces:
    `StatementTree`, `Tree`

      public interface ExpressionStatementTree
      extends StatementTree

  A tree node for an expression statement. For example:

         expression ;

  Since:
    9

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface jdk.nashorn.api.tree.Tree

      `Tree.Kind`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ExpressionTree` | `getExpression​()` | Returns the expression of this expression statement.

    - ### Methods inherited from interface jdk.nashorn.api.tree.Tree

      `accept, getEndPosition, getKind, getStartPosition`

- - ### Method Detail

    - #### getExpression

          ExpressionTree getExpression​()

      Returns the expression of this expression statement.
      Returns:
        the expression