软件包  jdk.nashorn.api.tree

Interface TemplateLiteralTree

  • All Superinterfaces:
    ExpressionTree

    @Deprecated(since="11",            forRemoval=true)public interface TemplateLiteralTreeextends ExpressionTree
    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.
    template literal strings的树节点。 例如:
      `This is a String with ${computed} values in it` 
    从以下版本开始:
    9
    • 方法详细信息

      • getExpressions

        List<? extends ExpressionTree> getExpressions()
        Deprecated, for removal: This API element is subject to removal in a future version.
        返回此模板字符串中的表达式列表
        结果
        the list of expressions in this template string