- All Superinterfaces:
ExpressionTree
,Tree
A tree node for a literal expression.
Use
getKind
to determine the kind of literal.
For example:
value
- Since:
- 9
-
Nested Class Summary
-
Method Summary
Methods inherited from interface org.openjdk.nashorn.api.tree.Tree
accept, getEndPosition, getKind, getStartPosition
-
Method Details
-
getValue
Object getValue()Returns the value of this literal.- Returns:
- the value of this literal
-