| 1 | ## no critic qw(ProhibitUselessNoCritic PodSpelling ProhibitExcessMainComplexity) # DEVELOPER DEFAULT 1a: allow unreachable & POD-commented code; SYSTEM SPECIAL 4: allow complex code outside subroutines, must be on line 1 | ||
| 2 | package Perl::Structure::Hash::SubTypes3D; | ||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | use Perl::Config; # don't use Perl::Types inside itself, in order to avoid circular includes | ||
| 6 | our $VERSION = 0.002_000; | ||
| 7 | |||
| 8 | # [[[ CRITICS ]]] | ||
| 9 | ## no critic qw(ProhibitUselessNoCritic ProhibitMagicNumbers RequireCheckedSyscalls) # USER DEFAULT 1: allow numeric values & print operator | ||
| 10 | ## no critic qw(ProhibitUnreachableCode RequirePodSections RequirePodAtEnd) # DEVELOPER DEFAULT 1b: allow unreachable & POD-commented code, must be after line 1 | ||
| 11 | ## no critic qw(RequireInterpolationOfMetachars) # USER DEFAULT 2: allow single-quoted control characters & sigils | ||
| 12 | ## no critic qw(Capitalization ProhibitMultiplePackages ProhibitReusedNames) # SYSTEM DEFAULT 3: allow multiple & lower case package names | ||
| 13 | |||
| 14 | # [[[ EXPORTS ]]] | ||
| 15 | # DEV NOTE, CORRELATION #rp051: hard-coded list of RPerl data types and data structures | ||
| 16 | use Exporter 'import'; | ||
| 17 | our @EXPORT = qw(); | ||
| 18 | our @EXPORT_OK = qw(); | ||
| 19 | |||
| 20 | # [[[ HASH REF HASH REF HASH REF ]]] | ||
| 21 | # [[[ HASH REF HASH REF HASH REF ]]] | ||
| 22 | # [[[ HASH REF HASH REF HASH REF ]]] | ||
| 23 | |||
| 24 | # (ref to hash) of (refs to hashes) of (refs to hashes) | ||
| 25 | package hashref::hashref::hashref; | ||
| 26 | use strict; | ||
| 27 | use warnings; | ||
| 28 | use parent -norequire, qw(hashref); | ||
| 29 | |||
| 30 | # (ref to hash) of (refs to hashes) of (refs to (hashes of integers)) | ||
| 31 | package hashref::hashref::hashref::integer; | ||
| 32 | use strict; | ||
| 33 | use warnings; | ||
| 34 | use parent -norequire, qw(hashref::hashref::hashref); | ||
| 35 | |||
| 36 | # (ref to hash) of (refs to hashes) of (refs to (hashes of numbers)) | ||
| 37 | package hashref::hashref::hashref::number; | ||
| 38 | use strict; | ||
| 39 | use warnings; | ||
| 40 | use parent -norequire, qw(hashref::hashref::hashref); | ||
| 41 | |||
| 42 | # (ref to hash) of (refs to hashes) of (refs to (hashes of strings)) | ||
| 43 | package hashref::hashref::hashref::string; | ||
| 44 | use strict; | ||
| 45 | use warnings; | ||
| 46 | use parent -norequire, qw(hashref::hashref::hashref); | ||
| 47 | |||
| 48 | # (ref to hash) of (refs to hashes) of (refs to (hashes of scalars)) | ||
| 49 | package hashref::hashref::hashref::scalartype; | ||
| 50 | use strict; | ||
| 51 | use warnings; | ||
| 52 | use parent -norequire, qw(hashref::hashref::hashref); | ||
| 53 | |||
| 54 | # [[[ HASH REF HASH REF ARRAY REF ]]] | ||
| 55 | # [[[ HASH REF HASH REF ARRAY REF ]]] | ||
| 56 | # [[[ HASH REF HASH REF ARRAY REF ]]] | ||
| 57 | |||
| 58 | # (ref to hash) of (refs to hashes) of (refs to arrays) | ||
| 59 | package hashref::hashref::arrayref; | ||
| 60 | use strict; | ||
| 61 | use warnings; | ||
| 62 | use parent -norequire, qw(hashref); | ||
| 63 | |||
| 64 | # (ref to hash) of (refs to hashes) of (refs to (arrays of integers)) | ||
| 65 | package hashref::hashref::arrayref::integer; | ||
| 66 | use strict; | ||
| 67 | use warnings; | ||
| 68 | use parent -norequire, qw(hashref::hashref::arrayref); | ||
| 69 | |||
| 70 | # (ref to hash) of (refs to hashes) of (refs to (arrays of numbers)) | ||
| 71 | package hashref::hashref::arrayref::number; | ||
| 72 | use strict; | ||
| 73 | use warnings; | ||
| 74 | use parent -norequire, qw(hashref::hashref::arrayref); | ||
| 75 | |||
| 76 | # (ref to hash) of (refs to hashes) of (refs to (arrays of strings)) | ||
| 77 | package hashref::hashref::arrayref::string; | ||
| 78 | use strict; | ||
| 79 | use warnings; | ||
| 80 | use parent -norequire, qw(hashref::hashref::arrayref); | ||
| 81 | |||
| 82 | # (ref to hash) of (refs to hashes) of (refs to (arrays of scalars)) | ||
| 83 | package hashref::hashref::arrayref::scalartype; | ||
| 84 | use strict; | ||
| 85 | use warnings; | ||
| 86 | use parent -norequire, qw(hashref::hashref::arrayref); | ||
| 87 | |||
| 88 | # [[[ HASH REF ARRAY REF HASH REF ]]] | ||
| 89 | # [[[ HASH REF ARRAY REF HASH REF ]]] | ||
| 90 | # [[[ HASH REF ARRAY REF HASH REF ]]] | ||
| 91 | |||
| 92 | # (ref to hash) of (refs to arrays) of (refs to hashes) | ||
| 93 | package hashref::arrayref::hashref; | ||
| 94 | use strict; | ||
| 95 | use warnings; | ||
| 96 | use parent -norequire, qw(hashref); | ||
| 97 | |||
| 98 | # (ref to hash) of (refs to arrays) of (refs to (hashes of integers)) | ||
| 99 | package hashref::arrayref::hashref::integer; | ||
| 100 | use strict; | ||
| 101 | use warnings; | ||
| 102 | use parent -norequire, qw(hashref::arrayref::hashref); | ||
| 103 | |||
| 104 | # (ref to hash) of (refs to arrays) of (refs to (hashes of numbers)) | ||
| 105 | package hashref::arrayref::hashref::number; | ||
| 106 | use strict; | ||
| 107 | use warnings; | ||
| 108 | use parent -norequire, qw(hashref::arrayref::hashref); | ||
| 109 | |||
| 110 | # (ref to hash) of (refs to arrays) of (refs to (hashes of strings)) | ||
| 111 | package hashref::arrayref::hashref::string; | ||
| 112 | use strict; | ||
| 113 | use warnings; | ||
| 114 | use parent -norequire, qw(hashref::arrayref::hashref); | ||
| 115 | |||
| 116 | # (ref to hash) of (refs to arrays) of (refs to (hashes of scalars)) | ||
| 117 | package hashref::arrayref::hashref::scalartype; | ||
| 118 | use strict; | ||
| 119 | use warnings; | ||
| 120 | use parent -norequire, qw(hashref::arrayref::hashref); | ||
| 121 | |||
| 122 | # [[[ HASH REF ARRAY REF ARRAY REF ]]] | ||
| 123 | # [[[ HASH REF ARRAY REF ARRAY REF ]]] | ||
| 124 | # [[[ HASH REF ARRAY REF ARRAY REF ]]] | ||
| 125 | |||
| 126 | # (ref to hash) of (refs to arrays) of (refs to arrays) | ||
| 127 | package hashref::arrayref::arrayref; | ||
| 128 | use strict; | ||
| 129 | use warnings; | ||
| 130 | use parent -norequire, qw(hashref); | ||
| 131 | |||
| 132 | # (ref to hash) of (refs to arrays) of (refs to (arrays of integers)) | ||
| 133 | package hashref::arrayref::arrayref::integer; | ||
| 134 | use strict; | ||
| 135 | use warnings; | ||
| 136 | use parent -norequire, qw(hashref::arrayref::arrayref); | ||
| 137 | |||
| 138 | # (ref to hash) of (refs to arrays) of (refs to (arrays of numbers)) | ||
| 139 | package hashref::arrayref::arrayref::number; | ||
| 140 | use strict; | ||
| 141 | use warnings; | ||
| 142 | use parent -norequire, qw(hashref::arrayref::arrayref); | ||
| 143 | |||
| 144 | # (ref to hash) of (refs to arrays) of (refs to (arrays of strings)) | ||
| 145 | package hashref::arrayref::arrayref::string; | ||
| 146 | use strict; | ||
| 147 | use warnings; | ||
| 148 | use parent -norequire, qw(hashref::arrayref::arrayref); | ||
| 149 | |||
| 150 | # (ref to hash) of (refs to arrays) of (refs to (arrays of scalars)) | ||
| 151 | package hashref::arrayref::arrayref::scalartype; | ||
| 152 | use strict; | ||
| 153 | use warnings; | ||
| 154 | use parent -norequire, qw(hashref::arrayref::arrayref); | ||
| 155 | |||
| 156 | 1; # end of package | ||
| 157 |