@Override
public void writeSemantic(EObject grammarElement, String value) throws IOException {
System.err.println("writeSemantic " + grammarElement + " v:'" + value + "'" );
if (grammarElement instanceof RuleCall) {
AbstractRule rule = ((RuleCall)grammarElement).getRule();
if ("WS".equals(rule.getName())) {
writeHidden(grammarElement, value);
return;
}
}
super.writeSemantic(grammarElement, value);