public static final class IfCondNode.Builder extends Object
IfCondNode.| Modifier and Type | Method and Description |
|---|---|
IfCondNode |
build(ErrorReporter unusedForNow)
Returns a new
IfCondNode built from this builder's state. |
public IfCondNode build(ErrorReporter unusedForNow)
IfCondNode built from this builder's state.
TODO(user): Most node builders report syntax errors to the ErrorReporter
argument. This builder ignores the error reporter argument because if nodes have
special fallback logic for when parsing of the command text fails.
Such parsing failures should thus not currently be reported as "errors".
It seems possible and desirable to change Soy to consider these to be errors,
but it's not trivial, because it could break templates that currently compile.