public class ExprUtils extends Object
Important: Do not use outside of Soy code (treat as superpackage-private).
| Modifier and Type | Method and Description |
|---|---|
static String |
genExprWithNewToken(Operator op,
List<? extends TargetExpr> operandExprs,
String newToken)
Generates an expression for the given operator and operands assuming that the expression
for the operator uses the same syntax format as the Soy operator, with the exception that the
of a different token.
|
public static String genExprWithNewToken(Operator op, List<? extends TargetExpr> operandExprs, String newToken)
op - The operator.operandExprs - The operands.newToken - The language specific token equivalent to the operator's original token.