def dump_to_p4_P4FieldList(self, hlir): entries = [] for entry in self.entries: entries.append(entry.dump_to_p4(hlir)) g_field_list = p4_field_list(hlir, self.name, fields=entries, filename=self.filename, lineno=self.lineno) g_field_list._pragmas = self._pragmas.copy()
def dump_to_p4_P4FieldList(self, hlir): entries = [] for entry in self.entries: entries.append(entry.dump_to_p4(hlir)) g_field_list = p4_field_list( hlir, self.name, fields = entries, filename = self.filename, lineno = self.lineno ) g_field_list._pragmas = self._pragmas.copy()