function table() {
	var out;
	var i;

	out = {};
	for ( i = 0; i < enum2state.length; i++ ) {
		out[ enum2state[ i ] ] = i;
	}
	return out;
}
Returns a table mapping state names to enumeration constants.

@private
@returns {Object} mapping table