msgParts.add(new SoyMsgRawTextPart(rawText));
} else if (child instanceof MsgPlaceholderNode) {
String placeholderName = msgNode.getPlaceholderName((MsgPlaceholderNode) child);
msgParts.add(new SoyMsgPlaceholderPart(placeholderName));
} else if (child instanceof MsgPluralRemainderNode) {
msgParts.add(new SoyMsgPluralRemainderPart(
msgNode.getPluralVarName(child.getNearestAncestor(MsgPluralNode.class))));
} else if (child instanceof MsgPluralNode) {
msgParts.add(buildMsgPartForPlural((MsgPluralNode) child, msgNode));
} else if (child instanceof MsgSelectNode) {
msgParts.add(buildMsgPartForSelect((MsgSelectNode) child, msgNode));