-
- All Superinterfaces:
ExpressionTree,Tree
public interface LiteralTree extends ExpressionTree
A tree node for a literal expression. UsegetKindto determine the kind of literal. For example:value
- Since:
- 9
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetValue()Returns the value of this literal.-
Methods inherited from 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
-
-