Member predicate StringTemplateExpr :: getComponent
Gets the i
th component of this string template.
For example, in the string template "foo${bar}baz"
, the 0th
component is the string literal "foo"
, the 1st component is
the variable access bar
, and the 2nd component is the string
literal "bar"
.
Expr
getComponent
(
int
i
)