软件包  jdk.nashorn.api.tree

Interface LiteralTree

  • All Superinterfaces:
    ExpressionTree

    @Deprecated(since="11",
                forRemoval=true)
    public interface LiteralTree
    extends 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.
    文字表达式的树节点。 使用getKind确定文字的种类。 例如:
      value 
    从以下版本开始:
    9
    • 方法详细信息

      • getValue

        Object getValue()
        Deprecated, for removal: This API element is subject to removal in a future version.
        返回此文字的值。
        结果
        the value of this literal