public static class GenJsExprsVisitor.GenJsExprsVisitorFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.base.Supplier<GenCallCodeUtils> |
genCallCodeUtils |
protected IsComputableAsJsExprsVisitor |
isComputableAsJsExprsVisitor |
protected SoyJsSrcOptions |
options |
| Modifier | Constructor and Description |
|---|---|
protected |
GenJsExprsVisitorFactory(SoyJsSrcOptions options,
com.google.common.base.Supplier<GenCallCodeUtils> genCallCodeUtils,
IsComputableAsJsExprsVisitor isComputableAsJsExprsVisitor) |
| Modifier and Type | Method and Description |
|---|---|
GenJsExprsVisitor |
create(TranslationContext translationContext,
TemplateAliases templateAliases,
ErrorReporter errorReporter) |
protected final SoyJsSrcOptions options
protected final com.google.common.base.Supplier<GenCallCodeUtils> genCallCodeUtils
protected final IsComputableAsJsExprsVisitor isComputableAsJsExprsVisitor
protected GenJsExprsVisitorFactory(SoyJsSrcOptions options, com.google.common.base.Supplier<GenCallCodeUtils> genCallCodeUtils, IsComputableAsJsExprsVisitor isComputableAsJsExprsVisitor)
public GenJsExprsVisitor create(TranslationContext translationContext, TemplateAliases templateAliases, ErrorReporter errorReporter)
templateAliases - A mapping for looking up the function name for a given fully qualified
name.