public interface SoyPySrcPrintDirective extends SoyPrintDirective
Important: This may only be used in implementing print directive plugins.
| Modifier and Type | Method and Description |
|---|---|
PyExpr |
applyForPySrc(PyExpr value,
List<PyExpr> args)
Applies this directive on the given string value.
|
getName, getValidArgsSizes, shouldCancelAutoescapePyExpr applyForPySrc(PyExpr value, List<PyExpr> args)
Important note when implementing this method: The string value may not yet have been
coerced to a string. You may need to explicitly coerce it to a string expression using
PyExpr.toPyString().
value - The value to apply the directive on. This value may not yet have been
coerced to a string.args - The directive's arguments, if any (usually none).