public static final class MsgPluralNode.Builder extends Object
MsgPluralNode.| Constructor and Description |
|---|
MsgPluralNode.Builder(int id,
String commandText,
SourceLocation sourceLocation) |
| Modifier and Type | Method and Description |
|---|---|
MsgPluralNode |
build(SoyParsingContext context)
Returns a new
MsgPluralNode built from the builder's state. |
public MsgPluralNode.Builder(int id,
String commandText,
SourceLocation sourceLocation)
id - The node's id.commandText - The node's command text.sourceLocation - The node's source location.public MsgPluralNode build(SoyParsingContext context)
MsgPluralNode built from the builder's state. If the builder's state
is invalid, errors are reported to errorReporter and error()
is returned.