}
private static LinkedListToken dupTok(LinkedListToken tok) {
LinkedListToken result;
if (tok instanceof PlaceholderLinkedListToken) {
result = new PlaceholderLinkedListToken(((PlaceholderLinkedListToken)tok).getHeld());
} else {
result = new LinkedListToken(tok.getType(),
tok.getText());
}
result.setChannel(tok.getChannel());