while (true) {
nodeTypesInSegment = updateNodeTypesMask(tupleSource, nodeTypesInSegment);
if ( tupleSource.isStreamMode() && smem.getStreamQueue() == null ) {
// need to make sure there is one Queue, for the rule, when a stream mode node is found.
StreamTupleEntryQueue queue = initAndGetTupleQueue(tupleSource, wm);
smem.setStreamQueue( queue );
}
if (NodeTypeEnums.isBetaNode(tupleSource)) {
allLinkedTestMask = processBetaNode(tupleSource, wm, smem, nodePosMask, allLinkedTestMask, updateNodeBit);
} else {