ICodeType curType = ctx.peekCodeType();
if (curType.allowedExternalTypes().isEmpty()) return null;
String remain = ctx.getRemain();
String blockEnd = curType.blockEnd();
if (null == blockEnd) {
logger.warn("null block end found for type[%s]", curType);
return null;
}