if (type == HaskellElementTypes.MODULE) { // where is it initialized???
return new HPModuleImpl(node);
} else if (type == HaskellElementTypes.INFIX_PREFIX_IDENT) {
return new HPInfixPrefixIdentImpl(node);
} else if (HaskellTokenTypes.IDS.contains(type)) {
return new HPIdentImpl(node);
} else {
return new HPOtherImpl(node);
}
}