return result;
}
protected BaseDomNode addLeafNodeToCurrent(EObject rule, String token, ILeafNode node, NodeType nodeType,
Object... classifiers) {
BaseDomNode result = new LeafDomNode();
result.setText(token);
result.setNode(node);
result.setGrammarElement(rule);
result.setNodeType(nodeType);
result.setClassifiers(true, classifiers);
if(node != null && node.isHidden()) {
result.setClassifiers(true, NodeClassifier.HIDDEN);
}
addNodeToCurrent(result);
return result;
}