Module jdk.compiler

Interface ExpressionStatementTree

所有超接口:
StatementTree, Tree

public interface ExpressionStatementTree extends StatementTree
表达式语句的树节点。例如:
   expression ;
 
参见 Java 语言规范:
14.8 表达式语句
自 JDK 版本:
1.6
  • Nested Class Summary

    Nested classes/interfaces declared in interface com.sun.source.tree.Tree

    Tree.Kind
  • Method Summary

    Modifier and Type
    Method
    Description
    返回构成此语句的表达式。

    Methods declared in interface com.sun.source.tree.Tree

    accept, getKind
  • Method Details

    • getExpression

      ExpressionTree getExpression()
      返回构成此语句的表达式。
      返回:
      表达式