Ticket #45178

generate_packets.py: access type aliases through methods

Date d'ouverture: 2022-07-21 05:11 Dernière mise à jour: 2022-07-22 21:00

Rapporteur:
Propriétaire:
Type:
État:
Atteints
Composant:
Jalon:
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
1

Détails

Part of #43927. Dependent on #45166. Introduce two methods PacketsDefinition.define_type(alias: str, meaning: str) -> None and PacketsDefinition.resolve_type(type_text: str) -> str and pass the latter to the Packet and Field parsing code instead of the bare types dict. The plan is that in some future patch, the return type of resolve_type() will be replaced with one representing an already-parsed type, so Field.parse() no longer needs to care about type parsing.

Ticket History (3/4 Histories)

2022-07-21 05:11 Updated by: alienvalkyrie
  • New Ticket "generate_packets.py: access type aliases through methods" created
2022-07-21 05:33 Updated by: alienvalkyrie
  • Résolution Update from Aucun to Accepted
Commentaire

Depends on #45166.

2022-07-22 21:00 Updated by: alienvalkyrie
  • État Update from Ouvert to Atteints
  • Résolution Update from Accepted to Fixed

Modifier

Please login to add comment to this ticket » Connexion