-  
       
- All Superinterfaces:
 -  
         
StatementTree,树 
@Deprecated(since="11", forRemoval=true) public interface BlockTree extends StatementTree
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.语句块的树节点。 例如:{ } { statements }- 从以下版本开始:
 - 9
 
 
-  
        
       
-  
             
方法摘要
所有方法 实例方法 抽象方法 弃用的方法 变量和类型 方法 描述 List<? extends StatementTree>getStatements()不推荐使用,要删除:此API元素将在以后的版本中删除。返回此块中的语句列表。-  
               
声明方法的接口 jdk.nashorn.api.tree.树
accept, getEndPosition, getKind, getStartPosition 
 -  
               
 
 -  
             
 
-  
        
       
-  
             
方法详细信息
-  
getStatements
List<? extends StatementTree> getStatements()
Deprecated, for removal: This API element is subject to removal in a future version.返回此块中的语句列表。- 结果
 - the list of statements in this block
 
 
 -  
 
 -