-
- All Superinterfaces:
ExpressionTree
,Tree
public interface LiteralTree extends ExpressionTree
A tree node for a literal expression. UsegetKind
to determine the kind of literal. For example:value
- Since:
- 9
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getValue()
Returns the value of this literal.-
Methods declared in interface jdk.nashorn.api.tree.Tree
accept, getEndPosition, getKind, getStartPosition
-
-
-
-
Method Detail
-
getValue
Object getValue()
Returns the value of this literal.- Returns:
- the value of this literal
-
-