public interface SoyJsSrcPrintDirective extends SoyPrintDirective
Important: This may only be used in implementing print directive plugins.
| Modifier and Type | Method and Description |
|---|---|
JsExpr |
applyForJsSrc(JsExpr value,
List<JsExpr> args)
Applies this directive on the given string value.
|
getName, getValidArgsSizes, shouldCancelAutoescapeJsExpr applyForJsSrc(JsExpr value, List<JsExpr> 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 using the JS function
String().
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).