public static MsgPartsAndIds buildMsgPartsAndComputeMsgIdForDualFormat ( MsgNode msgNode ) { if ( msgNode . isPlrselMsg ( ) ) { MsgPartsAndIds mpai = buildMsgPartsAndComputeMsgIds ( msgNode , true ) ; return new MsgPartsAndIds ( mpai . parts , mpai . idUsingBracedPhs , - 1L ) ; } else { return buildMsgPartsAndComputeMsgIds ( msgNode , false ) ; } }
Builds the list of SoyMsgParts and computes the unique message id for the given MsgNode assuming a specific dual format .