Ticket #45178

generate_packets.py: access type aliases through methods

Eröffnet am: 2022-07-21 05:11 Letztes Update: 2022-07-22 21:00

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
1

Details

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-Verlauf (3/4 Historien)

2022-07-21 05:11 Aktualisiert von: alienvalkyrie
  • New Ticket "generate_packets.py: access type aliases through methods" created
2022-07-21 05:33 Aktualisiert von: alienvalkyrie
  • Lösung Update from Keine to Accepted
Kommentar

Depends on #45166.

2022-07-22 21:00 Aktualisiert von: alienvalkyrie
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Anmelden