<commit_before>// Copyright 2016-2018, University of Colorado Boulder

/**
 * IO type use to signify a function has no return value.
 *
 * @author <NAME> (PhET Interactive Simulations)
 * @author <NAME> (PhET Interactive Simulations)
 */
define( function( require ) {
  'use strict';

  // modules
  var ObjectIO = require( 'TANDEM/types/ObjectIO' );
  var phetioInherit = require( 'TANDEM/phetioInherit' );
  var tandemNamespace = require( 'TANDEM/tandemNamespace' );

  /**
   * @constructor
   */
  function VoidIO() {
    assert && assert( false, 'should never be called' );
  }

  phetioInherit( ObjectIO, 'VoidIO', VoidIO,

    // Instance methods
    {},

    // Static methods
    {
      documentation: 'Type for which there is no instance, usually to mark functions without a return value',

      /**
       * We sometimes use VoidIO as a workaround to indicate that an argument is passed in the simulation side, but
       * that it shouldn't be leaked to the PhET-iO client.
       * TODO: Have this reviewed by @zepumph
       *
       * @override
       * @public
       * @param {*} instance
       * @returns {boolean}
       */
      isInstance: function( instance ) { return true; },

      toStateObject: function() {
        return undefined;
      }
    }
  );
<commit_msg>remove todo, https://github.com/phetsims/scenery/issues/843<commit_after>// Copyright 2016-2018, University of Colorado Boulder

/**
 * IO type use to signify a function has no return value.
 *
 * @author <NAME> (PhET Interactive Simulations)
 * @author <NAME> (PhET Interactive Simulations)
 */
define( function( require ) {
  'use strict';

  // modules
  var ObjectIO = require( 'TANDEM/types/ObjectIO' );
  var phetioInherit = require( 'TANDEM/phetioInherit' );
  var tandemNamespace = require( 'TANDEM/tandemNamespace' );

  /**
   * @constructor
   */
  function VoidIO() {
    assert && assert( false, 'should never be called' );
  }

  phetioInherit( ObjectIO, 'VoidIO', VoidIO,

    // Instance methods
    {},

    // Static methods
    {
      documentation: 'Type for which there is no instance, usually to mark functions without a return value',

      /**
       * We sometimes use VoidIO as a workaround to indicate that an argument is passed in the simulation side, but
       * that it shouldn't be leaked to the PhET-iO client.
       *
       * @override
       * @public
       * @param {*} instance
       * @returns {boolean}
       */
      isInstance: function( instance ) { return true; },

      toStateObject: function() {
        return undefined;
      }
    }
  );

{'fraction_non_alphanumeric': 0.11042471042471043, 'fraction_numerical': 0.007335907335907336, 'mean_word_length': 2.6288515406162465, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 1, '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': '1955457', 'n_tokens_mistral': 808, 'n_tokens_neox': 757, 'n_words': 254}