public static final class CallDelegateNode.Builder extends Object
| Modifier and Type | Field and Description |
|---|---|
static CallDelegateNode |
ERROR |
| Constructor and Description |
|---|
Builder(int id,
SourceLocation sourceLocation) |
| Modifier and Type | Method and Description |
|---|---|
CallDelegateNode.Builder |
allowEmptyDefault(boolean allowEmptyDefault) |
CallDelegateNode |
build(ErrorReporter errorReporter) |
CallDelegateNode |
buildAndThrowIfInvalid() |
CallDelegateNode.Builder |
commandText(String commandText) |
CallDelegateNode.Builder |
dataExpr(ExprRootNode dataExpr) |
CallDelegateNode.Builder |
delCalleeName(String delCalleeName) |
CallDelegateNode.Builder |
delCalleeVariantExpr(ExprRootNode delCalleeVariantExpr) |
CallDelegateNode.Builder |
escapingDirectiveNames(com.google.common.collect.ImmutableList<String> escapingDirectiveNames) |
CallDelegateNode.Builder |
isPassingAllData(boolean isPassingAllData) |
CallDelegateNode.Builder |
isPassingData(boolean isPassingData) |
CallDelegateNode.Builder |
userSuppliedPlaceholderName(String userSuppliedPlaceholderName) |
public static final CallDelegateNode ERROR
public Builder(int id,
SourceLocation sourceLocation)
public CallDelegateNode.Builder allowEmptyDefault(boolean allowEmptyDefault)
public CallDelegateNode.Builder commandText(String commandText)
public CallDelegateNode.Builder dataExpr(ExprRootNode dataExpr)
public CallDelegateNode.Builder delCalleeName(String delCalleeName)
public CallDelegateNode.Builder delCalleeVariantExpr(ExprRootNode delCalleeVariantExpr)
public CallDelegateNode.Builder escapingDirectiveNames(com.google.common.collect.ImmutableList<String> escapingDirectiveNames)
public CallDelegateNode.Builder isPassingData(boolean isPassingData)
public CallDelegateNode.Builder isPassingAllData(boolean isPassingAllData)
public CallDelegateNode.Builder userSuppliedPlaceholderName(String userSuppliedPlaceholderName)
public CallDelegateNode build(ErrorReporter errorReporter)
public CallDelegateNode buildAndThrowIfInvalid()
SoySyntaxException - if the data given to the Builder cannot be used to construct
a CallBasicNode.
TODO(user): remove. The parser already has an ErrorManager. This method exists
solely for higher layers (like visitors) that do not already have ErrorManagers.