final Pair<Queue<HistoryEvent>, PostEmitAction> emitterCore(ParsedLine line,
String name) {
Queue<HistoryEvent> results = new LinkedList<HistoryEvent>();
PostEmitAction removeEmitter = PostEmitAction.NONE;
for (SingleEventEmitter see : nonFinalSEEs()) {
HistoryEvent event = see.maybeEmitEvent(line, name, this);
if (event != null) {
results.add(event);
}
}
for (SingleEventEmitter see : finalSEEs()) {
HistoryEvent event = see.maybeEmitEvent(line, name, this);
if (event != null) {
results.add(event);
removeEmitter = PostEmitAction.REMOVE_HEE;
break;
}