public static final class MsgHtmlTagNode.Builder extends Object
MsgHtmlTagNode.| Constructor and Description |
|---|
MsgHtmlTagNode.Builder(int id,
com.google.common.collect.ImmutableList<SoyNode.StandaloneNode> children,
SourceLocation sourceLocation) |
| Modifier and Type | Method and Description |
|---|---|
MsgHtmlTagNode |
build(ErrorReporter errorReporter)
Returns a new
MsgHtmlTagNode built from the builder's state. |
public MsgHtmlTagNode.Builder(int id,
com.google.common.collect.ImmutableList<SoyNode.StandaloneNode> children,
SourceLocation sourceLocation)
id - The node's id.children - The node's children.sourceLocation - The node's source location.public MsgHtmlTagNode build(ErrorReporter errorReporter)
MsgHtmlTagNode built from the builder's state. If the builder's state
is invalid, errors are reported to the errorManager and {Builder#error} is returned.