Searched refs:union_name (Results 1 – 4 of 4) sorted by relevance
1293 auto union_name = enum_def.name + "Union"; in GenEnum_ObjectAPI() local1294 code += "class " + union_name + " {\n"; in GenEnum_ObjectAPI()1301 code += " public " + union_name + "() {\n"; in GenEnum_ObjectAPI()1325 union_name + " _o) {\n"; in GenEnum_ObjectAPI()1351 code += "class " + union_name + in GenEnum_ObjectAPI()1354 code += " return objectType == typeof(" + union_name + in GenEnum_ObjectAPI()1356 union_name + ">);\n"; in GenEnum_ObjectAPI()1363 union_name + ">;\n"; in GenEnum_ObjectAPI()1371 code += " this.WriteJson(writer, value as " + union_name + in GenEnum_ObjectAPI()1376 union_name + in GenEnum_ObjectAPI()[all …]
919 auto union_name = MakeUpperCamel(*(field.value.type.enum_def)); in GenUnionInit() local1103 auto union_name = MakeUpperCamel(*(field.value.type.enum_def)); in GenUnPackForUnion() local1109 union_name = package_reference + "." + union_name; in GenUnPackForUnion()1111 code += GenIndents(2) + "self." + field_instance_name + " = " + union_name + in GenUnPackForUnion()1563 auto union_name = NormalizedName(enum_def); in GenUnionCreatorForStruct() local1567 code += GenIndents(1) + "if unionType == " + union_name + "()." + in GenUnionCreatorForStruct()1581 auto union_name = NormalizedName(enum_def); in GenUnionCreatorForString() local1584 code += GenIndents(1) + "if unionType == " + union_name + "()." + in GenUnionCreatorForString()1594 auto union_name = MakeUpperCamel(enum_def); in GenUnionCreator() local1597 code += "def " + union_name + "Creator(unionType, table):"; in GenUnionCreator()
1220 union_name=get_param_type_union_name(param_type))1229 enum=param_type, union_name=get_param_type_union_name(param_type))
2165 union_name=get_param_type_union_name(param_type))2176 union_name=get_param_type_union_name(param_type))2185 enum_in=param_type, enum_out=param_type, union_name=get_param_type_union_name(param_type))