def dump_to_p4_P4ParserException(self, hlir): set_statements = [statement.dump_to_p4(hlir) for statement in self.set_statements] return_or_drop = self.return_or_drop.dump_to_p4(hlir) g_parser_exception = p4_parser_exception( hlir, self.name, set_statements=set_statements, return_or_drop=return_or_drop ) g_parser_exception._pragmas = self._pragmas.copy()
def dump_to_p4_P4ParserException(self, hlir): set_statements = [ statement.dump_to_p4(hlir) for statement in self.set_statements ] return_or_drop = self.return_or_drop.dump_to_p4(hlir) g_parser_exception = p4_parser_exception(hlir, self.name, set_statements=set_statements, return_or_drop=return_or_drop) g_parser_exception._pragmas = self._pragmas.copy()