public static ClepsType GetBasicOrVoidType(ClepsParser.TypenameAndVoidContext typenameAndVoidContext) { if(typenameAndVoidContext.VOID() != null) { return GetVoidType(); } return GetBasicType(typenameAndVoidContext.typename()); }