* Adds the special tokens as tokens in the document.
*/
private void writeSpecials(SimpleNode node, List<Object> specials) {
for (Object c : specials) {
if (c instanceof commentType) {
commentType comment = (commentType) c;
doc.add(comment.beginLine, comment.beginColumn, comment.id, comment);
} else if (c instanceof Name) {
Name name = (Name) c;
doc.add(name.beginLine, name.beginColumn, name.id, name);