resolveRule(((JSGFRuleCount) r).getRule());
return;
}
if (r instanceof JSGFRuleTag) {
JSGFRuleTag rt = (JSGFRuleTag) r;
JSGFRule rule = rt.getRule();
String ruleStr = rule.toString();
// add the tag the tag-table
Collection<String> tags = ruleTags.get(ruleStr);
if (tags == null) {
tags = new HashSet<String>();
ruleTags.put(ruleStr, tags);
}
tags.add(rt.getTag());
resolveRule(rule);
return;
}