public static final class MsgPluralCaseNode.Builder extends Object
MsgPluralCaseNode.| Modifier and Type | Field and Description |
|---|---|
static MsgPluralCaseNode |
ERROR |
| Constructor and Description |
|---|
MsgPluralCaseNode.Builder(int id,
String commandText,
SourceLocation sourceLocation) |
| Modifier and Type | Method and Description |
|---|---|
MsgPluralCaseNode |
build(ErrorReporter errorReporter)
Builds a new
MsgPluralCaseNode from this builder's state. |
public static final MsgPluralCaseNode ERROR
public MsgPluralCaseNode.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 MsgPluralCaseNode build(ErrorReporter errorReporter)
MsgPluralCaseNode from this builder's state. If the builder's state
is invalid, errors are reported to the errorReporter and ERROR
is returned.