public class EmptyTofuCompiler extends java.lang.Object implements TofuCompiler
| Constructor and Description |
|---|
EmptyTofuCompiler() |
| Modifier and Type | Method and Description |
|---|---|
com.google.template.soy.tofu.SoyTofu |
compile(java.util.Collection<java.net.URL> urls)
Obtains a binary compiled version based on a set of input urls
|
java.util.Collection<java.lang.String> |
compileToJsSrc(java.util.Collection<java.net.URL> templates,
com.google.template.soy.msgs.SoyMsgBundle soyMsgBundle)
Obtains a compiled template to JavaScript as a String based on a collection of template urls
|
com.google.common.base.Optional<java.lang.String> |
compileToJsSrc(java.net.URL template,
com.google.template.soy.msgs.SoyMsgBundle soyMsgBundle)
Obtains a compiled template to JavaScript as a String based on a template url
|
public com.google.template.soy.tofu.SoyTofu compile(java.util.Collection<java.net.URL> urls)
TofuCompilercompile in interface TofuCompilerpublic com.google.common.base.Optional<java.lang.String> compileToJsSrc(java.net.URL template,
@Nullable
com.google.template.soy.msgs.SoyMsgBundle soyMsgBundle)
TofuCompilercompileToJsSrc in interface TofuCompilerpublic java.util.Collection<java.lang.String> compileToJsSrc(java.util.Collection<java.net.URL> templates,
@Nullable
com.google.template.soy.msgs.SoyMsgBundle soyMsgBundle)
TofuCompilercompileToJsSrc in interface TofuCompilertemplates - - a collection of template urls