<commit_before>/*
 * Copyright (c) 1999 <NAME> (<EMAIL>)
 *
 *    This source code is free software; you can redistribute it
 *    and/or modify it in source code form under the terms of the GNU
 *    General Public License as published by the Free Software
 *    Foundation; either version 2 of the License, or (at your option)
 *    any later version.
 *
 *    This program is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *    GNU General Public License for more details.
 *
 *    You should have received a copy of the GNU General Public License
 *    along with this program; if not, write to the Free Software
 *    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
 */
#if !defined(WINNT)
#ident "$Id: t-null.cc,v 1.1 1999/01/24 01:35:08 steve Exp $"
#endif

# include  "netlist.h"
# include  "target.h"

static target_t target_null_obj;

extern const struct target tgt_null = { "null", &target_null_obj };
/*
 * $Log: t-null.cc,v $
 * Revision 1.1  1999/01/24 01:35:08  steve
 *  Support null target for generating no output.
 *
 */

<commit_msg> implement some null-target code generation.<commit_after>/*
 * Copyright (c) 1999 <NAME> (<EMAIL>)
 *
 *    This source code is free software; you can redistribute it
 *    and/or modify it in source code form under the terms of the GNU
 *    General Public License as published by the Free Software
 *    Foundation; either version 2 of the License, or (at your option)
 *    any later version.
 *
 *    This program is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *    GNU General Public License for more details.
 *
 *    You should have received a copy of the GNU General Public License
 *    along with this program; if not, write to the Free Software
 *    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
 */
#if !defined(WINNT)
#ident "$Id: t-null.cc,v 1.2 1999/06/06 20:33:30 steve Exp $"
#endif

# include  "netlist.h"
# include  "target.h"

/*
 * This target type simply drops the netlist. It is useful for
 * skipping the code generation phase.
 */
static class target_null_t  : public target_t {

    public:
      void bufz(ostream&os, const NetBUFZ*) { }
      void net_esignal(ostream&, const NetESignal*) { }
      void net_event(ostream&, const NetNEvent*) { }
      void proc_delay(ostream&, const NetPDelay*) { }
      void proc_event(ostream&, const NetPEvent*) { }

} target_null_obj;

extern const struct target tgt_null = { "null", &target_null_obj };
/*
 * $Log: t-null.cc,v $
 * Revision 1.2  1999/06/06 20:33:30  steve
 *  implement some null-target code generation.
 *
 * Revision 1.1  1999/01/24 01:35:08  steve
 *  Support null target for generating no output.
 *
 */


{'fraction_non_alphanumeric': 0.09215817694369974, 'fraction_numerical': 0.039544235924932974, 'mean_word_length': 3.234042553191489, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5843738', 'n_tokens_mistral': 984, 'n_tokens_neox': 895, 'n_words': 381}