* @see org.eclipse.xtext.serializer.acceptor.ISequenceAcceptor#acceptWhitespace(org.eclipse.xtext.AbstractRule, java.lang.String,
* org.eclipse.xtext.nodemodel.ILeafNode)
*/
@Override
public void acceptWhitespace(AbstractRule rule, String token, ILeafNode node) {
BaseDomNode n = addLeafNodeToCurrent(rule, token, node, WHITESPACE, //
NodeClassifier.HIDDEN);
// TODO: Not a very robust way of checking if the whitespace is implied
// Will probably need to change when also creating a dom model from the node model
//
n.setClassifiers(token == IDomNode.IMPLIED_EMPTY_WHITESPACE, NodeClassifier.IMPLIED);
}