Member predicate InterpolatedStringExpr::getText
Gets the text element at index i
in this interpolated string, if any.
For example, the text element at index i = 2
is "!"
in
$"Hello, {name}!"
. Note that there is no text element at index i = 1
,
but instead an insert (getInsert(1)
gets the insert).