Searched refs:enum_field_ir (Results 1 – 4 of 4) sorted by relevance
354 const EnumFieldIR *enum_field_ir) { in SetIRToProtobufEnumField() argument358 enum_field_protobuf->set_name(enum_field_ir->GetName()); in SetIRToProtobufEnumField()359 enum_field_protobuf->set_enum_field_value(enum_field_ir->GetValue()); in SetIRToProtobufEnumField()
182 EnumFieldIR enum_field_ir(field.name(), field.enum_field_value()); in EnumFieldsProtobufToIR() local183 enum_type_fields_ir.emplace_back(std::move(enum_field_ir)); in EnumFieldsProtobufToIR()
202 static JsonObject ConvertEnumFieldIR(const EnumFieldIR *enum_field_ir) { in ConvertEnumFieldIR() argument204 enum_field.Set("name", enum_field_ir->GetName()); in ConvertEnumFieldIR()206 enum_field["enum_field_value"] = Json::Int64(enum_field_ir->GetValue()); in ConvertEnumFieldIR()
250 EnumFieldIR enum_field_ir(field.GetString("name"), in ReadEnumFields() local252 enum_ir->AddEnumField(std::move(enum_field_ir)); in ReadEnumFields()