-
- All Superinterfaces:
ExpressionTree
,Tree
public interface TemplateLiteralTree extends ExpressionTree
A tree node for template literal strings. For example:`This is a String with ${computed} values in it`
- Since:
- 9
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<? extends ExpressionTree>
getExpressions()
Returns the list of expressions in this template string-
Methods inherited from interface jdk.nashorn.api.tree.Tree
accept, getEndPosition, getKind, getStartPosition
-
-
-
-
Method Detail
-
getExpressions
List<? extends ExpressionTree> getExpressions()
Returns the list of expressions in this template string- Returns:
- the list of expressions in this template string
-
-