public static final class MsgHtmlTagNode.Builder extends Object
MsgHtmlTagNode.| Modifier and Type | Field and Description |
|---|---|
static MsgHtmlTagNode |
ERROR |
| Constructor and Description |
|---|
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 static final MsgHtmlTagNode ERROR
public 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.