-  
       - All Superinterfaces:
-  
         StatementTree,树
 
 @Deprecated(since="11", forRemoval=true) public interface VariableTree 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.variable declaration statement的树节点。 例如:var name [ initializer ] ; var binding_pattern [ initializer ];- 从以下版本开始:
- 9
 
-  
        
       -  
             方法摘要所有方法 实例方法 抽象方法 弃用的方法 变量和类型 方法 描述 ExpressionTreegetBinding()不推荐使用,要删除:此API元素将在以后的版本中删除。返回此声明的绑定。ExpressionTreegetInitializer()不推荐使用,要删除:此API元素将在以后的版本中删除。返回此变量的初始值表达式。booleanisConst()不推荐使用,要删除:此API元素将在以后的版本中删除。这是一个const声明吗?booleanisLet()不推荐使用,要删除:此API元素将在以后的版本中删除。这是一个let声明吗?-  
               声明方法的接口 jdk.nashorn.api.tree.树accept, getEndPosition, getKind, getStartPosition
 
-  
               
 
-  
             
-  
        
       -  
             方法详细信息-  getBindingExpressionTree getBinding() Deprecated, for removal: This API element is subject to removal in a future version.- 结果
- 此声明的绑定表达式
 
 -  getInitializerExpressionTree getInitializer() Deprecated, for removal: This API element is subject to removal in a future version.返回此变量的初始值表达式。 如果没有此变量的初始值,则为null。- 结果
- 初始值表达式
 
 -  isConstboolean isConst() Deprecated, for removal: This API element is subject to removal in a future version.这是一个const声明吗?- 结果
- 如果这是一个const声明,则返回true
 
 -  isLetboolean isLet() Deprecated, for removal: This API element is subject to removal in a future version.这是一个let声明吗?- 结果
- true if this is a let declaration
 
 
-  
 
-