stupidedi 1.3.23 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/Rakefile +17 -92
- data/bin/edi-ed +8 -12
- data/bin/edi-obfuscate +8 -9
- data/bin/edi-pp +31 -25
- data/doc/{Transcribing.md → Defining.md} +0 -0
- data/doc/{unwritten/Parsing.md → Parsing.md} +0 -0
- data/doc/{unwritten/Tokenizing.md → Tokenizing.md} +0 -0
- data/doc/{unwritten/Validating.md → Validating.md} +0 -0
- data/lib/ruby/array.rb +1 -4
- data/lib/ruby/blank.rb +0 -3
- data/lib/ruby/exception.rb +13 -33
- data/lib/ruby/hash.rb +0 -2
- data/lib/ruby/module.rb +1 -3
- data/lib/ruby/object.rb +0 -13
- data/lib/ruby/string.rb +12 -3
- data/lib/ruby/to_d.rb +20 -25
- data/lib/ruby/to_date.rb +0 -3
- data/lib/ruby/to_time.rb +0 -3
- data/lib/ruby/try.rb +0 -3
- data/lib/stupidedi.rb +27 -41
- data/lib/stupidedi/builder.rb +3 -22
- data/lib/stupidedi/color.rb +4 -6
- data/lib/stupidedi/config.rb +77 -69
- data/lib/stupidedi/config/code_list_config.rb +0 -2
- data/lib/stupidedi/config/editor_config.rb +0 -2
- data/lib/stupidedi/config/functional_group_config.rb +3 -2
- data/lib/stupidedi/config/interchange_config.rb +5 -6
- data/lib/stupidedi/config/transaction_set_config.rb +17 -48
- data/lib/stupidedi/contrib.rb +41 -6
- data/lib/stupidedi/editor.rb +0 -3
- data/lib/stupidedi/editor/00401.rb +0 -3
- data/lib/stupidedi/editor/004010.rb +4 -8
- data/lib/stupidedi/editor/004010/N4.rb +0 -4
- data/lib/stupidedi/editor/00501.rb +0 -3
- data/lib/stupidedi/editor/005010.rb +5 -9
- data/lib/stupidedi/editor/005010/N4.rb +0 -4
- data/lib/stupidedi/editor/X12.rb +0 -5
- data/lib/stupidedi/editor/X222-HC837.rb +0 -5
- data/lib/stupidedi/editor/abstract_ed.rb +0 -2
- data/lib/stupidedi/editor/claim_ack.rb +0 -2
- data/lib/stupidedi/editor/implementation_ack.rb +2 -3
- data/lib/stupidedi/editor/interchange_ack.rb +0 -2
- data/lib/stupidedi/editor/result.rb +1 -6
- data/lib/stupidedi/editor/result_set.rb +1 -3
- data/lib/stupidedi/editor/transaction_set_ed.rb +23 -19
- data/lib/stupidedi/editor/transmission_ed.rb +0 -3
- data/lib/stupidedi/either.rb +0 -5
- data/lib/stupidedi/exceptions/invalid_element_error.rb +0 -2
- data/lib/stupidedi/exceptions/invalid_schema_error.rb +0 -2
- data/lib/stupidedi/exceptions/output_error.rb +0 -2
- data/lib/stupidedi/exceptions/parse_error.rb +0 -2
- data/lib/stupidedi/exceptions/stupidedi_error.rb +0 -2
- data/lib/stupidedi/exceptions/tokenize_error.rb +0 -2
- data/lib/stupidedi/exceptions/zipper_error.rb +0 -2
- data/lib/stupidedi/guides.rb +7 -3
- data/lib/stupidedi/inspect.rb +1 -4
- data/lib/stupidedi/interchanges.rb +11 -0
- data/lib/stupidedi/interchanges/00200.rb +12 -0
- data/lib/stupidedi/interchanges/00200/element_defs.rb +104 -0
- data/lib/stupidedi/interchanges/00200/interchange_def.rb +59 -0
- data/lib/stupidedi/interchanges/00200/segment_defs.rb +12 -0
- data/lib/stupidedi/interchanges/00200/segment_defs/IEA.rb +17 -0
- data/lib/stupidedi/interchanges/00200/segment_defs/ISA.rb +31 -0
- data/lib/stupidedi/interchanges/00200/segment_defs/TA1.rb +20 -0
- data/lib/stupidedi/interchanges/00300.rb +12 -0
- data/lib/stupidedi/interchanges/00300/element_defs.rb +105 -0
- data/lib/stupidedi/interchanges/00300/interchange_def.rb +59 -0
- data/lib/stupidedi/interchanges/00300/segment_defs.rb +12 -0
- data/lib/stupidedi/interchanges/00300/segment_defs/IEA.rb +17 -0
- data/lib/stupidedi/interchanges/00300/segment_defs/ISA.rb +31 -0
- data/lib/stupidedi/interchanges/00300/segment_defs/TA1.rb +20 -0
- data/lib/stupidedi/interchanges/00400.rb +12 -0
- data/lib/stupidedi/interchanges/00400/element_defs.rb +97 -0
- data/lib/stupidedi/interchanges/00400/interchange_def.rb +59 -0
- data/lib/stupidedi/interchanges/00400/segment_defs.rb +12 -0
- data/lib/stupidedi/interchanges/00400/segment_defs/IEA.rb +17 -0
- data/lib/stupidedi/interchanges/00400/segment_defs/ISA.rb +31 -0
- data/lib/stupidedi/interchanges/00400/segment_defs/TA1.rb +20 -0
- data/lib/stupidedi/interchanges/00401.rb +12 -0
- data/lib/stupidedi/interchanges/00401/element_defs.rb +96 -0
- data/lib/stupidedi/interchanges/00401/interchange_def.rb +59 -0
- data/lib/stupidedi/interchanges/00401/segment_defs.rb +12 -0
- data/lib/stupidedi/interchanges/00401/segment_defs/IEA.rb +17 -0
- data/lib/stupidedi/interchanges/00401/segment_defs/ISA.rb +31 -0
- data/lib/stupidedi/interchanges/00401/segment_defs/TA1.rb +20 -0
- data/lib/stupidedi/interchanges/00501.rb +12 -0
- data/lib/stupidedi/interchanges/00501/element_defs.rb +130 -0
- data/lib/stupidedi/interchanges/00501/interchange_def.rb +59 -0
- data/lib/stupidedi/interchanges/00501/segment_defs.rb +12 -0
- data/lib/stupidedi/interchanges/00501/segment_defs/IEA.rb +17 -0
- data/lib/stupidedi/interchanges/00501/segment_defs/ISA.rb +31 -0
- data/lib/stupidedi/interchanges/00501/segment_defs/ISB.rb +15 -0
- data/lib/stupidedi/interchanges/00501/segment_defs/ISE.rb +15 -0
- data/lib/stupidedi/interchanges/00501/segment_defs/TA1.rb +20 -0
- data/lib/stupidedi/interchanges/00501/segment_defs/TA3.rb +15 -0
- data/lib/stupidedi/interchanges/element_types.rb +11 -0
- data/lib/stupidedi/interchanges/element_types/separator_val.rb +79 -0
- data/lib/stupidedi/interchanges/element_types/special_val.rb +48 -0
- data/lib/stupidedi/parser.rb +32 -0
- data/lib/stupidedi/parser/builder_dsl.rb +289 -0
- data/lib/stupidedi/parser/constraint_table.rb +488 -0
- data/lib/stupidedi/parser/generation.rb +147 -0
- data/lib/stupidedi/parser/identifier_stack.rb +248 -0
- data/lib/stupidedi/parser/instruction.rb +112 -0
- data/lib/stupidedi/parser/instruction_table.rb +222 -0
- data/lib/stupidedi/parser/navigation.rb +786 -0
- data/lib/stupidedi/parser/state_machine.rb +62 -0
- data/lib/stupidedi/parser/states/abstract_state.rb +325 -0
- data/lib/stupidedi/parser/states/failure_state.rb +69 -0
- data/lib/stupidedi/parser/states/functional_group_state.rb +98 -0
- data/lib/stupidedi/parser/states/initial_state.rb +62 -0
- data/lib/stupidedi/parser/states/interchange_state.rb +93 -0
- data/lib/stupidedi/parser/states/loop_state.rb +80 -0
- data/lib/stupidedi/parser/states/table_state.rb +94 -0
- data/lib/stupidedi/parser/states/transaction_set_state.rb +118 -0
- data/lib/stupidedi/parser/states/transmission_state.rb +59 -0
- data/lib/stupidedi/parser/tokenization.rb +195 -0
- data/lib/stupidedi/reader.rb +0 -2
- data/lib/stupidedi/reader/input.rb +0 -3
- data/lib/stupidedi/reader/input/abstract_input.rb +4 -6
- data/lib/stupidedi/reader/input/delegated_input.rb +0 -5
- data/lib/stupidedi/reader/input/file_input.rb +10 -11
- data/lib/stupidedi/reader/position.rb +13 -8
- data/lib/stupidedi/reader/result.rb +5 -5
- data/lib/stupidedi/reader/segment_dict.rb +0 -3
- data/lib/stupidedi/reader/separators.rb +5 -4
- data/lib/stupidedi/reader/stream_reader.rb +3 -6
- data/lib/stupidedi/reader/token_reader.rb +0 -5
- data/lib/stupidedi/reader/tokens/component_element_tok.rb +4 -4
- data/lib/stupidedi/reader/tokens/composite_element_tok.rb +6 -5
- data/lib/stupidedi/reader/tokens/repeated_element_tok.rb +9 -2
- data/lib/stupidedi/reader/tokens/segment_tok.rb +7 -5
- data/lib/stupidedi/reader/tokens/simple_element_tok.rb +2 -4
- data/lib/stupidedi/schema.rb +17 -20
- data/lib/stupidedi/schema/abstract_def.rb +4 -6
- data/lib/stupidedi/schema/abstract_element_def.rb +35 -0
- data/lib/stupidedi/schema/abstract_element_use.rb +38 -0
- data/lib/stupidedi/schema/abstract_use.rb +6 -4
- data/lib/stupidedi/schema/code_list.rb +6 -5
- data/lib/stupidedi/schema/component_element_use.rb +74 -0
- data/lib/stupidedi/schema/composite_element_def.rb +103 -0
- data/lib/stupidedi/schema/composite_element_use.rb +73 -0
- data/lib/stupidedi/schema/element_req.rb +1 -4
- data/lib/stupidedi/schema/functional_group_def.rb +9 -3
- data/lib/stupidedi/schema/interchange_def.rb +9 -3
- data/lib/stupidedi/schema/loop_def.rb +11 -9
- data/lib/stupidedi/schema/repeat_count.rb +0 -3
- data/lib/stupidedi/schema/segment_def.rb +6 -4
- data/lib/stupidedi/schema/segment_req.rb +2 -3
- data/lib/stupidedi/schema/segment_use.rb +1 -4
- data/lib/stupidedi/schema/simple_element_def.rb +51 -0
- data/lib/stupidedi/schema/simple_element_use.rb +81 -0
- data/lib/stupidedi/schema/syntax_note.rb +1 -12
- data/lib/stupidedi/schema/table_def.rb +55 -18
- data/lib/stupidedi/schema/transaction_set_def.rb +25 -4
- data/lib/stupidedi/sets.rb +0 -3
- data/lib/stupidedi/transaction_sets.rb +14 -0
- data/lib/stupidedi/transaction_sets/002001.rb +11 -0
- data/lib/stupidedi/transaction_sets/002001/implementations.rb +23 -0
- data/lib/stupidedi/transaction_sets/002001/implementations/FA997.rb +66 -0
- data/lib/stupidedi/transaction_sets/002001/implementations/PO830.rb +160 -0
- data/lib/stupidedi/transaction_sets/002001/implementations/SH856.rb +190 -0
- data/lib/stupidedi/transaction_sets/002001/standards.rb +14 -0
- data/lib/stupidedi/transaction_sets/002001/standards/FA997.rb +31 -0
- data/lib/stupidedi/transaction_sets/002001/standards/PO830.rb +45 -0
- data/lib/stupidedi/transaction_sets/002001/standards/SH856.rb +38 -0
- data/lib/stupidedi/transaction_sets/003010.rb +11 -0
- data/lib/stupidedi/transaction_sets/003010/implementations.rb +24 -0
- data/lib/stupidedi/transaction_sets/003010/implementations/PC860.rb +140 -0
- data/lib/stupidedi/transaction_sets/003010/implementations/PO850.rb +132 -0
- data/lib/stupidedi/transaction_sets/003010/implementations/PS830.rb +150 -0
- data/lib/stupidedi/transaction_sets/003010/implementations/RA820.rb +158 -0
- data/lib/stupidedi/transaction_sets/003010/standards.rb +15 -0
- data/lib/stupidedi/transaction_sets/003010/standards/PC860.rb +49 -0
- data/lib/stupidedi/transaction_sets/003010/standards/PO850.rb +49 -0
- data/lib/stupidedi/transaction_sets/003010/standards/PS830.rb +49 -0
- data/lib/stupidedi/transaction_sets/003010/standards/RA820.rb +40 -0
- data/lib/stupidedi/transaction_sets/003040.rb +12 -0
- data/lib/stupidedi/transaction_sets/003040/implementations.rb +21 -0
- data/lib/stupidedi/transaction_sets/003040/implementations/WA142.rb +153 -0
- data/lib/stupidedi/transaction_sets/003040/standards.rb +12 -0
- data/lib/stupidedi/transaction_sets/003040/standards/WA142.rb +53 -0
- data/lib/stupidedi/transaction_sets/003050.rb +12 -0
- data/lib/stupidedi/transaction_sets/003050/implementations.rb +21 -0
- data/lib/stupidedi/transaction_sets/003050/implementations/PO850.rb +77 -0
- data/lib/stupidedi/transaction_sets/003050/standards.rb +12 -0
- data/lib/stupidedi/transaction_sets/003050/standards/PO850.rb +41 -0
- data/lib/stupidedi/transaction_sets/004010.rb +12 -0
- data/lib/stupidedi/transaction_sets/004010/implementations.rb +38 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/AR943.rb +72 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/FA997.rb +65 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/GF990.rb +40 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/IM210.rb +221 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/OW940.rb +98 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/PO850.rb +108 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/PS830.rb +143 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/QM214.rb +106 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/RE944.rb +63 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/SH856.rb +156 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/SM204.rb +391 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/SQ866.rb +103 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/SS862.rb +154 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/SW945.rb +99 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/X091A1-HP835.rb +481 -0
- data/lib/stupidedi/transaction_sets/004010/standards.rb +28 -0
- data/lib/stupidedi/transaction_sets/004010/standards/AR943.rb +34 -0
- data/lib/stupidedi/transaction_sets/004010/standards/FA997.rb +31 -0
- data/lib/stupidedi/transaction_sets/004010/standards/GF990.rb +21 -0
- data/lib/stupidedi/transaction_sets/004010/standards/HP835.rb +61 -0
- data/lib/stupidedi/transaction_sets/004010/standards/IM210.rb +47 -0
- data/lib/stupidedi/transaction_sets/004010/standards/OW940.rb +43 -0
- data/lib/stupidedi/transaction_sets/004010/standards/PO850.rb +50 -0
- data/lib/stupidedi/transaction_sets/004010/standards/PR855.rb +35 -0
- data/lib/stupidedi/transaction_sets/004010/standards/PS830.rb +43 -0
- data/lib/stupidedi/transaction_sets/004010/standards/QM214.rb +41 -0
- data/lib/stupidedi/transaction_sets/004010/standards/RE944.rb +34 -0
- data/lib/stupidedi/transaction_sets/004010/standards/SC832.rb +37 -0
- data/lib/stupidedi/transaction_sets/004010/standards/SH856.rb +40 -0
- data/lib/stupidedi/transaction_sets/004010/standards/SM204.rb +85 -0
- data/lib/stupidedi/transaction_sets/004010/standards/SQ866.rb +32 -0
- data/lib/stupidedi/transaction_sets/004010/standards/SS862.rb +42 -0
- data/lib/stupidedi/transaction_sets/004010/standards/SW945.rb +43 -0
- data/lib/stupidedi/transaction_sets/005010.rb +11 -0
- data/lib/stupidedi/transaction_sets/005010/implementations.rb +88 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X212-HR276.rb +329 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X214-HN277.rb +356 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X220-BE834.rb +15 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X220A1-BE834.rb +623 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X221-HP835.rb +15 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X221A1-HP835.rb +556 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X222-HC837.rb +15 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X222-HC837P.rb +15 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X222A1-HC837.rb +2033 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X222A1-HC837P.rb +15 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X223-HC837.rb +15 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X223-HC837I.rb +15 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X223A1-HC837.rb +15 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X223A2-HC837.rb +2390 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X223A3-HC837.rb +2595 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X231-FA999.rb +15 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X231A1-FA999.rb +106 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X279-HB271.rb +749 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X279-HS270.rb +533 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X279A1-HB271.rb +751 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X279A1-HS270.rb +533 -0
- data/lib/stupidedi/transaction_sets/005010/standards.rb +22 -0
- data/lib/stupidedi/transaction_sets/005010/standards/BE834.rb +171 -0
- data/lib/stupidedi/transaction_sets/005010/standards/FA997.rb +31 -0
- data/lib/stupidedi/transaction_sets/005010/standards/FA999.rb +35 -0
- data/lib/stupidedi/transaction_sets/005010/standards/HB271.rb +95 -0
- data/lib/stupidedi/transaction_sets/005010/standards/HC837.rb +161 -0
- data/lib/stupidedi/transaction_sets/005010/standards/HI278.rb +62 -0
- data/lib/stupidedi/transaction_sets/005010/standards/HN277.rb +71 -0
- data/lib/stupidedi/transaction_sets/005010/standards/HP835.rb +65 -0
- data/lib/stupidedi/transaction_sets/005010/standards/HR276.rb +54 -0
- data/lib/stupidedi/transaction_sets/005010/standards/HS270.rb +50 -0
- data/lib/stupidedi/transaction_sets/005010/standards/RA820.rb +238 -0
- data/lib/stupidedi/transaction_sets/builder.rb +184 -0
- data/lib/stupidedi/transaction_sets/common.rb +8 -0
- data/lib/stupidedi/transaction_sets/common/implementations.rb +11 -0
- data/lib/stupidedi/transaction_sets/common/implementations/element_reqs.rb +37 -0
- data/lib/stupidedi/transaction_sets/common/implementations/segment_reqs.rb +31 -0
- data/lib/stupidedi/transaction_sets/validation.rb +9 -0
- data/lib/stupidedi/transaction_sets/validation/ambiguity.rb +391 -0
- data/lib/stupidedi/transaction_sets/validation/implementation.rb +12 -0
- data/lib/stupidedi/values.rb +0 -1
- data/lib/stupidedi/values/abstract_element_val.rb +0 -4
- data/lib/stupidedi/values/abstract_val.rb +3 -4
- data/lib/stupidedi/values/composite_element_val.rb +3 -8
- data/lib/stupidedi/values/functional_group_val.rb +3 -4
- data/lib/stupidedi/values/interchange_val.rb +3 -4
- data/lib/stupidedi/values/invalid_envelope_val.rb +2 -6
- data/lib/stupidedi/values/invalid_segment_val.rb +16 -9
- data/lib/stupidedi/values/loop_val.rb +3 -4
- data/lib/stupidedi/values/repeated_element_val.rb +5 -7
- data/lib/stupidedi/values/segment_val.rb +7 -11
- data/lib/stupidedi/values/segment_val_group.rb +0 -4
- data/lib/stupidedi/values/simple_element_val.rb +2 -7
- data/lib/stupidedi/values/table_val.rb +3 -4
- data/lib/stupidedi/values/transaction_set_val.rb +3 -4
- data/lib/stupidedi/values/transmission_val.rb +5 -5
- data/lib/stupidedi/version.rb +1 -2
- data/lib/stupidedi/versions.rb +11 -3
- data/lib/stupidedi/versions/002001.rb +14 -0
- data/lib/stupidedi/versions/002001/element_defs.rb +10576 -0
- data/lib/stupidedi/versions/002001/element_reqs.rb +12 -0
- data/lib/stupidedi/versions/002001/element_types.rb +28 -0
- data/lib/stupidedi/versions/002001/element_types/an.rb +11 -0
- data/lib/stupidedi/versions/002001/element_types/dt.rb +11 -0
- data/lib/stupidedi/versions/002001/element_types/float_val.rb +11 -0
- data/lib/stupidedi/versions/002001/element_types/id.rb +11 -0
- data/lib/stupidedi/versions/002001/element_types/nn.rb +11 -0
- data/lib/stupidedi/versions/002001/element_types/tm.rb +11 -0
- data/lib/stupidedi/versions/002001/functional_group_def.rb +24 -0
- data/lib/stupidedi/versions/002001/segment_defs.rb +88 -0
- data/lib/stupidedi/versions/002001/segment_defs/AK1.rb +17 -0
- data/lib/stupidedi/versions/002001/segment_defs/AK2.rb +17 -0
- data/lib/stupidedi/versions/002001/segment_defs/AK3.rb +18 -0
- data/lib/stupidedi/versions/002001/segment_defs/AK4.rb +20 -0
- data/lib/stupidedi/versions/002001/segment_defs/AK5.rb +22 -0
- data/lib/stupidedi/versions/002001/segment_defs/AK9.rb +23 -0
- data/lib/stupidedi/versions/002001/segment_defs/AT7.rb +29 -0
- data/lib/stupidedi/versions/002001/segment_defs/AT8.rb +25 -0
- data/lib/stupidedi/versions/002001/segment_defs/ATH.rb +21 -0
- data/lib/stupidedi/versions/002001/segment_defs/B1.rb +20 -0
- data/lib/stupidedi/versions/002001/segment_defs/B10.rb +26 -0
- data/lib/stupidedi/versions/002001/segment_defs/B2.rb +27 -0
- data/lib/stupidedi/versions/002001/segment_defs/B2A.rb +17 -0
- data/lib/stupidedi/versions/002001/segment_defs/BEG.rb +28 -0
- data/lib/stupidedi/versions/002001/segment_defs/BFR.rb +27 -0
- data/lib/stupidedi/versions/002001/segment_defs/BSN.rb +24 -0
- data/lib/stupidedi/versions/002001/segment_defs/CTT.rb +25 -0
- data/lib/stupidedi/versions/002001/segment_defs/CUR.rb +51 -0
- data/lib/stupidedi/versions/002001/segment_defs/DTM.rb +25 -0
- data/lib/stupidedi/versions/002001/segment_defs/FST.rb +24 -0
- data/lib/stupidedi/versions/002001/segment_defs/G61.rb +22 -0
- data/lib/stupidedi/versions/002001/segment_defs/G62.rb +22 -0
- data/lib/stupidedi/versions/002001/segment_defs/G69.rb +16 -0
- data/lib/stupidedi/versions/002001/segment_defs/GE.rb +18 -0
- data/lib/stupidedi/versions/002001/segment_defs/GS.rb +24 -0
- data/lib/stupidedi/versions/002001/segment_defs/HL.rb +20 -0
- data/lib/stupidedi/versions/002001/segment_defs/J2X.rb +18 -0
- data/lib/stupidedi/versions/002001/segment_defs/K1.rb +18 -0
- data/lib/stupidedi/versions/002001/segment_defs/L11.rb +21 -0
- data/lib/stupidedi/versions/002001/segment_defs/L3.rb +37 -0
- data/lib/stupidedi/versions/002001/segment_defs/L5.rb +29 -0
- data/lib/stupidedi/versions/002001/segment_defs/LFH.rb +25 -0
- data/lib/stupidedi/versions/002001/segment_defs/LH1.rb +29 -0
- data/lib/stupidedi/versions/002001/segment_defs/LH2.rb +32 -0
- data/lib/stupidedi/versions/002001/segment_defs/LH3.rb +21 -0
- data/lib/stupidedi/versions/002001/segment_defs/LIN.rb +47 -0
- data/lib/stupidedi/versions/002001/segment_defs/LX.rb +16 -0
- data/lib/stupidedi/versions/002001/segment_defs/M7.rb +21 -0
- data/lib/stupidedi/versions/002001/segment_defs/MAN.rb +17 -0
- data/lib/stupidedi/versions/002001/segment_defs/MEA.rb +22 -0
- data/lib/stupidedi/versions/002001/segment_defs/MS1.rb +33 -0
- data/lib/stupidedi/versions/002001/segment_defs/MS2.rb +22 -0
- data/lib/stupidedi/versions/002001/segment_defs/MS3.rb +21 -0
- data/lib/stupidedi/versions/002001/segment_defs/N1.rb +19 -0
- data/lib/stupidedi/versions/002001/segment_defs/N2.rb +17 -0
- data/lib/stupidedi/versions/002001/segment_defs/N3.rb +17 -0
- data/lib/stupidedi/versions/002001/segment_defs/N4.rb +25 -0
- data/lib/stupidedi/versions/002001/segment_defs/N7.rb +42 -0
- data/lib/stupidedi/versions/002001/segment_defs/N9.rb +25 -0
- data/lib/stupidedi/versions/002001/segment_defs/NTE.rb +18 -0
- data/lib/stupidedi/versions/002001/segment_defs/PER.rb +28 -0
- data/lib/stupidedi/versions/002001/segment_defs/PID.rb +29 -0
- data/lib/stupidedi/versions/002001/segment_defs/PLD.rb +21 -0
- data/lib/stupidedi/versions/002001/segment_defs/PO1.rb +52 -0
- data/lib/stupidedi/versions/002001/segment_defs/PO4.rb +20 -0
- data/lib/stupidedi/versions/002001/segment_defs/REF.rb +20 -0
- data/lib/stupidedi/versions/002001/segment_defs/S5.rb +29 -0
- data/lib/stupidedi/versions/002001/segment_defs/SDP.rb +17 -0
- data/lib/stupidedi/versions/002001/segment_defs/SE.rb +19 -0
- data/lib/stupidedi/versions/002001/segment_defs/SN1.rb +24 -0
- data/lib/stupidedi/versions/002001/segment_defs/ST.rb +17 -0
- data/lib/stupidedi/versions/002001/segment_defs/TD1.rb +27 -0
- data/lib/stupidedi/versions/002001/segment_defs/TD3.rb +20 -0
- data/lib/stupidedi/versions/002001/segment_defs/TD5.rb +21 -0
- data/lib/stupidedi/versions/002001/segment_defs/UNT.rb +16 -0
- data/lib/stupidedi/versions/002001/segment_defs/W01.rb +37 -0
- data/lib/stupidedi/versions/002001/segment_defs/W03.rb +25 -0
- data/lib/stupidedi/versions/002001/segment_defs/W04.rb +35 -0
- data/lib/stupidedi/versions/002001/segment_defs/W05.rb +24 -0
- data/lib/stupidedi/versions/002001/segment_defs/W06.rb +29 -0
- data/lib/stupidedi/versions/002001/segment_defs/W07.rb +30 -0
- data/lib/stupidedi/versions/002001/segment_defs/W08.rb +26 -0
- data/lib/stupidedi/versions/002001/segment_defs/W12.rb +43 -0
- data/lib/stupidedi/versions/002001/segment_defs/W14.rb +20 -0
- data/lib/stupidedi/versions/002001/segment_defs/W17.rb +26 -0
- data/lib/stupidedi/versions/002001/segment_defs/W20.rb +28 -0
- data/lib/stupidedi/versions/002001/segment_defs/W27.rb +26 -0
- data/lib/stupidedi/versions/002001/segment_defs/W66.rb +26 -0
- data/lib/stupidedi/versions/002001/segment_defs/W76.rb +24 -0
- data/lib/stupidedi/versions/002001/segment_reqs.rb +11 -0
- data/lib/stupidedi/versions/002001/syntax_notes.rb +14 -0
- data/lib/stupidedi/versions/003010.rb +14 -0
- data/lib/stupidedi/versions/003010/element_defs.rb +9152 -0
- data/lib/stupidedi/versions/003010/element_reqs.rb +13 -0
- data/lib/stupidedi/versions/003010/element_types.rb +28 -0
- data/lib/stupidedi/versions/003010/element_types/an.rb +11 -0
- data/lib/stupidedi/versions/003010/element_types/dt.rb +11 -0
- data/lib/stupidedi/versions/003010/element_types/float_val.rb +11 -0
- data/lib/stupidedi/versions/003010/element_types/id.rb +11 -0
- data/lib/stupidedi/versions/003010/element_types/nn.rb +11 -0
- data/lib/stupidedi/versions/003010/element_types/tm.rb +11 -0
- data/lib/stupidedi/versions/003010/functional_group_def.rb +24 -0
- data/lib/stupidedi/versions/003010/segment_defs.rb +94 -0
- data/lib/stupidedi/versions/003010/segment_defs/AK1.rb +17 -0
- data/lib/stupidedi/versions/003010/segment_defs/AK2.rb +17 -0
- data/lib/stupidedi/versions/003010/segment_defs/AK3.rb +18 -0
- data/lib/stupidedi/versions/003010/segment_defs/AK9.rb +23 -0
- data/lib/stupidedi/versions/003010/segment_defs/AT7.rb +29 -0
- data/lib/stupidedi/versions/003010/segment_defs/AT8.rb +25 -0
- data/lib/stupidedi/versions/003010/segment_defs/B1.rb +20 -0
- data/lib/stupidedi/versions/003010/segment_defs/B10.rb +26 -0
- data/lib/stupidedi/versions/003010/segment_defs/B2.rb +27 -0
- data/lib/stupidedi/versions/003010/segment_defs/B2A.rb +17 -0
- data/lib/stupidedi/versions/003010/segment_defs/BCH.rb +22 -0
- data/lib/stupidedi/versions/003010/segment_defs/BEG.rb +21 -0
- data/lib/stupidedi/versions/003010/segment_defs/BFR.rb +29 -0
- data/lib/stupidedi/versions/003010/segment_defs/BPS.rb +32 -0
- data/lib/stupidedi/versions/003010/segment_defs/BSN.rb +24 -0
- data/lib/stupidedi/versions/003010/segment_defs/CTT.rb +18 -0
- data/lib/stupidedi/versions/003010/segment_defs/CUR.rb +19 -0
- data/lib/stupidedi/versions/003010/segment_defs/DTM.rb +17 -0
- data/lib/stupidedi/versions/003010/segment_defs/FOB.rb +22 -0
- data/lib/stupidedi/versions/003010/segment_defs/FST.rb +24 -0
- data/lib/stupidedi/versions/003010/segment_defs/G61.rb +22 -0
- data/lib/stupidedi/versions/003010/segment_defs/G62.rb +22 -0
- data/lib/stupidedi/versions/003010/segment_defs/G69.rb +16 -0
- data/lib/stupidedi/versions/003010/segment_defs/GE.rb +18 -0
- data/lib/stupidedi/versions/003010/segment_defs/GS.rb +24 -0
- data/lib/stupidedi/versions/003010/segment_defs/HL.rb +20 -0
- data/lib/stupidedi/versions/003010/segment_defs/ITD.rb +28 -0
- data/lib/stupidedi/versions/003010/segment_defs/K1.rb +18 -0
- data/lib/stupidedi/versions/003010/segment_defs/L11.rb +21 -0
- data/lib/stupidedi/versions/003010/segment_defs/L3.rb +37 -0
- data/lib/stupidedi/versions/003010/segment_defs/L5.rb +29 -0
- data/lib/stupidedi/versions/003010/segment_defs/LE.rb +17 -0
- data/lib/stupidedi/versions/003010/segment_defs/LFH.rb +25 -0
- data/lib/stupidedi/versions/003010/segment_defs/LH1.rb +29 -0
- data/lib/stupidedi/versions/003010/segment_defs/LH2.rb +32 -0
- data/lib/stupidedi/versions/003010/segment_defs/LH3.rb +21 -0
- data/lib/stupidedi/versions/003010/segment_defs/LIN.rb +47 -0
- data/lib/stupidedi/versions/003010/segment_defs/LS.rb +16 -0
- data/lib/stupidedi/versions/003010/segment_defs/LX.rb +16 -0
- data/lib/stupidedi/versions/003010/segment_defs/M7.rb +21 -0
- data/lib/stupidedi/versions/003010/segment_defs/MAN.rb +23 -0
- data/lib/stupidedi/versions/003010/segment_defs/MEA.rb +22 -0
- data/lib/stupidedi/versions/003010/segment_defs/MS1.rb +33 -0
- data/lib/stupidedi/versions/003010/segment_defs/MS2.rb +22 -0
- data/lib/stupidedi/versions/003010/segment_defs/MS3.rb +21 -0
- data/lib/stupidedi/versions/003010/segment_defs/MSG.rb +17 -0
- data/lib/stupidedi/versions/003010/segment_defs/N1.rb +19 -0
- data/lib/stupidedi/versions/003010/segment_defs/N2.rb +17 -0
- data/lib/stupidedi/versions/003010/segment_defs/N3.rb +17 -0
- data/lib/stupidedi/versions/003010/segment_defs/N4.rb +19 -0
- data/lib/stupidedi/versions/003010/segment_defs/N7.rb +42 -0
- data/lib/stupidedi/versions/003010/segment_defs/N9.rb +18 -0
- data/lib/stupidedi/versions/003010/segment_defs/NTE.rb +18 -0
- data/lib/stupidedi/versions/003010/segment_defs/PER.rb +28 -0
- data/lib/stupidedi/versions/003010/segment_defs/PID.rb +20 -0
- data/lib/stupidedi/versions/003010/segment_defs/PLD.rb +21 -0
- data/lib/stupidedi/versions/003010/segment_defs/PO1.rb +25 -0
- data/lib/stupidedi/versions/003010/segment_defs/PO4.rb +20 -0
- data/lib/stupidedi/versions/003010/segment_defs/POC.rb +26 -0
- data/lib/stupidedi/versions/003010/segment_defs/REF.rb +18 -0
- data/lib/stupidedi/versions/003010/segment_defs/RMT.rb +25 -0
- data/lib/stupidedi/versions/003010/segment_defs/S5.rb +29 -0
- data/lib/stupidedi/versions/003010/segment_defs/SDP.rb +18 -0
- data/lib/stupidedi/versions/003010/segment_defs/SE.rb +19 -0
- data/lib/stupidedi/versions/003010/segment_defs/SHP.rb +20 -0
- data/lib/stupidedi/versions/003010/segment_defs/SN1.rb +24 -0
- data/lib/stupidedi/versions/003010/segment_defs/ST.rb +18 -0
- data/lib/stupidedi/versions/003010/segment_defs/TD1.rb +27 -0
- data/lib/stupidedi/versions/003010/segment_defs/TD3.rb +20 -0
- data/lib/stupidedi/versions/003010/segment_defs/TD5.rb +21 -0
- data/lib/stupidedi/versions/003010/segment_defs/UIT.rb +18 -0
- data/lib/stupidedi/versions/003010/segment_defs/W01.rb +37 -0
- data/lib/stupidedi/versions/003010/segment_defs/W03.rb +25 -0
- data/lib/stupidedi/versions/003010/segment_defs/W04.rb +35 -0
- data/lib/stupidedi/versions/003010/segment_defs/W05.rb +24 -0
- data/lib/stupidedi/versions/003010/segment_defs/W06.rb +29 -0
- data/lib/stupidedi/versions/003010/segment_defs/W07.rb +30 -0
- data/lib/stupidedi/versions/003010/segment_defs/W08.rb +26 -0
- data/lib/stupidedi/versions/003010/segment_defs/W12.rb +43 -0
- data/lib/stupidedi/versions/003010/segment_defs/W14.rb +20 -0
- data/lib/stupidedi/versions/003010/segment_defs/W17.rb +26 -0
- data/lib/stupidedi/versions/003010/segment_defs/W20.rb +28 -0
- data/lib/stupidedi/versions/003010/segment_defs/W27.rb +27 -0
- data/lib/stupidedi/versions/003010/segment_defs/W66.rb +26 -0
- data/lib/stupidedi/versions/003010/segment_defs/W76.rb +24 -0
- data/lib/stupidedi/versions/003010/segment_reqs.rb +11 -0
- data/lib/stupidedi/versions/003010/syntax_notes.rb +14 -0
- data/lib/stupidedi/versions/003040.rb +14 -0
- data/lib/stupidedi/versions/003040/element_defs.rb +10608 -0
- data/lib/stupidedi/versions/003040/element_reqs.rb +12 -0
- data/lib/stupidedi/versions/003040/element_types.rb +28 -0
- data/lib/stupidedi/versions/003040/element_types/date_val.rb +11 -0
- data/lib/stupidedi/versions/003040/element_types/fixnum_val.rb +11 -0
- data/lib/stupidedi/versions/003040/element_types/float_val.rb +11 -0
- data/lib/stupidedi/versions/003040/element_types/identifier_val.rb +11 -0
- data/lib/stupidedi/versions/003040/element_types/time_val.rb +11 -0
- data/lib/stupidedi/versions/003040/functional_group_def.rb +24 -0
- data/lib/stupidedi/versions/003040/segment_defs.rb +95 -0
- data/lib/stupidedi/versions/003040/segment_defs/AK1.rb +17 -0
- data/lib/stupidedi/versions/003040/segment_defs/AK2.rb +17 -0
- data/lib/stupidedi/versions/003040/segment_defs/AK3.rb +18 -0
- data/lib/stupidedi/versions/003040/segment_defs/AK9.rb +23 -0
- data/lib/stupidedi/versions/003040/segment_defs/AMT.rb +17 -0
- data/lib/stupidedi/versions/003040/segment_defs/AT7.rb +29 -0
- data/lib/stupidedi/versions/003040/segment_defs/AT8.rb +25 -0
- data/lib/stupidedi/versions/003040/segment_defs/B1.rb +20 -0
- data/lib/stupidedi/versions/003040/segment_defs/B10.rb +26 -0
- data/lib/stupidedi/versions/003040/segment_defs/B2.rb +27 -0
- data/lib/stupidedi/versions/003040/segment_defs/B2A.rb +17 -0
- data/lib/stupidedi/versions/003040/segment_defs/BEG.rb +21 -0
- data/lib/stupidedi/versions/003040/segment_defs/BGN.rb +18 -0
- data/lib/stupidedi/versions/003040/segment_defs/BPS.rb +25 -0
- data/lib/stupidedi/versions/003040/segment_defs/BSN.rb +24 -0
- data/lib/stupidedi/versions/003040/segment_defs/CTT.rb +25 -0
- data/lib/stupidedi/versions/003040/segment_defs/CUR.rb +19 -0
- data/lib/stupidedi/versions/003040/segment_defs/DTM.rb +18 -0
- data/lib/stupidedi/versions/003040/segment_defs/FOB.rb +20 -0
- data/lib/stupidedi/versions/003040/segment_defs/G61.rb +22 -0
- data/lib/stupidedi/versions/003040/segment_defs/G62.rb +22 -0
- data/lib/stupidedi/versions/003040/segment_defs/G69.rb +16 -0
- data/lib/stupidedi/versions/003040/segment_defs/GE.rb +17 -0
- data/lib/stupidedi/versions/003040/segment_defs/GS.rb +24 -0
- data/lib/stupidedi/versions/003040/segment_defs/HL.rb +20 -0
- data/lib/stupidedi/versions/003040/segment_defs/IT1.rb +20 -0
- data/lib/stupidedi/versions/003040/segment_defs/ITD.rb +28 -0
- data/lib/stupidedi/versions/003040/segment_defs/K1.rb +18 -0
- data/lib/stupidedi/versions/003040/segment_defs/L11.rb +21 -0
- data/lib/stupidedi/versions/003040/segment_defs/L3.rb +37 -0
- data/lib/stupidedi/versions/003040/segment_defs/L5.rb +29 -0
- data/lib/stupidedi/versions/003040/segment_defs/LE.rb +17 -0
- data/lib/stupidedi/versions/003040/segment_defs/LFH.rb +25 -0
- data/lib/stupidedi/versions/003040/segment_defs/LH1.rb +29 -0
- data/lib/stupidedi/versions/003040/segment_defs/LH2.rb +32 -0
- data/lib/stupidedi/versions/003040/segment_defs/LH3.rb +21 -0
- data/lib/stupidedi/versions/003040/segment_defs/LIN.rb +33 -0
- data/lib/stupidedi/versions/003040/segment_defs/LS.rb +16 -0
- data/lib/stupidedi/versions/003040/segment_defs/LX.rb +16 -0
- data/lib/stupidedi/versions/003040/segment_defs/M7.rb +21 -0
- data/lib/stupidedi/versions/003040/segment_defs/MAN.rb +23 -0
- data/lib/stupidedi/versions/003040/segment_defs/MEA.rb +22 -0
- data/lib/stupidedi/versions/003040/segment_defs/MS1.rb +33 -0
- data/lib/stupidedi/versions/003040/segment_defs/MS2.rb +22 -0
- data/lib/stupidedi/versions/003040/segment_defs/MS3.rb +21 -0
- data/lib/stupidedi/versions/003040/segment_defs/MSG.rb +17 -0
- data/lib/stupidedi/versions/003040/segment_defs/N1.rb +19 -0
- data/lib/stupidedi/versions/003040/segment_defs/N2.rb +17 -0
- data/lib/stupidedi/versions/003040/segment_defs/N3.rb +17 -0
- data/lib/stupidedi/versions/003040/segment_defs/N4.rb +19 -0
- data/lib/stupidedi/versions/003040/segment_defs/N7.rb +42 -0
- data/lib/stupidedi/versions/003040/segment_defs/N9.rb +18 -0
- data/lib/stupidedi/versions/003040/segment_defs/NTE.rb +18 -0
- data/lib/stupidedi/versions/003040/segment_defs/PER.rb +20 -0
- data/lib/stupidedi/versions/003040/segment_defs/PID.rb +20 -0
- data/lib/stupidedi/versions/003040/segment_defs/PLD.rb +21 -0
- data/lib/stupidedi/versions/003040/segment_defs/PO1.rb +25 -0
- data/lib/stupidedi/versions/003040/segment_defs/PO4.rb +20 -0
- data/lib/stupidedi/versions/003040/segment_defs/PRR.rb +21 -0
- data/lib/stupidedi/versions/003040/segment_defs/QTY.rb +18 -0
- data/lib/stupidedi/versions/003040/segment_defs/REF.rb +18 -0
- data/lib/stupidedi/versions/003040/segment_defs/REP.rb +19 -0
- data/lib/stupidedi/versions/003040/segment_defs/RMT.rb +25 -0
- data/lib/stupidedi/versions/003040/segment_defs/S5.rb +29 -0
- data/lib/stupidedi/versions/003040/segment_defs/SE.rb +19 -0
- data/lib/stupidedi/versions/003040/segment_defs/SN1.rb +24 -0
- data/lib/stupidedi/versions/003040/segment_defs/SSS.rb +24 -0
- data/lib/stupidedi/versions/003040/segment_defs/ST.rb +18 -0
- data/lib/stupidedi/versions/003040/segment_defs/TD1.rb +27 -0
- data/lib/stupidedi/versions/003040/segment_defs/TD3.rb +20 -0
- data/lib/stupidedi/versions/003040/segment_defs/TD5.rb +18 -0
- data/lib/stupidedi/versions/003040/segment_defs/TDS.rb +16 -0
- data/lib/stupidedi/versions/003040/segment_defs/W01.rb +37 -0
- data/lib/stupidedi/versions/003040/segment_defs/W03.rb +25 -0
- data/lib/stupidedi/versions/003040/segment_defs/W04.rb +35 -0
- data/lib/stupidedi/versions/003040/segment_defs/W05.rb +24 -0
- data/lib/stupidedi/versions/003040/segment_defs/W06.rb +29 -0
- data/lib/stupidedi/versions/003040/segment_defs/W07.rb +30 -0
- data/lib/stupidedi/versions/003040/segment_defs/W08.rb +26 -0
- data/lib/stupidedi/versions/003040/segment_defs/W12.rb +43 -0
- data/lib/stupidedi/versions/003040/segment_defs/W14.rb +20 -0
- data/lib/stupidedi/versions/003040/segment_defs/W17.rb +26 -0
- data/lib/stupidedi/versions/003040/segment_defs/W20.rb +28 -0
- data/lib/stupidedi/versions/003040/segment_defs/W27.rb +27 -0
- data/lib/stupidedi/versions/003040/segment_defs/W66.rb +26 -0
- data/lib/stupidedi/versions/003040/segment_defs/W76.rb +24 -0
- data/lib/stupidedi/versions/003040/segment_reqs.rb +11 -0
- data/lib/stupidedi/versions/003040/syntax_notes.rb +14 -0
- data/lib/stupidedi/versions/003050.rb +14 -0
- data/lib/stupidedi/versions/003050/element_defs.rb +10612 -0
- data/lib/stupidedi/versions/003050/element_reqs.rb +12 -0
- data/lib/stupidedi/versions/003050/element_types.rb +28 -0
- data/lib/stupidedi/versions/003050/element_types/an.rb +11 -0
- data/lib/stupidedi/versions/003050/element_types/dt.rb +11 -0
- data/lib/stupidedi/versions/003050/element_types/float_val.rb +11 -0
- data/lib/stupidedi/versions/003050/element_types/id.rb +11 -0
- data/lib/stupidedi/versions/003050/element_types/nn.rb +11 -0
- data/lib/stupidedi/versions/003050/element_types/tm.rb +11 -0
- data/lib/stupidedi/versions/003050/functional_group_def.rb +24 -0
- data/lib/stupidedi/versions/003050/segment_defs.rb +95 -0
- data/lib/stupidedi/versions/003050/segment_defs/AK1.rb +17 -0
- data/lib/stupidedi/versions/003050/segment_defs/AK2.rb +17 -0
- data/lib/stupidedi/versions/003050/segment_defs/AK3.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/AK9.rb +23 -0
- data/lib/stupidedi/versions/003050/segment_defs/AMT.rb +17 -0
- data/lib/stupidedi/versions/003050/segment_defs/AT7.rb +29 -0
- data/lib/stupidedi/versions/003050/segment_defs/AT8.rb +25 -0
- data/lib/stupidedi/versions/003050/segment_defs/B1.rb +20 -0
- data/lib/stupidedi/versions/003050/segment_defs/B10.rb +26 -0
- data/lib/stupidedi/versions/003050/segment_defs/B2.rb +27 -0
- data/lib/stupidedi/versions/003050/segment_defs/B2A.rb +17 -0
- data/lib/stupidedi/versions/003050/segment_defs/BEG.rb +21 -0
- data/lib/stupidedi/versions/003050/segment_defs/BGN.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/BPS.rb +25 -0
- data/lib/stupidedi/versions/003050/segment_defs/BSN.rb +24 -0
- data/lib/stupidedi/versions/003050/segment_defs/CTT.rb +17 -0
- data/lib/stupidedi/versions/003050/segment_defs/CUR.rb +19 -0
- data/lib/stupidedi/versions/003050/segment_defs/DTM.rb +20 -0
- data/lib/stupidedi/versions/003050/segment_defs/FOB.rb +20 -0
- data/lib/stupidedi/versions/003050/segment_defs/G61.rb +22 -0
- data/lib/stupidedi/versions/003050/segment_defs/G62.rb +22 -0
- data/lib/stupidedi/versions/003050/segment_defs/G69.rb +16 -0
- data/lib/stupidedi/versions/003050/segment_defs/GE.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/GS.rb +24 -0
- data/lib/stupidedi/versions/003050/segment_defs/HL.rb +20 -0
- data/lib/stupidedi/versions/003050/segment_defs/IT1.rb +20 -0
- data/lib/stupidedi/versions/003050/segment_defs/ITD.rb +28 -0
- data/lib/stupidedi/versions/003050/segment_defs/K1.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/L11.rb +21 -0
- data/lib/stupidedi/versions/003050/segment_defs/L3.rb +37 -0
- data/lib/stupidedi/versions/003050/segment_defs/L5.rb +29 -0
- data/lib/stupidedi/versions/003050/segment_defs/LE.rb +17 -0
- data/lib/stupidedi/versions/003050/segment_defs/LFH.rb +25 -0
- data/lib/stupidedi/versions/003050/segment_defs/LH1.rb +29 -0
- data/lib/stupidedi/versions/003050/segment_defs/LH2.rb +32 -0
- data/lib/stupidedi/versions/003050/segment_defs/LH3.rb +21 -0
- data/lib/stupidedi/versions/003050/segment_defs/LIN.rb +33 -0
- data/lib/stupidedi/versions/003050/segment_defs/LS.rb +16 -0
- data/lib/stupidedi/versions/003050/segment_defs/LX.rb +16 -0
- data/lib/stupidedi/versions/003050/segment_defs/M7.rb +21 -0
- data/lib/stupidedi/versions/003050/segment_defs/MAN.rb +23 -0
- data/lib/stupidedi/versions/003050/segment_defs/MEA.rb +22 -0
- data/lib/stupidedi/versions/003050/segment_defs/MS1.rb +33 -0
- data/lib/stupidedi/versions/003050/segment_defs/MS2.rb +22 -0
- data/lib/stupidedi/versions/003050/segment_defs/MS3.rb +21 -0
- data/lib/stupidedi/versions/003050/segment_defs/MSG.rb +17 -0
- data/lib/stupidedi/versions/003050/segment_defs/N1.rb +17 -0
- data/lib/stupidedi/versions/003050/segment_defs/N2.rb +17 -0
- data/lib/stupidedi/versions/003050/segment_defs/N3.rb +17 -0
- data/lib/stupidedi/versions/003050/segment_defs/N4.rb +19 -0
- data/lib/stupidedi/versions/003050/segment_defs/N7.rb +42 -0
- data/lib/stupidedi/versions/003050/segment_defs/N9.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/NTE.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/PER.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/PID.rb +20 -0
- data/lib/stupidedi/versions/003050/segment_defs/PLD.rb +21 -0
- data/lib/stupidedi/versions/003050/segment_defs/PO1.rb +23 -0
- data/lib/stupidedi/versions/003050/segment_defs/PO4.rb +20 -0
- data/lib/stupidedi/versions/003050/segment_defs/PRR.rb +19 -0
- data/lib/stupidedi/versions/003050/segment_defs/QTY.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/REF.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/REP.rb +19 -0
- data/lib/stupidedi/versions/003050/segment_defs/RMT.rb +25 -0
- data/lib/stupidedi/versions/003050/segment_defs/S5.rb +29 -0
- data/lib/stupidedi/versions/003050/segment_defs/SE.rb +19 -0
- data/lib/stupidedi/versions/003050/segment_defs/SN1.rb +24 -0
- data/lib/stupidedi/versions/003050/segment_defs/SSS.rb +22 -0
- data/lib/stupidedi/versions/003050/segment_defs/ST.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/TD1.rb +27 -0
- data/lib/stupidedi/versions/003050/segment_defs/TD3.rb +20 -0
- data/lib/stupidedi/versions/003050/segment_defs/TD5.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/TDS.rb +16 -0
- data/lib/stupidedi/versions/003050/segment_defs/W01.rb +37 -0
- data/lib/stupidedi/versions/003050/segment_defs/W03.rb +25 -0
- data/lib/stupidedi/versions/003050/segment_defs/W04.rb +35 -0
- data/lib/stupidedi/versions/003050/segment_defs/W05.rb +24 -0
- data/lib/stupidedi/versions/003050/segment_defs/W06.rb +29 -0
- data/lib/stupidedi/versions/003050/segment_defs/W07.rb +30 -0
- data/lib/stupidedi/versions/003050/segment_defs/W08.rb +26 -0
- data/lib/stupidedi/versions/003050/segment_defs/W12.rb +43 -0
- data/lib/stupidedi/versions/003050/segment_defs/W14.rb +20 -0
- data/lib/stupidedi/versions/003050/segment_defs/W17.rb +26 -0
- data/lib/stupidedi/versions/003050/segment_defs/W20.rb +28 -0
- data/lib/stupidedi/versions/003050/segment_defs/W27.rb +27 -0
- data/lib/stupidedi/versions/003050/segment_defs/W66.rb +26 -0
- data/lib/stupidedi/versions/003050/segment_defs/W76.rb +24 -0
- data/lib/stupidedi/versions/003050/segment_reqs.rb +11 -0
- data/lib/stupidedi/versions/003050/syntax_notes.rb +14 -0
- data/lib/stupidedi/versions/004010.rb +14 -0
- data/lib/stupidedi/versions/004010/element_defs.rb +9512 -0
- data/lib/stupidedi/versions/004010/element_reqs.rb +12 -0
- data/lib/stupidedi/versions/004010/element_types.rb +28 -0
- data/lib/stupidedi/versions/004010/element_types/an.rb +11 -0
- data/lib/stupidedi/versions/004010/element_types/dt.rb +11 -0
- data/lib/stupidedi/versions/004010/element_types/float_val.rb +11 -0
- data/lib/stupidedi/versions/004010/element_types/id.rb +11 -0
- data/lib/stupidedi/versions/004010/element_types/nn.rb +11 -0
- data/lib/stupidedi/versions/004010/element_types/tm.rb +11 -0
- data/lib/stupidedi/versions/004010/functional_group_def.rb +24 -0
- data/lib/stupidedi/versions/004010/segment_defs.rb +120 -0
- data/lib/stupidedi/versions/004010/segment_defs/AK1.rb +17 -0
- data/lib/stupidedi/versions/004010/segment_defs/AK2.rb +17 -0
- data/lib/stupidedi/versions/004010/segment_defs/AK3.rb +20 -0
- data/lib/stupidedi/versions/004010/segment_defs/AK4.rb +20 -0
- data/lib/stupidedi/versions/004010/segment_defs/AK5.rb +22 -0
- data/lib/stupidedi/versions/004010/segment_defs/AK9.rb +27 -0
- data/lib/stupidedi/versions/004010/segment_defs/AMT.rb +18 -0
- data/lib/stupidedi/versions/004010/segment_defs/AT7.rb +29 -0
- data/lib/stupidedi/versions/004010/segment_defs/AT8.rb +25 -0
- data/lib/stupidedi/versions/004010/segment_defs/B1.rb +20 -0
- data/lib/stupidedi/versions/004010/segment_defs/B10.rb +26 -0
- data/lib/stupidedi/versions/004010/segment_defs/B2.rb +27 -0
- data/lib/stupidedi/versions/004010/segment_defs/B2A.rb +17 -0
- data/lib/stupidedi/versions/004010/segment_defs/B3.rb +27 -0
- data/lib/stupidedi/versions/004010/segment_defs/BAK.rb +21 -0
- data/lib/stupidedi/versions/004010/segment_defs/BCT.rb +17 -0
- data/lib/stupidedi/versions/004010/segment_defs/BEG.rb +28 -0
- data/lib/stupidedi/versions/004010/segment_defs/BFR.rb +28 -0
- data/lib/stupidedi/versions/004010/segment_defs/BPR.rb +44 -0
- data/lib/stupidedi/versions/004010/segment_defs/BSN.rb +21 -0
- data/lib/stupidedi/versions/004010/segment_defs/BSS.rb +27 -0
- data/lib/stupidedi/versions/004010/segment_defs/C3.rb +18 -0
- data/lib/stupidedi/versions/004010/segment_defs/CAS.rb +50 -0
- data/lib/stupidedi/versions/004010/segment_defs/CLP.rb +28 -0
- data/lib/stupidedi/versions/004010/segment_defs/CTP.rb +31 -0
- data/lib/stupidedi/versions/004010/segment_defs/CTT.rb +25 -0
- data/lib/stupidedi/versions/004010/segment_defs/CUR.rb +51 -0
- data/lib/stupidedi/versions/004010/segment_defs/DTM.rb +24 -0
- data/lib/stupidedi/versions/004010/segment_defs/FST.rb +24 -0
- data/lib/stupidedi/versions/004010/segment_defs/G61.rb +22 -0
- data/lib/stupidedi/versions/004010/segment_defs/G62.rb +22 -0
- data/lib/stupidedi/versions/004010/segment_defs/G69.rb +16 -0
- data/lib/stupidedi/versions/004010/segment_defs/GE.rb +18 -0
- data/lib/stupidedi/versions/004010/segment_defs/GS.rb +24 -0
- data/lib/stupidedi/versions/004010/segment_defs/H3.rb +22 -0
- data/lib/stupidedi/versions/004010/segment_defs/HL.rb +20 -0
- data/lib/stupidedi/versions/004010/segment_defs/JIT.rb +18 -0
- data/lib/stupidedi/versions/004010/segment_defs/K1.rb +18 -0
- data/lib/stupidedi/versions/004010/segment_defs/L0.rb +30 -0
- data/lib/stupidedi/versions/004010/segment_defs/L1.rb +39 -0
- data/lib/stupidedi/versions/004010/segment_defs/L11.rb +21 -0
- data/lib/stupidedi/versions/004010/segment_defs/L3.rb +37 -0
- data/lib/stupidedi/versions/004010/segment_defs/L4.rb +21 -0
- data/lib/stupidedi/versions/004010/segment_defs/L5.rb +29 -0
- data/lib/stupidedi/versions/004010/segment_defs/L7.rb +32 -0
- data/lib/stupidedi/versions/004010/segment_defs/LAD.rb +34 -0
- data/lib/stupidedi/versions/004010/segment_defs/LFH.rb +25 -0
- data/lib/stupidedi/versions/004010/segment_defs/LH1.rb +29 -0
- data/lib/stupidedi/versions/004010/segment_defs/LH2.rb +33 -0
- data/lib/stupidedi/versions/004010/segment_defs/LH3.rb +21 -0
- data/lib/stupidedi/versions/004010/segment_defs/LIN.rb +47 -0
- data/lib/stupidedi/versions/004010/segment_defs/LQ.rb +18 -0
- data/lib/stupidedi/versions/004010/segment_defs/LX.rb +16 -0
- data/lib/stupidedi/versions/004010/segment_defs/M7.rb +21 -0
- data/lib/stupidedi/versions/004010/segment_defs/MAN.rb +23 -0
- data/lib/stupidedi/versions/004010/segment_defs/MEA.rb +36 -0
- data/lib/stupidedi/versions/004010/segment_defs/MIA.rb +40 -0
- data/lib/stupidedi/versions/004010/segment_defs/MOA.rb +25 -0
- data/lib/stupidedi/versions/004010/segment_defs/MS1.rb +33 -0
- data/lib/stupidedi/versions/004010/segment_defs/MS2.rb +22 -0
- data/lib/stupidedi/versions/004010/segment_defs/MS3.rb +21 -0
- data/lib/stupidedi/versions/004010/segment_defs/N1.rb +23 -0
- data/lib/stupidedi/versions/004010/segment_defs/N2.rb +17 -0
- data/lib/stupidedi/versions/004010/segment_defs/N3.rb +17 -0
- data/lib/stupidedi/versions/004010/segment_defs/N4.rb +22 -0
- data/lib/stupidedi/versions/004010/segment_defs/N7.rb +42 -0
- data/lib/stupidedi/versions/004010/segment_defs/N9.rb +25 -0
- data/lib/stupidedi/versions/004010/segment_defs/NM1.rb +28 -0
- data/lib/stupidedi/versions/004010/segment_defs/NTE.rb +18 -0
- data/lib/stupidedi/versions/004010/segment_defs/OID.rb +28 -0
- data/lib/stupidedi/versions/004010/segment_defs/PER.rb +28 -0
- data/lib/stupidedi/versions/004010/segment_defs/PID.rb +29 -0
- data/lib/stupidedi/versions/004010/segment_defs/PLB.rb +37 -0
- data/lib/stupidedi/versions/004010/segment_defs/PLD.rb +21 -0
- data/lib/stupidedi/versions/004010/segment_defs/PO1.rb +52 -0
- data/lib/stupidedi/versions/004010/segment_defs/PO4.rb +20 -0
- data/lib/stupidedi/versions/004010/segment_defs/PRF.rb +16 -0
- data/lib/stupidedi/versions/004010/segment_defs/QTY.rb +21 -0
- data/lib/stupidedi/versions/004010/segment_defs/R3.rb +24 -0
- data/lib/stupidedi/versions/004010/segment_defs/REF.rb +20 -0
- data/lib/stupidedi/versions/004010/segment_defs/S5.rb +29 -0
- data/lib/stupidedi/versions/004010/segment_defs/SCH.rb +24 -0
- data/lib/stupidedi/versions/004010/segment_defs/SDP.rb +17 -0
- data/lib/stupidedi/versions/004010/segment_defs/SE.rb +19 -0
- data/lib/stupidedi/versions/004010/segment_defs/SHP.rb +19 -0
- data/lib/stupidedi/versions/004010/segment_defs/SN1.rb +24 -0
- data/lib/stupidedi/versions/004010/segment_defs/ST.rb +18 -0
- data/lib/stupidedi/versions/004010/segment_defs/SVC.rb +23 -0
- data/lib/stupidedi/versions/004010/segment_defs/TD1.rb +19 -0
- data/lib/stupidedi/versions/004010/segment_defs/TD3.rb +23 -0
- data/lib/stupidedi/versions/004010/segment_defs/TD4.rb +22 -0
- data/lib/stupidedi/versions/004010/segment_defs/TD5.rb +21 -0
- data/lib/stupidedi/versions/004010/segment_defs/TRN.rb +19 -0
- data/lib/stupidedi/versions/004010/segment_defs/TS2.rb +35 -0
- data/lib/stupidedi/versions/004010/segment_defs/TS3.rb +39 -0
- data/lib/stupidedi/versions/004010/segment_defs/UIT.rb +17 -0
- data/lib/stupidedi/versions/004010/segment_defs/W01.rb +37 -0
- data/lib/stupidedi/versions/004010/segment_defs/W03.rb +25 -0
- data/lib/stupidedi/versions/004010/segment_defs/W04.rb +35 -0
- data/lib/stupidedi/versions/004010/segment_defs/W05.rb +24 -0
- data/lib/stupidedi/versions/004010/segment_defs/W06.rb +29 -0
- data/lib/stupidedi/versions/004010/segment_defs/W07.rb +30 -0
- data/lib/stupidedi/versions/004010/segment_defs/W08.rb +26 -0
- data/lib/stupidedi/versions/004010/segment_defs/W12.rb +43 -0
- data/lib/stupidedi/versions/004010/segment_defs/W14.rb +20 -0
- data/lib/stupidedi/versions/004010/segment_defs/W17.rb +26 -0
- data/lib/stupidedi/versions/004010/segment_defs/W20.rb +28 -0
- data/lib/stupidedi/versions/004010/segment_defs/W27.rb +27 -0
- data/lib/stupidedi/versions/004010/segment_defs/W66.rb +26 -0
- data/lib/stupidedi/versions/004010/segment_defs/W76.rb +24 -0
- data/lib/stupidedi/versions/004010/segment_reqs.rb +11 -0
- data/lib/stupidedi/versions/004010/syntax_notes.rb +14 -0
- data/lib/stupidedi/versions/005010.rb +14 -0
- data/lib/stupidedi/versions/005010/element_defs.rb +3353 -0
- data/lib/stupidedi/versions/005010/element_reqs.rb +12 -0
- data/lib/stupidedi/versions/005010/element_types.rb +28 -0
- data/lib/stupidedi/versions/005010/element_types/an.rb +11 -0
- data/lib/stupidedi/versions/005010/element_types/dt.rb +11 -0
- data/lib/stupidedi/versions/005010/element_types/float_val.rb +11 -0
- data/lib/stupidedi/versions/005010/element_types/id.rb +11 -0
- data/lib/stupidedi/versions/005010/element_types/nn.rb +11 -0
- data/lib/stupidedi/versions/005010/element_types/tm.rb +11 -0
- data/lib/stupidedi/versions/005010/functional_group_def.rb +23 -0
- data/lib/stupidedi/versions/005010/segment_defs.rb +156 -0
- data/lib/stupidedi/versions/005010/segment_defs/AAA.rb +20 -0
- data/lib/stupidedi/versions/005010/segment_defs/ACT.rb +27 -0
- data/lib/stupidedi/versions/005010/segment_defs/AD1.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/ADX.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/AIN.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/AK1.rb +18 -0
- data/lib/stupidedi/versions/005010/segment_defs/AK2.rb +18 -0
- data/lib/stupidedi/versions/005010/segment_defs/AK3.rb +20 -0
- data/lib/stupidedi/versions/005010/segment_defs/AK4.rb +20 -0
- data/lib/stupidedi/versions/005010/segment_defs/AK5.rb +22 -0
- data/lib/stupidedi/versions/005010/segment_defs/AK9.rb +27 -0
- data/lib/stupidedi/versions/005010/segment_defs/AMT.rb +18 -0
- data/lib/stupidedi/versions/005010/segment_defs/ASM.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/ATN.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/BEN.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/BGN.rb +25 -0
- data/lib/stupidedi/versions/005010/segment_defs/BHT.rb +23 -0
- data/lib/stupidedi/versions/005010/segment_defs/BPR.rb +44 -0
- data/lib/stupidedi/versions/005010/segment_defs/CAS.rb +50 -0
- data/lib/stupidedi/versions/005010/segment_defs/CL1.rb +19 -0
- data/lib/stupidedi/versions/005010/segment_defs/CLM.rb +35 -0
- data/lib/stupidedi/versions/005010/segment_defs/CLP.rb +29 -0
- data/lib/stupidedi/versions/005010/segment_defs/CN1.rb +21 -0
- data/lib/stupidedi/versions/005010/segment_defs/COB.rb +19 -0
- data/lib/stupidedi/versions/005010/segment_defs/CR1.rb +28 -0
- data/lib/stupidedi/versions/005010/segment_defs/CR2.rb +31 -0
- data/lib/stupidedi/versions/005010/segment_defs/CR3.rb +22 -0
- data/lib/stupidedi/versions/005010/segment_defs/CR4.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/CR5.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/CR6.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/CR7.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/CR8.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/CRC.rb +22 -0
- data/lib/stupidedi/versions/005010/segment_defs/CTP.rb +31 -0
- data/lib/stupidedi/versions/005010/segment_defs/CTX.rb +23 -0
- data/lib/stupidedi/versions/005010/segment_defs/CUR.rb +51 -0
- data/lib/stupidedi/versions/005010/segment_defs/DED.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/DMG.rb +29 -0
- data/lib/stupidedi/versions/005010/segment_defs/DN1.rb +19 -0
- data/lib/stupidedi/versions/005010/segment_defs/DN2.rb +21 -0
- data/lib/stupidedi/versions/005010/segment_defs/DSB.rb +24 -0
- data/lib/stupidedi/versions/005010/segment_defs/DTM.rb +21 -0
- data/lib/stupidedi/versions/005010/segment_defs/DTP.rb +18 -0
- data/lib/stupidedi/versions/005010/segment_defs/EB.rb +30 -0
- data/lib/stupidedi/versions/005010/segment_defs/EC.rb +21 -0
- data/lib/stupidedi/versions/005010/segment_defs/EM.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/EMS.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/ENT.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/EQ.rb +21 -0
- data/lib/stupidedi/versions/005010/segment_defs/FA1.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/FA2.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/FC.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/FRM.rb +22 -0
- data/lib/stupidedi/versions/005010/segment_defs/FSA.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/G53.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/GE.rb +18 -0
- data/lib/stupidedi/versions/005010/segment_defs/GS.rb +24 -0
- data/lib/stupidedi/versions/005010/segment_defs/HCP.rb +34 -0
- data/lib/stupidedi/versions/005010/segment_defs/HCR.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/HD.rb +26 -0
- data/lib/stupidedi/versions/005010/segment_defs/HI.rb +27 -0
- data/lib/stupidedi/versions/005010/segment_defs/HL.rb +20 -0
- data/lib/stupidedi/versions/005010/segment_defs/HLH.rb +22 -0
- data/lib/stupidedi/versions/005010/segment_defs/HSD.rb +25 -0
- data/lib/stupidedi/versions/005010/segment_defs/ICM.rb +22 -0
- data/lib/stupidedi/versions/005010/segment_defs/IDC.rb +20 -0
- data/lib/stupidedi/versions/005010/segment_defs/III.rb +26 -0
- data/lib/stupidedi/versions/005010/segment_defs/IK3.rb +19 -0
- data/lib/stupidedi/versions/005010/segment_defs/IK4.rb +20 -0
- data/lib/stupidedi/versions/005010/segment_defs/IK5.rb +22 -0
- data/lib/stupidedi/versions/005010/segment_defs/IMM.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/INS.rb +33 -0
- data/lib/stupidedi/versions/005010/segment_defs/INV.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/IT1.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/K3.rb +18 -0
- data/lib/stupidedi/versions/005010/segment_defs/LC.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/LE.rb +17 -0
- data/lib/stupidedi/versions/005010/segment_defs/LIN.rb +60 -0
- data/lib/stupidedi/versions/005010/segment_defs/LOC.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/LQ.rb +18 -0
- data/lib/stupidedi/versions/005010/segment_defs/LS.rb +16 -0
- data/lib/stupidedi/versions/005010/segment_defs/LUI.rb +22 -0
- data/lib/stupidedi/versions/005010/segment_defs/LX.rb +16 -0
- data/lib/stupidedi/versions/005010/segment_defs/MEA.rb +35 -0
- data/lib/stupidedi/versions/005010/segment_defs/MIA.rb +40 -0
- data/lib/stupidedi/versions/005010/segment_defs/MOA.rb +25 -0
- data/lib/stupidedi/versions/005010/segment_defs/MPI.rb +23 -0
- data/lib/stupidedi/versions/005010/segment_defs/MSG.rb +20 -0
- data/lib/stupidedi/versions/005010/segment_defs/N1.rb +23 -0
- data/lib/stupidedi/versions/005010/segment_defs/N2.rb +17 -0
- data/lib/stupidedi/versions/005010/segment_defs/N3.rb +17 -0
- data/lib/stupidedi/versions/005010/segment_defs/N4.rb +25 -0
- data/lib/stupidedi/versions/005010/segment_defs/N9.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/NM1.rb +30 -0
- data/lib/stupidedi/versions/005010/segment_defs/NTE.rb +18 -0
- data/lib/stupidedi/versions/005010/segment_defs/NX1.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/OI.rb +22 -0
- data/lib/stupidedi/versions/005010/segment_defs/PAT.rb +26 -0
- data/lib/stupidedi/versions/005010/segment_defs/PCT.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/PDP.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/PDR.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/PEN.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/PER.rb +28 -0
- data/lib/stupidedi/versions/005010/segment_defs/PID.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/PKD.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/PLA.rb +21 -0
- data/lib/stupidedi/versions/005010/segment_defs/PLB.rb +37 -0
- data/lib/stupidedi/versions/005010/segment_defs/PM.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/PRV.rb +22 -0
- data/lib/stupidedi/versions/005010/segment_defs/PS1.rb +18 -0
- data/lib/stupidedi/versions/005010/segment_defs/PWK.rb +26 -0
- data/lib/stupidedi/versions/005010/segment_defs/PYD.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/QTY.rb +21 -0
- data/lib/stupidedi/versions/005010/segment_defs/RDM.rb +21 -0
- data/lib/stupidedi/versions/005010/segment_defs/REF.rb +20 -0
- data/lib/stupidedi/versions/005010/segment_defs/REL.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/RMR.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/RP.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/RPA.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/RYL.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/SAC.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/SBR.rb +25 -0
- data/lib/stupidedi/versions/005010/segment_defs/SD1.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/SE.rb +19 -0
- data/lib/stupidedi/versions/005010/segment_defs/SLN.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/ST.rb +19 -0
- data/lib/stupidedi/versions/005010/segment_defs/STC.rb +28 -0
- data/lib/stupidedi/versions/005010/segment_defs/SV1.rb +38 -0
- data/lib/stupidedi/versions/005010/segment_defs/SV2.rb +26 -0
- data/lib/stupidedi/versions/005010/segment_defs/SV3.rb +26 -0
- data/lib/stupidedi/versions/005010/segment_defs/SV4.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/SV5.rb +24 -0
- data/lib/stupidedi/versions/005010/segment_defs/SV6.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/SV7.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/SVC.rb +23 -0
- data/lib/stupidedi/versions/005010/segment_defs/SVD.rb +23 -0
- data/lib/stupidedi/versions/005010/segment_defs/TOO.rb +19 -0
- data/lib/stupidedi/versions/005010/segment_defs/TRN.rb +19 -0
- data/lib/stupidedi/versions/005010/segment_defs/TS2.rb +35 -0
- data/lib/stupidedi/versions/005010/segment_defs/TS3.rb +39 -0
- data/lib/stupidedi/versions/005010/segment_defs/TXI.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/TXP.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/UM.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/UR.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/VEH.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_reqs.rb +11 -0
- data/lib/stupidedi/versions/005010/syntax_notes.rb +14 -0
- data/lib/stupidedi/versions/common.rb +11 -0
- data/lib/stupidedi/versions/common/element_reqs.rb +13 -0
- data/lib/stupidedi/versions/common/element_types.rb +29 -0
- data/lib/stupidedi/versions/common/element_types/an.rb +386 -0
- data/lib/stupidedi/versions/common/element_types/dt.rb +572 -0
- data/lib/stupidedi/versions/common/element_types/id.rb +304 -0
- data/lib/stupidedi/versions/common/element_types/nn.rb +312 -0
- data/lib/stupidedi/versions/common/element_types/operators.rb +128 -0
- data/lib/stupidedi/versions/common/element_types/r.rb +340 -0
- data/lib/stupidedi/versions/common/element_types/simple_element.rb +73 -0
- data/lib/stupidedi/versions/common/element_types/tm.rb +347 -0
- data/lib/stupidedi/versions/common/segment_reqs.rb +15 -0
- data/lib/stupidedi/versions/common/syntax_notes.rb +172 -0
- data/lib/stupidedi/versions/functional_groups.rb +23 -8
- data/lib/stupidedi/versions/interchanges.rb +2 -9
- data/lib/stupidedi/writer.rb +0 -1
- data/lib/stupidedi/writer/claredi.rb +75 -41
- data/lib/stupidedi/writer/default.rb +23 -31
- data/lib/stupidedi/zipper.rb +0 -3
- data/lib/stupidedi/zipper/abstract_cursor.rb +10 -14
- data/lib/stupidedi/zipper/dangling_cursor.rb +0 -4
- data/lib/stupidedi/zipper/edited_cursor.rb +0 -4
- data/lib/stupidedi/zipper/memoized_cursor.rb +0 -4
- data/lib/stupidedi/zipper/path.rb +0 -6
- data/lib/stupidedi/zipper/root_cursor.rb +0 -4
- data/lib/stupidedi/zipper/stack_cursor.rb +0 -67
- metadata +872 -1026
- data/doc/unwritten/Defining.md +0 -0
- data/lib/ruby/instance_exec.rb +0 -30
- data/lib/ruby/jruby_hack.rb +0 -683
- data/lib/ruby/symbol.rb +0 -29
- data/lib/stupidedi/blank_slate.rb +0 -12
- data/lib/stupidedi/builder/builder_dsl.rb +0 -293
- data/lib/stupidedi/builder/constraint_table.rb +0 -476
- data/lib/stupidedi/builder/generation.rb +0 -147
- data/lib/stupidedi/builder/identifier_stack.rb +0 -171
- data/lib/stupidedi/builder/instruction.rb +0 -116
- data/lib/stupidedi/builder/instruction_table.rb +0 -220
- data/lib/stupidedi/builder/navigation.rb +0 -735
- data/lib/stupidedi/builder/state_machine.rb +0 -65
- data/lib/stupidedi/builder/states/abstract_state.rb +0 -338
- data/lib/stupidedi/builder/states/failure_state.rb +0 -73
- data/lib/stupidedi/builder/states/functional_group_state.rb +0 -100
- data/lib/stupidedi/builder/states/initial_state.rb +0 -66
- data/lib/stupidedi/builder/states/interchange_state.rb +0 -98
- data/lib/stupidedi/builder/states/loop_state.rb +0 -83
- data/lib/stupidedi/builder/states/table_state.rb +0 -100
- data/lib/stupidedi/builder/states/transaction_set_state.rb +0 -116
- data/lib/stupidedi/builder/states/transmission_state.rb +0 -63
- data/lib/stupidedi/builder/tokenization.rb +0 -202
- data/lib/stupidedi/contrib/002001.rb +0 -14
- data/lib/stupidedi/contrib/002001/guides.rb +0 -22
- data/lib/stupidedi/contrib/002001/guides/FA997.rb +0 -82
- data/lib/stupidedi/contrib/002001/guides/PO830.rb +0 -184
- data/lib/stupidedi/contrib/002001/guides/SH856.rb +0 -217
- data/lib/stupidedi/contrib/002001/transaction_set_defs.rb +0 -25
- data/lib/stupidedi/contrib/002001/transaction_set_defs/FA997.rb +0 -32
- data/lib/stupidedi/contrib/002001/transaction_set_defs/PO830.rb +0 -47
- data/lib/stupidedi/contrib/002001/transaction_set_defs/SH856.rb +0 -39
- data/lib/stupidedi/contrib/003010.rb +0 -14
- data/lib/stupidedi/contrib/003010/guides.rb +0 -23
- data/lib/stupidedi/contrib/003010/guides/PC860.rb +0 -176
- data/lib/stupidedi/contrib/003010/guides/PO850.rb +0 -169
- data/lib/stupidedi/contrib/003010/guides/PS830.rb +0 -169
- data/lib/stupidedi/contrib/003010/guides/RA820.rb +0 -187
- data/lib/stupidedi/contrib/003010/transaction_set_defs.rb +0 -25
- data/lib/stupidedi/contrib/003010/transaction_set_defs/PC860.rb +0 -48
- data/lib/stupidedi/contrib/003010/transaction_set_defs/PO850.rb +0 -49
- data/lib/stupidedi/contrib/003010/transaction_set_defs/PS830.rb +0 -49
- data/lib/stupidedi/contrib/003010/transaction_set_defs/RA820.rb +0 -40
- data/lib/stupidedi/contrib/003040.rb +0 -14
- data/lib/stupidedi/contrib/003040/guides.rb +0 -20
- data/lib/stupidedi/contrib/003040/guides/WA142.rb +0 -187
- data/lib/stupidedi/contrib/003040/transaction_set_defs.rb +0 -16
- data/lib/stupidedi/contrib/003040/transaction_set_defs/WA142.rb +0 -53
- data/lib/stupidedi/contrib/003050.rb +0 -14
- data/lib/stupidedi/contrib/003050/guides.rb +0 -16
- data/lib/stupidedi/contrib/003050/guides/PO850.rb +0 -97
- data/lib/stupidedi/contrib/003050/transaction_set_defs.rb +0 -15
- data/lib/stupidedi/contrib/003050/transaction_set_defs/PO850.rb +0 -43
- data/lib/stupidedi/contrib/004010.rb +0 -14
- data/lib/stupidedi/contrib/004010/guides.rb +0 -28
- data/lib/stupidedi/contrib/004010/guides/AR943.rb +0 -89
- data/lib/stupidedi/contrib/004010/guides/FA997.rb +0 -82
- data/lib/stupidedi/contrib/004010/guides/GF990.rb +0 -55
- data/lib/stupidedi/contrib/004010/guides/IM210.rb +0 -267
- data/lib/stupidedi/contrib/004010/guides/OW940.rb +0 -121
- data/lib/stupidedi/contrib/004010/guides/PO850.rb +0 -133
- data/lib/stupidedi/contrib/004010/guides/PS830.rb +0 -165
- data/lib/stupidedi/contrib/004010/guides/QM214.rb +0 -141
- data/lib/stupidedi/contrib/004010/guides/RE944.rb +0 -75
- data/lib/stupidedi/contrib/004010/guides/SH856.rb +0 -187
- data/lib/stupidedi/contrib/004010/guides/SM204.rb +0 -480
- data/lib/stupidedi/contrib/004010/guides/SQ866.rb +0 -120
- data/lib/stupidedi/contrib/004010/guides/SS862.rb +0 -178
- data/lib/stupidedi/contrib/004010/guides/SW945.rb +0 -120
- data/lib/stupidedi/contrib/004010/transaction_set_defs.rb +0 -61
- data/lib/stupidedi/contrib/004010/transaction_set_defs/AR943.rb +0 -35
- data/lib/stupidedi/contrib/004010/transaction_set_defs/FA997.rb +0 -31
- data/lib/stupidedi/contrib/004010/transaction_set_defs/GF990.rb +0 -22
- data/lib/stupidedi/contrib/004010/transaction_set_defs/IM210.rb +0 -47
- data/lib/stupidedi/contrib/004010/transaction_set_defs/OW940.rb +0 -44
- data/lib/stupidedi/contrib/004010/transaction_set_defs/PO850.rb +0 -51
- data/lib/stupidedi/contrib/004010/transaction_set_defs/PR855.rb +0 -35
- data/lib/stupidedi/contrib/004010/transaction_set_defs/PS830.rb +0 -45
- data/lib/stupidedi/contrib/004010/transaction_set_defs/QM214.rb +0 -41
- data/lib/stupidedi/contrib/004010/transaction_set_defs/RE944.rb +0 -35
- data/lib/stupidedi/contrib/004010/transaction_set_defs/SC832.rb +0 -45
- data/lib/stupidedi/contrib/004010/transaction_set_defs/SH856.rb +0 -44
- data/lib/stupidedi/contrib/004010/transaction_set_defs/SM204.rb +0 -85
- data/lib/stupidedi/contrib/004010/transaction_set_defs/SQ866.rb +0 -33
- data/lib/stupidedi/contrib/004010/transaction_set_defs/SS862.rb +0 -41
- data/lib/stupidedi/contrib/004010/transaction_set_defs/SW945.rb +0 -44
- data/lib/stupidedi/guides/004010.rb +0 -22
- data/lib/stupidedi/guides/004010/X091A1-HP835.rb +0 -533
- data/lib/stupidedi/guides/004010/element_reqs.rb +0 -41
- data/lib/stupidedi/guides/004010/guide_builder.rb +0 -184
- data/lib/stupidedi/guides/004010/segment_reqs.rb +0 -35
- data/lib/stupidedi/guides/005010.rb +0 -87
- data/lib/stupidedi/guides/005010/X212-HR276.rb +0 -387
- data/lib/stupidedi/guides/005010/X214-HN277.rb +0 -412
- data/lib/stupidedi/guides/005010/X220-BE834.rb +0 -709
- data/lib/stupidedi/guides/005010/X220A1-BE834.rb +0 -709
- data/lib/stupidedi/guides/005010/X221-HP835.rb +0 -616
- data/lib/stupidedi/guides/005010/X221A1-HP835.rb +0 -616
- data/lib/stupidedi/guides/005010/X222-HC837P.rb +0 -2294
- data/lib/stupidedi/guides/005010/X222A1-HC837P.rb +0 -2300
- data/lib/stupidedi/guides/005010/X223-HC837I.rb +0 -2579
- data/lib/stupidedi/guides/005010/X231-FA999.rb +0 -126
- data/lib/stupidedi/guides/005010/X231A1-FA999.rb +0 -122
- data/lib/stupidedi/guides/005010/X279-HB271.rb +0 -832
- data/lib/stupidedi/guides/005010/X279-HS270.rb +0 -594
- data/lib/stupidedi/guides/005010/X279A1-HB271.rb +0 -845
- data/lib/stupidedi/guides/005010/X279A1-HS270.rb +0 -594
- data/lib/stupidedi/guides/005010/element_reqs.rb +0 -41
- data/lib/stupidedi/guides/005010/guide_builder.rb +0 -205
- data/lib/stupidedi/guides/005010/segment_reqs.rb +0 -35
- data/lib/stupidedi/schema/auditor.rb +0 -435
- data/lib/stupidedi/schema/element_def.rb +0 -177
- data/lib/stupidedi/schema/element_use.rb +0 -255
- data/lib/stupidedi/tail_call.rb +0 -111
- data/lib/stupidedi/thread_local.rb +0 -177
- data/lib/stupidedi/versions/functional_groups/002001.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/002001/element_defs.rb +0 -10685
- data/lib/stupidedi/versions/functional_groups/002001/element_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/element_types.rb +0 -130
- data/lib/stupidedi/versions/functional_groups/002001/element_types/date_val.rb +0 -576
- data/lib/stupidedi/versions/functional_groups/002001/element_types/fixnum_val.rb +0 -318
- data/lib/stupidedi/versions/functional_groups/002001/element_types/float_val.rb +0 -349
- data/lib/stupidedi/versions/functional_groups/002001/element_types/identifier_val.rb +0 -362
- data/lib/stupidedi/versions/functional_groups/002001/element_types/operators.rb +0 -134
- data/lib/stupidedi/versions/functional_groups/002001/element_types/string_val.rb +0 -394
- data/lib/stupidedi/versions/functional_groups/002001/element_types/time_val.rb +0 -330
- data/lib/stupidedi/versions/functional_groups/002001/functional_group_def.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs.rb +0 -252
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK1.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK2.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK3.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK4.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK5.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK9.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AT7.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AT8.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/ATH.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/B1.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/B10.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/B2.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/B2A.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/BEG.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/BFR.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/BSN.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/CTT.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/CUR.rb +0 -58
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/DTM.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/FST.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/G61.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/G62.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/G69.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/GE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/GS.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/HL.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/J2X.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/K1.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/L11.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/L3.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/L5.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LFH.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LH1.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LH2.rb +0 -37
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LH3.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LIN.rb +0 -51
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LX.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/M7.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/MAN.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/MEA.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/MS1.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/MS2.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/MS3.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N1.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N2.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N3.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N4.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N7.rb +0 -46
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N9.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/NTE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/PER.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/PID.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/PLD.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/PO1.rb +0 -60
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/PO4.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/REF.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/S5.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/SDP.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/SE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/SN1.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/ST.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/TD1.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/TD3.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/TD5.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/UNT.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W01.rb +0 -44
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W03.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W04.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W05.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W06.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W07.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W08.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W12.rb +0 -51
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W14.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W17.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W20.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W27.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W66.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W76.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/002001/segment_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/syntax_notes.rb +0 -177
- data/lib/stupidedi/versions/functional_groups/002001/transaction_set_defs.rb +0 -14
- data/lib/stupidedi/versions/functional_groups/003010.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/003010/element_defs.rb +0 -9311
- data/lib/stupidedi/versions/functional_groups/003010/element_reqs.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003010/element_types.rb +0 -130
- data/lib/stupidedi/versions/functional_groups/003010/element_types/date_val.rb +0 -576
- data/lib/stupidedi/versions/functional_groups/003010/element_types/fixnum_val.rb +0 -319
- data/lib/stupidedi/versions/functional_groups/003010/element_types/float_val.rb +0 -349
- data/lib/stupidedi/versions/functional_groups/003010/element_types/identifier_val.rb +0 -361
- data/lib/stupidedi/versions/functional_groups/003010/element_types/operators.rb +0 -134
- data/lib/stupidedi/versions/functional_groups/003010/element_types/string_val.rb +0 -391
- data/lib/stupidedi/versions/functional_groups/003010/element_types/time_val.rb +0 -330
- data/lib/stupidedi/versions/functional_groups/003010/functional_group_def.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs.rb +0 -269
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AK1.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AK2.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AK3.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AK9.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AT7.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AT8.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/B1.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/B10.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/B2.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/B2A.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/BCH.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/BEG.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/BFR.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/BPS.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/BSN.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/CTT.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/CUR.rb +0 -59
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/DTM.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/FOB.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/FST.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/G61.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/G62.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/G69.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/GE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/GS.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/HL.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/ITD.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/K1.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/L11.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/L3.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/L5.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LE.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LFH.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LH1.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LH2.rb +0 -37
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LH3.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LIN.rb +0 -51
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LS.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LX.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/M7.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MAN.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MEA.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MS1.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MS2.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MS3.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MSG.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N1.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N2.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N3.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N4.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N7.rb +0 -46
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N9.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/NTE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/PER.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/PID.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/PLD.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/PO1.rb +0 -60
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/PO4.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/POC.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/REF.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/RMT.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/S5.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/SDP.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/SE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/SHP.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/SN1.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/ST.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/TD1.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/TD3.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/TD5.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/UIT.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W01.rb +0 -44
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W03.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W04.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W05.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W06.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W07.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W08.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W12.rb +0 -51
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W14.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W17.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W20.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W27.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W66.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W76.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003010/segment_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/syntax_notes.rb +0 -177
- data/lib/stupidedi/versions/functional_groups/003010/transaction_set_defs.rb +0 -14
- data/lib/stupidedi/versions/functional_groups/003040.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/003040/element_defs.rb +0 -10766
- data/lib/stupidedi/versions/functional_groups/003040/element_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/element_types.rb +0 -130
- data/lib/stupidedi/versions/functional_groups/003040/element_types/date_val.rb +0 -575
- data/lib/stupidedi/versions/functional_groups/003040/element_types/fixnum_val.rb +0 -318
- data/lib/stupidedi/versions/functional_groups/003040/element_types/float_val.rb +0 -350
- data/lib/stupidedi/versions/functional_groups/003040/element_types/identifier_val.rb +0 -359
- data/lib/stupidedi/versions/functional_groups/003040/element_types/operators.rb +0 -134
- data/lib/stupidedi/versions/functional_groups/003040/element_types/string_val.rb +0 -392
- data/lib/stupidedi/versions/functional_groups/003040/element_types/time_val.rb +0 -330
- data/lib/stupidedi/versions/functional_groups/003040/functional_group_def.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs.rb +0 -274
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AK1.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AK2.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AK3.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AK9.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AMT.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AT7.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AT8.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/B1.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/B10.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/B2.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/B2A.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/BEG.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/BGN.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/BPS.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/BSN.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/CTT.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/CUR.rb +0 -59
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/DTM.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/FOB.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/G61.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/G62.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/G69.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/GE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/GS.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/HL.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/IT1.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/ITD.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/K1.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/L11.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/L3.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/L5.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LE.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LFH.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LH1.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LH2.rb +0 -37
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LH3.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LIN.rb +0 -51
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LS.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LX.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/M7.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MAN.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MEA.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MS1.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MS2.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MS3.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MSG.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N1.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N2.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N3.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N4.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N7.rb +0 -46
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N9.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/NTE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PER.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PID.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PLD.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PO1.rb +0 -60
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PO4.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PRR.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/QTY.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/REF.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/REP.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/RMT.rb +0 -37
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/S5.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/SE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/SN1.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/SSS.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/ST.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/TD1.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/TD3.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/TD5.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/TDS.rb +0 -19
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W01.rb +0 -44
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W03.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W04.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W05.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W06.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W07.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W08.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W12.rb +0 -51
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W14.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W17.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W20.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W27.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W66.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W76.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003040/segment_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/syntax_notes.rb +0 -177
- data/lib/stupidedi/versions/functional_groups/003040/transaction_set_defs.rb +0 -14
- data/lib/stupidedi/versions/functional_groups/003050.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/003050/element_defs.rb +0 -10769
- data/lib/stupidedi/versions/functional_groups/003050/element_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/element_types.rb +0 -130
- data/lib/stupidedi/versions/functional_groups/003050/element_types/date_val.rb +0 -576
- data/lib/stupidedi/versions/functional_groups/003050/element_types/fixnum_val.rb +0 -319
- data/lib/stupidedi/versions/functional_groups/003050/element_types/float_val.rb +0 -351
- data/lib/stupidedi/versions/functional_groups/003050/element_types/identifier_val.rb +0 -360
- data/lib/stupidedi/versions/functional_groups/003050/element_types/operators.rb +0 -134
- data/lib/stupidedi/versions/functional_groups/003050/element_types/string_val.rb +0 -393
- data/lib/stupidedi/versions/functional_groups/003050/element_types/time_val.rb +0 -330
- data/lib/stupidedi/versions/functional_groups/003050/functional_group_def.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs.rb +0 -274
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AK1.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AK2.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AK3.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AK9.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AMT.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AT7.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AT8.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/B1.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/B10.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/B2.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/B2A.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/BEG.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/BGN.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/BPS.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/BSN.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/CTT.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/CUR.rb +0 -59
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/DTM.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/FOB.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/G61.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/G62.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/G69.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/GE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/GS.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/HL.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/IT1.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/ITD.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/K1.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/L11.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/L3.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/L5.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LE.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LFH.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LH1.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LH2.rb +0 -37
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LH3.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LIN.rb +0 -51
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LS.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LX.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/M7.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MAN.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MEA.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MS1.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MS2.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MS3.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MSG.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N1.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N2.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N3.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N4.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N7.rb +0 -46
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N9.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/NTE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PER.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PID.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PLD.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PO1.rb +0 -60
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PO4.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PRR.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/QTY.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/REF.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/REP.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/RMT.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/S5.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/SE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/SN1.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/SSS.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/ST.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/TD1.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/TD3.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/TD5.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/TDS.rb +0 -19
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W01.rb +0 -44
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W03.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W04.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W05.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W06.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W07.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W08.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W12.rb +0 -51
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W14.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W17.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W20.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W27.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W66.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W76.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003050/segment_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/syntax_notes.rb +0 -177
- data/lib/stupidedi/versions/functional_groups/003050/transaction_set_defs.rb +0 -14
- data/lib/stupidedi/versions/functional_groups/004010.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/004010/element_defs.rb +0 -9626
- data/lib/stupidedi/versions/functional_groups/004010/element_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/element_types.rb +0 -130
- data/lib/stupidedi/versions/functional_groups/004010/element_types/date_val.rb +0 -577
- data/lib/stupidedi/versions/functional_groups/004010/element_types/fixnum_val.rb +0 -319
- data/lib/stupidedi/versions/functional_groups/004010/element_types/float_val.rb +0 -350
- data/lib/stupidedi/versions/functional_groups/004010/element_types/identifier_val.rb +0 -361
- data/lib/stupidedi/versions/functional_groups/004010/element_types/operators.rb +0 -134
- data/lib/stupidedi/versions/functional_groups/004010/element_types/string_val.rb +0 -393
- data/lib/stupidedi/versions/functional_groups/004010/element_types/time_val.rb +0 -331
- data/lib/stupidedi/versions/functional_groups/004010/functional_group_def.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs.rb +0 -349
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK1.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK2.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK3.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK4.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK5.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK9.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AMT.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AT7.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AT8.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/B1.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/B10.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/B2.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/B2A.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/B3.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BAK.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BCT.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BEG.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BFR.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BPR.rb +0 -50
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BSN.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BSS.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/C3.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/CAS.rb +0 -57
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/CLP.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/CTP.rb +0 -37
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/CTT.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/CUR.rb +0 -58
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/DTM.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/FST.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/G61.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/G62.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/G69.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/GE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/GS.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/H3.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/HL.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/JIT.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/K1.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L0.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L1.rb +0 -42
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L11.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L3.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L4.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L5.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L7.rb +0 -35
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LAD.rb +0 -39
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LFH.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LH1.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LH2.rb +0 -37
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LH3.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LIN.rb +0 -54
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LQ.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LX.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/M7.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MAN.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MEA.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MIA.rb +0 -46
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MOA.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MS1.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MS2.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MS3.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N1.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N2.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N3.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N4.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N7.rb +0 -46
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N9.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/NM1.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/NTE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/OID.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PER.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PID.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PLB.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PLD.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PO1.rb +0 -60
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PO4.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PRF.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/QTY.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/R3.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/REF.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/S5.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SCH.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SDP.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SHP.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SN1.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/ST.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SVC.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TD1.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TD3.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TD4.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TD5.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TRN.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TS2.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TS3.rb +0 -46
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/UIT.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W01.rb +0 -44
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W03.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W04.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W05.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W06.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W07.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W08.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W12.rb +0 -51
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W14.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W17.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W20.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W27.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W66.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W76.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/004010/segment_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/syntax_notes.rb +0 -177
- data/lib/stupidedi/versions/functional_groups/004010/transaction_set_defs.rb +0 -16
- data/lib/stupidedi/versions/functional_groups/004010/transaction_set_defs/HP835.rb +0 -67
- data/lib/stupidedi/versions/functional_groups/005010.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/005010/element_defs.rb +0 -2478
- data/lib/stupidedi/versions/functional_groups/005010/element_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/005010/element_types.rb +0 -135
- data/lib/stupidedi/versions/functional_groups/005010/element_types/date_val.rb +0 -575
- data/lib/stupidedi/versions/functional_groups/005010/element_types/fixnum_val.rb +0 -318
- data/lib/stupidedi/versions/functional_groups/005010/element_types/float_val.rb +0 -351
- data/lib/stupidedi/versions/functional_groups/005010/element_types/identifier_val.rb +0 -361
- data/lib/stupidedi/versions/functional_groups/005010/element_types/operators.rb +0 -134
- data/lib/stupidedi/versions/functional_groups/005010/element_types/string_val.rb +0 -393
- data/lib/stupidedi/versions/functional_groups/005010/element_types/time_val.rb +0 -331
- data/lib/stupidedi/versions/functional_groups/005010/functional_group_def.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs.rb +0 -290
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/AAA.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/ACT.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/AK1.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/AK2.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/AK9.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/AMT.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/BGN.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/BHT.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/BPR.rb +0 -50
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CAS.rb +0 -57
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CL1.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CLM.rb +0 -42
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CLP.rb +0 -35
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CN1.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/COB.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CR1.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CR2.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CR3.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CRC.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CTP.rb +0 -37
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CTX.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CUR.rb +0 -59
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DMG.rb +0 -35
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DN1.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DN2.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DSB.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DTM.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DTP.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/EB.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/EC.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/EQ.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/FRM.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/GE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/GS.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HCP.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HD.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HI.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HL.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HLH.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HSD.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/ICM.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/IDC.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/III.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/IK3.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/IK4.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/IK5.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/INS.rb +0 -39
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/K3.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LE.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LIN.rb +0 -70
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LQ.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LS.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LUI.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LX.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/MEA.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/MIA.rb +0 -46
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/MOA.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/MPI.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/MSG.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/N1.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/N2.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/N3.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/N4.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/NM1.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/NTE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/OI.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PAT.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PER.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PLA.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PLB.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PRV.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PS1.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PWK.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/QTY.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/RDM.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/REF.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SBR.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/ST.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/STC.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SV1.rb +0 -45
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SV2.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SV3.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SV5.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SVC.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SVD.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/TOO.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/TRN.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/TS2.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/TS3.rb +0 -46
- data/lib/stupidedi/versions/functional_groups/005010/segment_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/005010/syntax_notes.rb +0 -168
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs.rb +0 -71
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/BE834.rb +0 -163
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/FA999.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HB271.rb +0 -105
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HC837.rb +0 -167
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HI278.rb +0 -70
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HN277.rb +0 -77
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HP835.rb +0 -71
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HR276.rb +0 -60
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HS270.rb +0 -57
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/RA820.rb +0 -245
- data/lib/stupidedi/versions/interchanges/00200.rb +0 -26
- data/lib/stupidedi/versions/interchanges/00200/element_defs.rb +0 -277
- data/lib/stupidedi/versions/interchanges/00200/interchange_def.rb +0 -71
- data/lib/stupidedi/versions/interchanges/00200/segment_defs.rb +0 -31
- data/lib/stupidedi/versions/interchanges/00200/segment_defs/IEA.rb +0 -21
- data/lib/stupidedi/versions/interchanges/00200/segment_defs/ISA.rb +0 -35
- data/lib/stupidedi/versions/interchanges/00200/segment_defs/TA1.rb +0 -24
- data/lib/stupidedi/versions/interchanges/00300.rb +0 -26
- data/lib/stupidedi/versions/interchanges/00300/element_defs.rb +0 -278
- data/lib/stupidedi/versions/interchanges/00300/interchange_def.rb +0 -71
- data/lib/stupidedi/versions/interchanges/00300/segment_defs.rb +0 -31
- data/lib/stupidedi/versions/interchanges/00300/segment_defs/IEA.rb +0 -21
- data/lib/stupidedi/versions/interchanges/00300/segment_defs/ISA.rb +0 -35
- data/lib/stupidedi/versions/interchanges/00300/segment_defs/TA1.rb +0 -24
- data/lib/stupidedi/versions/interchanges/00400.rb +0 -26
- data/lib/stupidedi/versions/interchanges/00400/element_defs.rb +0 -270
- data/lib/stupidedi/versions/interchanges/00400/interchange_def.rb +0 -71
- data/lib/stupidedi/versions/interchanges/00400/segment_defs.rb +0 -31
- data/lib/stupidedi/versions/interchanges/00400/segment_defs/IEA.rb +0 -21
- data/lib/stupidedi/versions/interchanges/00400/segment_defs/ISA.rb +0 -35
- data/lib/stupidedi/versions/interchanges/00400/segment_defs/TA1.rb +0 -24
- data/lib/stupidedi/versions/interchanges/00401.rb +0 -26
- data/lib/stupidedi/versions/interchanges/00401/element_defs.rb +0 -271
- data/lib/stupidedi/versions/interchanges/00401/interchange_def.rb +0 -71
- data/lib/stupidedi/versions/interchanges/00401/segment_defs.rb +0 -31
- data/lib/stupidedi/versions/interchanges/00401/segment_defs/IEA.rb +0 -21
- data/lib/stupidedi/versions/interchanges/00401/segment_defs/ISA.rb +0 -35
- data/lib/stupidedi/versions/interchanges/00401/segment_defs/TA1.rb +0 -24
- data/lib/stupidedi/versions/interchanges/00501.rb +0 -26
- data/lib/stupidedi/versions/interchanges/00501/element_defs.rb +0 -272
- data/lib/stupidedi/versions/interchanges/00501/interchange_def.rb +0 -73
- data/lib/stupidedi/versions/interchanges/00501/segment_defs.rb +0 -40
- data/lib/stupidedi/versions/interchanges/00501/segment_defs/IEA.rb +0 -21
- data/lib/stupidedi/versions/interchanges/00501/segment_defs/ISA.rb +0 -35
- data/lib/stupidedi/versions/interchanges/00501/segment_defs/ISB.rb +0 -19
- data/lib/stupidedi/versions/interchanges/00501/segment_defs/ISE.rb +0 -19
- data/lib/stupidedi/versions/interchanges/00501/segment_defs/TA1.rb +0 -24
- data/lib/stupidedi/versions/interchanges/00501/segment_defs/TA3.rb +0 -19
- data/spec/examples/integration/generating_spec.rb +0 -560
- data/spec/examples/integration/navigating_spec.rb +0 -258
- data/spec/examples/integration/nondeterminism_spec.rb +0 -165
- data/spec/examples/integration/parsing/005010/X091A1-HP835_spec.rb +0 -94
- data/spec/examples/integration/parsing/005010/X212-HR276_spec.rb +0 -152
- data/spec/examples/integration/parsing/005010/X221-HP835_spec.rb +0 -386
- data/spec/examples/integration/parsing/005010/X222-HC837_spec.rb +0 -257
- data/spec/examples/ruby/array_spec.rb +0 -477
- data/spec/examples/ruby/blank_spec.rb +0 -63
- data/spec/examples/ruby/count_spec.rb +0 -69
- data/spec/examples/ruby/object_spec.rb +0 -99
- data/spec/examples/ruby/string_spec.rb +0 -112
- data/spec/examples/ruby/symbol_spec.rb +0 -99
- data/spec/examples/ruby/to_d_spec.rb +0 -91
- data/spec/examples/ruby/try_spec.rb +0 -51
- data/spec/examples/stupidedi/audit_spec.rb +0 -58
- data/spec/examples/stupidedi/either_spec.rb +0 -375
- data/spec/examples/stupidedi/reader/failure_spec.rb +0 -68
- data/spec/examples/stupidedi/reader/input/delegated_input_spec.rb +0 -293
- data/spec/examples/stupidedi/reader/separators_spec.rb +0 -73
- data/spec/examples/stupidedi/reader/stream_reader_spec.rb +0 -48
- data/spec/examples/stupidedi/reader/success_spec.rb +0 -34
- data/spec/examples/stupidedi/reader/token_reader_spec.rb +0 -776
- data/spec/examples/stupidedi/reader_spec.rb +0 -168
- data/spec/examples/stupidedi/versions/005010/element_types/an_spec.rb +0 -202
- data/spec/examples/stupidedi/versions/005010/element_types/dt_spec.rb +0 -258
- data/spec/examples/stupidedi/versions/005010/element_types/id_spec.rb +0 -192
- data/spec/examples/stupidedi/versions/005010/element_types/nn_spec.rb +0 -179
- data/spec/examples/stupidedi/versions/005010/element_types/r_spec.rb +0 -180
- data/spec/examples/stupidedi/versions/005010/element_types/tm_spec.rb +0 -2
- data/spec/examples/stupidedi/zipper/abstract_cursor_spec.rb +0 -417
- data/spec/examples/stupidedi/zipper_spec.rb +0 -9
- data/spec/fixtures/FA997/1-good.txt +0 -10
- data/spec/fixtures/PC860/1-good.txt +0 -21
- data/spec/fixtures/PO830/1-good.txt +0 -29
- data/spec/fixtures/PO850/1-good-v3010.txt +0 -31
- data/spec/fixtures/PO850/1-good-v3050.txt +0 -16
- data/spec/fixtures/PR855/1-good-v4010.txt +0 -11
- data/spec/fixtures/PR855/2-good-v4010.txt +0 -17
- data/spec/fixtures/PS830/1-good.txt +0 -29
- data/spec/fixtures/RA820/1-good.txt +0 -52
- data/spec/fixtures/SC832/1-good.txt +0 -22
- data/spec/fixtures/SC832/2-good.txt +0 -1067
- data/spec/fixtures/SH856/1-good.txt +0 -70
- data/spec/fixtures/SH856/2-good.txt +0 -31
- data/spec/fixtures/SQ866/1-good.txt +0 -29
- data/spec/fixtures/SS862/1-good.txt +0 -33
- data/spec/fixtures/WA142/1-good.txt +0 -307
- data/spec/fixtures/X091A1-HP835/1-good.txt +0 -1
- data/spec/fixtures/X186-AG824/1-bad.txt +0 -21
- data/spec/fixtures/X186-AG824/1-good.txt +0 -17
- data/spec/fixtures/X186-AG824/2-bad.txt +0 -26
- data/spec/fixtures/X186-AG824/2-good.txt +0 -21
- data/spec/fixtures/X186-AG824/3-bad.txt +0 -87
- data/spec/fixtures/X186-AG824/3-good.txt +0 -61
- data/spec/fixtures/X212-HN277/1-bad.txt +0 -54
- data/spec/fixtures/X212-HN277/1-good.txt +0 -46
- data/spec/fixtures/X212-HN277/2-bad.txt +0 -37
- data/spec/fixtures/X212-HN277/2-good.txt +0 -29
- data/spec/fixtures/X212-HN277/3-bad.txt +0 -22
- data/spec/fixtures/X212-HN277/3-good.txt +0 -17
- data/spec/fixtures/X212-HN277/4-bad.txt +0 -30
- data/spec/fixtures/X212-HN277/4-good.txt +0 -24
- data/spec/fixtures/X212-HR276/1-bad.txt +0 -53
- data/spec/fixtures/X212-HR276/1-good.txt +0 -46
- data/spec/fixtures/X212-HR276/2-bad.txt +0 -45
- data/spec/fixtures/X212-HR276/2-good.txt +0 -38
- data/spec/fixtures/X212-HR276/3-bad.txt +0 -32
- data/spec/fixtures/X212-HR276/3-good.txt +0 -26
- data/spec/fixtures/X212-HR276/4-bad.txt +0 -32
- data/spec/fixtures/X212-HR276/4-good.txt +0 -26
- data/spec/fixtures/X214-HN277/1-bad.txt +0 -58
- data/spec/fixtures/X214-HN277/1-good.txt +0 -47
- data/spec/fixtures/X214-HN277/2-bad.txt +0 -34
- data/spec/fixtures/X214-HN277/2-good.txt +0 -22
- data/spec/fixtures/X214-HN277/3-bad.txt +0 -64
- data/spec/fixtures/X214-HN277/3-good.txt +0 -54
- data/spec/fixtures/X214-HN277/4-bad.txt +0 -77
- data/spec/fixtures/X214-HN277/4-good.txt +0 -63
- data/spec/fixtures/X216-HI278/1-bad.txt +0 -42
- data/spec/fixtures/X216-HI278/1-good.txt +0 -27
- data/spec/fixtures/X216-HI278/2-bad.txt +0 -43
- data/spec/fixtures/X216-HI278/2-good.txt +0 -29
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-1.txt +0 -24
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-1_Clean.txt +0 -20
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-2.txt +0 -46
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-2_Clean.txt +0 -30
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-3.txt +0 -38
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-3_Clean.txt +0 -24
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-4a.txt +0 -39
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-4a_Clean.txt +0 -24
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-4b.txt +0 -43
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-4b_Clean.txt +0 -25
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-5.txt +0 -63
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-5_Clean.txt +0 -41
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-6.txt +0 -36
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-6_Clean.txt +0 -20
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-1r.txt +0 -34
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-1r_Clean.txt +0 -23
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-2r.txt +0 -46
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-2r_Clean.txt +0 -31
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-3r.txt +0 -44
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-3r_Clean.txt +0 -26
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-4ar_Clean.txt +0 -28
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-4br_Clean.txt +0 -35
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-5r.txt +0 -60
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-5r_Clean.txt +0 -42
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-6r.txt +0 -40
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-6r_Clean.txt +0 -24
- data/spec/fixtures/X218-RA820/1-bad.txt +0 -31
- data/spec/fixtures/X218-RA820/1-good.txt +0 -25
- data/spec/fixtures/X218-RA820/2-bad.txt +0 -37
- data/spec/fixtures/X218-RA820/2-good.txt +0 -29
- data/spec/fixtures/X218-RA820/3-bad.txt +0 -29
- data/spec/fixtures/X218-RA820/3-good.txt +0 -23
- data/spec/fixtures/X218-RA820/4-bad.txt +0 -36
- data/spec/fixtures/X218-RA820/4-good.txt +0 -27
- data/spec/fixtures/X220-BE834/1-bad.txt +0 -35
- data/spec/fixtures/X220-BE834/1-good.txt +0 -29
- data/spec/fixtures/X220-BE834/10-bad.txt +0 -26
- data/spec/fixtures/X220-BE834/10-good.txt +0 -19
- data/spec/fixtures/X220-BE834/2-bad.txt +0 -31
- data/spec/fixtures/X220-BE834/2-good.txt +0 -23
- data/spec/fixtures/X220-BE834/3-bad.txt +0 -36
- data/spec/fixtures/X220-BE834/3-good.txt +0 -26
- data/spec/fixtures/X220-BE834/4-bad.txt +0 -27
- data/spec/fixtures/X220-BE834/4-good.txt +0 -21
- data/spec/fixtures/X220-BE834/5-bad.txt +0 -26
- data/spec/fixtures/X220-BE834/5-good.txt +0 -17
- data/spec/fixtures/X220-BE834/6-bad.txt +0 -25
- data/spec/fixtures/X220-BE834/6-good.txt +0 -20
- data/spec/fixtures/X220-BE834/7-bad.txt +0 -25
- data/spec/fixtures/X220-BE834/7-good.txt +0 -20
- data/spec/fixtures/X220-BE834/8-bad.txt +0 -25
- data/spec/fixtures/X220-BE834/8-good.txt +0 -20
- data/spec/fixtures/X220-BE834/9-bad.txt +0 -27
- data/spec/fixtures/X220-BE834/9-good.txt +0 -21
- data/spec/fixtures/X221-HP835/1-bad.txt +0 -58
- data/spec/fixtures/X221-HP835/1-good.txt +0 -40
- data/spec/fixtures/X221-HP835/2-bad.txt +0 -51
- data/spec/fixtures/X221-HP835/2-good.txt +0 -40
- data/spec/fixtures/X221-HP835/3a-bad.txt +0 -78
- data/spec/fixtures/X221-HP835/3a-good.txt +0 -49
- data/spec/fixtures/X221-HP835/3b-bad.txt +0 -60
- data/spec/fixtures/X221-HP835/3b-good.txt +0 -32
- data/spec/fixtures/X221-HP835/3c-bad.txt +0 -55
- data/spec/fixtures/X221-HP835/3c-good.txt +0 -34
- data/spec/fixtures/X222-HC837/1-bad.txt +0 -60
- data/spec/fixtures/X222-HC837/1-good.txt +0 -53
- data/spec/fixtures/X222-HC837/10a-bad.txt +0 -52
- data/spec/fixtures/X222-HC837/10a-good.txt +0 -40
- data/spec/fixtures/X222-HC837/10b-bad.txt +0 -99
- data/spec/fixtures/X222-HC837/10b-good.txt +0 -80
- data/spec/fixtures/X222-HC837/10c-bad.txt +0 -105
- data/spec/fixtures/X222-HC837/10c-good.txt +0 -80
- data/spec/fixtures/X222-HC837/11-bad.txt +0 -69
- data/spec/fixtures/X222-HC837/11-good.txt +0 -45
- data/spec/fixtures/X222-HC837/12-bad.txt +0 -73
- data/spec/fixtures/X222-HC837/12-good.txt +0 -51
- data/spec/fixtures/X222-HC837/13-bad.txt +0 -64
- data/spec/fixtures/X222-HC837/13-good.txt +0 -46
- data/spec/fixtures/X222-HC837/3a-bad.txt +0 -83
- data/spec/fixtures/X222-HC837/3a-good.txt +0 -59
- data/spec/fixtures/X222-HC837/3b-bad.txt +0 -97
- data/spec/fixtures/X222-HC837/3b-good.txt +0 -70
- data/spec/fixtures/X222-HC837/3c-bad.txt +0 -95
- data/spec/fixtures/X222-HC837/3c-good.txt +0 -74
- data/spec/fixtures/X222-HC837/4-bad.txt +0 -67
- data/spec/fixtures/X222-HC837/4-good.txt +0 -48
- data/spec/fixtures/X222-HC837/5-bad.txt +0 -73
- data/spec/fixtures/X222-HC837/5-good.txt +0 -60
- data/spec/fixtures/X222-HC837/6-bad.txt +0 -50
- data/spec/fixtures/X222-HC837/6-good.txt +0 -39
- data/spec/fixtures/X222-HC837/7-bad.txt +0 -93
- data/spec/fixtures/X222-HC837/7-good.txt +0 -78
- data/spec/fixtures/X222-HC837/8-bad.txt +0 -64
- data/spec/fixtures/X222-HC837/8-good.txt +0 -52
- data/spec/fixtures/X222-HC837/9-bad.txt +0 -56
- data/spec/fixtures/X222-HC837/9-good.txt +0 -38
- data/spec/fixtures/X223-HC837/1-bad.txt +0 -66
- data/spec/fixtures/X223-HC837/1-good.txt +0 -53
- data/spec/fixtures/X223-HC837/2-bad.txt +0 -69
- data/spec/fixtures/X223-HC837/2-good.txt +0 -60
- data/spec/fixtures/X223-HC837/3-bad.txt +0 -89
- data/spec/fixtures/X223-HC837/3-good.txt +0 -61
- data/spec/fixtures/X223-HC837/4-bad.txt +0 -60
- data/spec/fixtures/X223-HC837/4-good.txt +0 -40
- data/spec/fixtures/X223-HC837/5-bad.txt +0 -75
- data/spec/fixtures/X223-HC837/5-good.txt +0 -58
- data/spec/fixtures/X224-HC837/1-bad.txt +0 -54
- data/spec/fixtures/X224-HC837/1-good.txt +0 -44
- data/spec/fixtures/X224-HC837/2a-bad.txt +0 -52
- data/spec/fixtures/X224-HC837/2a-good.txt +0 -42
- data/spec/fixtures/X224-HC837/2b-bad.txt +0 -67
- data/spec/fixtures/X224-HC837/2b-good.txt +0 -52
- data/spec/fixtures/X224-HC837/3-bad.txt +0 -67
- data/spec/fixtures/X224-HC837/3-good.txt +0 -51
- data/spec/fixtures/X224-HC837/4-bad.txt +0 -49
- data/spec/fixtures/X224-HC837/4-good.txt +0 -40
- data/spec/fixtures/X230-FA997/1-bad.txt +0 -19
- data/spec/fixtures/X230-FA997/1-good.txt +0 -16
- data/spec/fixtures/X231-FA999/1-bad.txt +0 -20
- data/spec/fixtures/X231-FA999/1-good.txt +0 -20
- data/spec/fixtures/X279-HB271/1-bad.txt +0 -36
- data/spec/fixtures/X279-HB271/1-good.txt +0 -30
- data/spec/fixtures/X279-HB271/2-bad.txt +0 -22
- data/spec/fixtures/X279-HB271/2-good.txt +0 -16
- data/spec/fixtures/X279-HB271/3-bad.txt +0 -44
- data/spec/fixtures/X279-HB271/3-good.txt +0 -36
- data/spec/fixtures/X279-HS270/1-bad.txt +0 -29
- data/spec/fixtures/X279-HS270/1-good.txt +0 -23
- data/spec/fixtures/X279-HS270/2-bad.txt +0 -32
- data/spec/fixtures/X279-HS270/2-good.txt +0 -25
- data/spec/spec_helper.rb +0 -55
- data/spec/support/fixtures.rb +0 -26
- data/spec/support/matchers/either_matchers.rb +0 -53
- data/spec/support/matchers/navigation_matchers.rb +0 -247
- data/spec/support/node.rb +0 -41
- data/spec/support/quickcheck.rb +0 -303
- data/spec/support/quickcheck/characters.rb +0 -33
- data/spec/support/quickcheck/property.rb +0 -105
- data/spec/support/quickcheck/serialized_edi.rb +0 -400
- data/spec/support/rcov.rb +0 -41
@@ -1,735 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Stupidedi
|
4
|
-
using Refinements
|
5
|
-
|
6
|
-
module Builder
|
7
|
-
|
8
|
-
module Navigation
|
9
|
-
|
10
|
-
# @group Querying the Current Position
|
11
|
-
#########################################################################
|
12
|
-
|
13
|
-
# @return [Array<InstructionTable>]
|
14
|
-
def successors
|
15
|
-
@active.map{|a| a.node.instructions }
|
16
|
-
end
|
17
|
-
|
18
|
-
# Is there exactly one valid parse tree in the current state?
|
19
|
-
def deterministic?
|
20
|
-
@active.length == 1
|
21
|
-
end
|
22
|
-
|
23
|
-
def empty?
|
24
|
-
value = @active.head.node.zipper
|
25
|
-
|
26
|
-
until value.root?
|
27
|
-
value = value.up
|
28
|
-
end
|
29
|
-
|
30
|
-
value.node.children.empty?
|
31
|
-
end
|
32
|
-
|
33
|
-
# Is this the first segment?
|
34
|
-
def first?
|
35
|
-
value = @active.head.node.zipper
|
36
|
-
|
37
|
-
until value.root?
|
38
|
-
return false unless value.first?
|
39
|
-
value = value.up
|
40
|
-
end
|
41
|
-
|
42
|
-
return true
|
43
|
-
end
|
44
|
-
|
45
|
-
# Is this the last segment?
|
46
|
-
def last?
|
47
|
-
value = @active.head.node.zipper
|
48
|
-
|
49
|
-
until value.root?
|
50
|
-
return false unless value.last?
|
51
|
-
value = value.up
|
52
|
-
end
|
53
|
-
|
54
|
-
return true
|
55
|
-
end
|
56
|
-
|
57
|
-
# Returns the number of segments apart the current state is from the
|
58
|
-
# given `StateMachine`'s state. Note the direction is not indicated by
|
59
|
-
# the return value, so `a.distance(b) == b.distance(a)` for all states
|
60
|
-
# `a` and `b`.
|
61
|
-
#
|
62
|
-
# @example
|
63
|
-
# m.distance(m) #=> Either.success(0)
|
64
|
-
# m.next(10).flatmap{|n| n.distance(m) } #=> Either.success(10)
|
65
|
-
#
|
66
|
-
# @return [Either<Integer>]
|
67
|
-
#
|
68
|
-
# @note This method uses AbstractCursor#between, which assumes the two
|
69
|
-
# cursors point to the same tree. If that is not the case, the results
|
70
|
-
# are undefined.
|
71
|
-
def distance(other)
|
72
|
-
zipper.flatmap do |a|
|
73
|
-
other.zipper.map do |b|
|
74
|
-
a.between(b).count(&:segment?) - 1
|
75
|
-
end
|
76
|
-
end
|
77
|
-
end
|
78
|
-
|
79
|
-
# @group Accessing the Current Node
|
80
|
-
#########################################################################
|
81
|
-
|
82
|
-
# Returns the current position within the parse tree, if the current state
|
83
|
-
# is deterministic.
|
84
|
-
#
|
85
|
-
# @return [Either<Zipper::AbstractCursor<Values::AbstractVal>>]
|
86
|
-
def zipper
|
87
|
-
if deterministic?
|
88
|
-
Either.success(@active.head.node.zipper)
|
89
|
-
else
|
90
|
-
Either.failure("non-deterministic state")
|
91
|
-
end
|
92
|
-
end
|
93
|
-
|
94
|
-
# Extracts the segment from the current state, if the current state is
|
95
|
-
# deterministic and positioned on a segment.
|
96
|
-
#
|
97
|
-
# @return [Either<Zipper::AbstractCursor<Values::SegmentVal>>]
|
98
|
-
def segment
|
99
|
-
zipper.flatmap do |z|
|
100
|
-
if z.node.segment?
|
101
|
-
Either.success(z)
|
102
|
-
else
|
103
|
-
Either.failure("not a segment")
|
104
|
-
end
|
105
|
-
end
|
106
|
-
end
|
107
|
-
|
108
|
-
# Extracts the segment from the current state, if the current state is
|
109
|
-
# deterministic and positioned on a segment.
|
110
|
-
#
|
111
|
-
# @return [Either<Values::SegmentVal>>]
|
112
|
-
def segmentn
|
113
|
-
segment.map(&:node)
|
114
|
-
end
|
115
|
-
|
116
|
-
# Extracts the *mth* element from the current segment, if the current
|
117
|
-
# state is deterministic. Accepts optional arguments to extract a specific
|
118
|
-
# occurrence of a repeated element and/or a specific component from a
|
119
|
-
# composite element.
|
120
|
-
#
|
121
|
-
# @return [Either<Zipper::AbstractCursor<Values::AbstractElementVal>>]
|
122
|
-
def element(m, n = nil, o = nil)
|
123
|
-
segment.flatmap do |s|
|
124
|
-
unless m >= 1
|
125
|
-
raise ArgumentError,
|
126
|
-
"argument must be positive"
|
127
|
-
end
|
128
|
-
|
129
|
-
if s.node.invalid?
|
130
|
-
# InvalidSegmentVal doesn't have child AbstractElementVals, its
|
131
|
-
# children are SimpleElementTok, CompositeElementTok, etc, which
|
132
|
-
# are not parsed values.
|
133
|
-
return Either.failure("invalid segment")
|
134
|
-
end
|
135
|
-
|
136
|
-
designator = s.node.id.to_s
|
137
|
-
definition = s.node.definition
|
138
|
-
length = definition.element_uses.length
|
139
|
-
|
140
|
-
unless m <= length
|
141
|
-
raise ArgumentError,
|
142
|
-
"#{designator} segment has only #{length} elements"
|
143
|
-
end
|
144
|
-
|
145
|
-
designator = designator + "%02d" % m
|
146
|
-
value = s.child(m - 1)
|
147
|
-
|
148
|
-
if n.nil?
|
149
|
-
return Either.success(value)
|
150
|
-
elsif value.node.repeated?
|
151
|
-
unless n >= 1
|
152
|
-
raise ArgumentError,
|
153
|
-
"argument must be positive"
|
154
|
-
end
|
155
|
-
|
156
|
-
limit = value.node.usage.repeat_count
|
157
|
-
unless limit.include?(n)
|
158
|
-
raise ArgumentError,
|
159
|
-
"#{designator} can only occur #{limit.max} times"
|
160
|
-
end
|
161
|
-
|
162
|
-
unless value.node.children.defined_at?(n - 1)
|
163
|
-
return Either.failure("#{designator} occurs only #{value.node.children.length} times")
|
164
|
-
end
|
165
|
-
|
166
|
-
value = value.child(n - 1)
|
167
|
-
n, o = o, nil
|
168
|
-
|
169
|
-
return Either.success(value) if n.nil?
|
170
|
-
end
|
171
|
-
|
172
|
-
unless value.node.composite?
|
173
|
-
raise ArgumentError,
|
174
|
-
"#{designator} is a simple element"
|
175
|
-
end
|
176
|
-
|
177
|
-
unless o.nil?
|
178
|
-
raise ArgumentError,
|
179
|
-
"#{designator} is a non-repeatable composite element"
|
180
|
-
end
|
181
|
-
|
182
|
-
unless n >= 1
|
183
|
-
raise ArgumentError,
|
184
|
-
"argument must be positive"
|
185
|
-
end
|
186
|
-
|
187
|
-
length = definition.element_uses.at(m - 1).definition.component_uses.length
|
188
|
-
unless n <= length
|
189
|
-
raise ArgumentError,
|
190
|
-
"#{designator} has only #{length} components"
|
191
|
-
end
|
192
|
-
|
193
|
-
if value.node.empty?
|
194
|
-
Either.failure("#{designator} is empty")
|
195
|
-
else
|
196
|
-
Either.success(value.child(n - 1))
|
197
|
-
end
|
198
|
-
end
|
199
|
-
end
|
200
|
-
|
201
|
-
# Extracts the *mth* element from the current segment, if the current
|
202
|
-
# state is deterministic. Accepts optional arguments to extract a specific
|
203
|
-
# occurrence of a repeated element and/or a specific component from a
|
204
|
-
# composite element.
|
205
|
-
#
|
206
|
-
# @return [Either<Values::AbstractElementVal>]
|
207
|
-
def elementn(m, n = nil, o = nil)
|
208
|
-
element(m, n, o).map(&:node)
|
209
|
-
end
|
210
|
-
|
211
|
-
# @group Navigating the Tree
|
212
|
-
#########################################################################
|
213
|
-
|
214
|
-
# Returns a new `StateMachine` positioned on the first segment in
|
215
|
-
# the parse tree, if there are any segments in the parse tree.
|
216
|
-
#
|
217
|
-
# @return [Either<StateMachine>]
|
218
|
-
def first
|
219
|
-
active = roots.map do |zipper|
|
220
|
-
state = zipper
|
221
|
-
value = zipper.node.zipper
|
222
|
-
|
223
|
-
until value.node.segment? or value.leaf?
|
224
|
-
value = value.down
|
225
|
-
state = state.down
|
226
|
-
end
|
227
|
-
|
228
|
-
unless value.node.segment?
|
229
|
-
return Either.failure("no segments")
|
230
|
-
end
|
231
|
-
|
232
|
-
# Synchronize the two parallel state and value nodes
|
233
|
-
unless value.eql?(state.node.zipper)
|
234
|
-
state = state.replace(state.node.copy(:zipper => value))
|
235
|
-
end
|
236
|
-
|
237
|
-
state
|
238
|
-
end
|
239
|
-
|
240
|
-
Either.success(StateMachine.new(@config, active))
|
241
|
-
end
|
242
|
-
|
243
|
-
# Returns a new `StateMachine` positioned on the last segment in
|
244
|
-
# the parse tree, if there are any segments in the parse tree.
|
245
|
-
#
|
246
|
-
# @return [Either<StateMachine>]
|
247
|
-
def last
|
248
|
-
active = roots.map do |zipper|
|
249
|
-
state = zipper
|
250
|
-
value = zipper.node.zipper
|
251
|
-
|
252
|
-
until value.node.segment? or value.leaf?
|
253
|
-
value = value.down.last
|
254
|
-
state = state.down.last
|
255
|
-
end
|
256
|
-
|
257
|
-
unless value.node.segment?
|
258
|
-
return Either.failure("no segments")
|
259
|
-
end
|
260
|
-
|
261
|
-
# Synchronize the two parallel state and value nodes
|
262
|
-
unless value.eql?(state.node.zipper)
|
263
|
-
state = state.replace(state.node.copy(:zipper => value))
|
264
|
-
end
|
265
|
-
|
266
|
-
state
|
267
|
-
end
|
268
|
-
|
269
|
-
Either.success(StateMachine.new(@config, active))
|
270
|
-
end
|
271
|
-
|
272
|
-
# Returns a new `StateMachine` positioned on the first segment of the
|
273
|
-
# parent structure. For example, when the current segment belongs to a
|
274
|
-
# loop but it's not the first segment in that loop, this method will
|
275
|
-
# rewind to the first segment in the loop. If the current position is
|
276
|
-
# the first segment of a loop, this method will rewind to the first
|
277
|
-
# segment in the loop's parent structure.
|
278
|
-
#
|
279
|
-
# @return [Either<StateMachine>]
|
280
|
-
def parent
|
281
|
-
active = []
|
282
|
-
|
283
|
-
@active.each do |zipper|
|
284
|
-
state = zipper
|
285
|
-
value = zipper.node.zipper
|
286
|
-
|
287
|
-
while value.first? and not value.root?
|
288
|
-
value = value.up
|
289
|
-
state = state.up
|
290
|
-
end
|
291
|
-
|
292
|
-
if value.root?
|
293
|
-
break
|
294
|
-
end
|
295
|
-
|
296
|
-
value = value.first
|
297
|
-
state = state.first
|
298
|
-
|
299
|
-
until value.node.segment?
|
300
|
-
value = value.down
|
301
|
-
state = state.down
|
302
|
-
end
|
303
|
-
|
304
|
-
# Synchronize the two parallel state and value nodes
|
305
|
-
unless value.eql?(state.node.zipper)
|
306
|
-
state = state.replace(state.node.copy(:zipper => value))
|
307
|
-
end
|
308
|
-
|
309
|
-
active << state
|
310
|
-
end
|
311
|
-
|
312
|
-
if active.empty?
|
313
|
-
Either.failure("no parent segment")
|
314
|
-
else
|
315
|
-
Either.success(StateMachine.new(@config, active))
|
316
|
-
end
|
317
|
-
end
|
318
|
-
|
319
|
-
# Returns a new `StateMachine` positioned on the next segment, if
|
320
|
-
# there is a next segment. Optionally, a `count` argument may be
|
321
|
-
# provided that indicates how many segments to advance.
|
322
|
-
#
|
323
|
-
# @return [Either<StateMachine>]
|
324
|
-
def next(count = 1)
|
325
|
-
unless count > 0
|
326
|
-
raise ArgumentError,
|
327
|
-
"count must be positive"
|
328
|
-
end
|
329
|
-
|
330
|
-
active = @active.map do |zipper|
|
331
|
-
state = zipper
|
332
|
-
value = zipper.node.zipper
|
333
|
-
|
334
|
-
count.times do
|
335
|
-
while not value.root? and value.last?
|
336
|
-
value = value.up
|
337
|
-
state = state.up
|
338
|
-
end
|
339
|
-
|
340
|
-
if value.root?
|
341
|
-
return Either.failure("cannot move to next after last segment")
|
342
|
-
end
|
343
|
-
|
344
|
-
value = value.next
|
345
|
-
state = state.next
|
346
|
-
|
347
|
-
until value.node.segment?
|
348
|
-
value = value.down
|
349
|
-
state = state.down
|
350
|
-
end
|
351
|
-
end
|
352
|
-
|
353
|
-
# Synchronize the two parallel state and value nodes
|
354
|
-
unless value.eql?(state.node.zipper)
|
355
|
-
state = state.replace(state.node.copy(:zipper => value))
|
356
|
-
end
|
357
|
-
|
358
|
-
state
|
359
|
-
end
|
360
|
-
|
361
|
-
Either.success(StateMachine.new(@config, active))
|
362
|
-
end
|
363
|
-
|
364
|
-
# Returns a new `StateMachine` positioned on the previous segment, if
|
365
|
-
# there is a previous segment. Optionally, a `count` argument may be
|
366
|
-
# provided that indicates how many segments to rewind.
|
367
|
-
#
|
368
|
-
# @return [Either<StateMachine>]
|
369
|
-
def prev(count = 1)
|
370
|
-
unless count > 0
|
371
|
-
raise ArgumentError,
|
372
|
-
"count must be positive"
|
373
|
-
end
|
374
|
-
|
375
|
-
active = @active.map do |zipper|
|
376
|
-
state = zipper
|
377
|
-
value = zipper.node.zipper
|
378
|
-
|
379
|
-
count.times do
|
380
|
-
while not value.root? and value.first?
|
381
|
-
value = value.up
|
382
|
-
state = state.up
|
383
|
-
end
|
384
|
-
|
385
|
-
if value.root?
|
386
|
-
return Either.failure("cannot move to prev before first segment")
|
387
|
-
end
|
388
|
-
|
389
|
-
state = state.prev
|
390
|
-
value = value.prev
|
391
|
-
|
392
|
-
until value.node.segment?
|
393
|
-
value = value.down.last
|
394
|
-
state = state.down.last
|
395
|
-
end
|
396
|
-
end
|
397
|
-
|
398
|
-
# Synchronize the two parallel state and value nodes
|
399
|
-
unless value.eql?(state.node.zipper)
|
400
|
-
state = state.replace(state.node.copy(:zipper => value))
|
401
|
-
end
|
402
|
-
|
403
|
-
state
|
404
|
-
end
|
405
|
-
|
406
|
-
Either.success(StateMachine.new(@config, active))
|
407
|
-
end
|
408
|
-
|
409
|
-
# Returns a `StateMachine` positioned on the next matching segment,
|
410
|
-
# excluding {Values::InvalidSegmentVal}s, that satisfies the given element
|
411
|
-
# constraints. The search space is limited to certain related elements
|
412
|
-
# described in [Navigating.md]
|
413
|
-
#
|
414
|
-
# @example
|
415
|
-
# machine.find(:ST, nil, nil, "005010X222")
|
416
|
-
#
|
417
|
-
# @return [Either<StateMachine>]
|
418
|
-
def find(id, *elements)
|
419
|
-
__find(false, id, elements)
|
420
|
-
end
|
421
|
-
|
422
|
-
# Returns a `StateMachine` positioned on the next matching segment,
|
423
|
-
# including {Values::InvalidSegmentVal}s, that satisfies the given element
|
424
|
-
# constraints. The search space is limited to certain related elements
|
425
|
-
# described in [Navigating.md]
|
426
|
-
#
|
427
|
-
# @example
|
428
|
-
# machine.find!(:ST, nil, nil, "005010X222")
|
429
|
-
#
|
430
|
-
# @return [Either<StateMachine>]
|
431
|
-
def find!(id, *elements)
|
432
|
-
__find(true, id, elements)
|
433
|
-
end
|
434
|
-
|
435
|
-
# @return [Integer]
|
436
|
-
def count(id, *elements)
|
437
|
-
__count(false, id, elements)
|
438
|
-
end
|
439
|
-
|
440
|
-
# @return [Integer]
|
441
|
-
def count!(id, *elements)
|
442
|
-
__count(true, id, elements)
|
443
|
-
end
|
444
|
-
|
445
|
-
# Convenience method to iterate repeated occurrences of a segment by
|
446
|
-
# iteratively calling `find`. Beware this doesn't check that the segment
|
447
|
-
# is allowed to repeat, so calling `iterate(:XYZ)` may yield an `XYZ`
|
448
|
-
# segment and then throw an exception when searching for the second, if
|
449
|
-
# `XYZ` is not repeatable.
|
450
|
-
#
|
451
|
-
# @yieldparam [StateMachine]
|
452
|
-
# @yieldreturn [Object]
|
453
|
-
# @return [Either<Array<Object>>]
|
454
|
-
def iterate(id, *elements)
|
455
|
-
a = []
|
456
|
-
# m = __find(false, id, elements, true)
|
457
|
-
m = __find(false, id, elements, false)
|
458
|
-
return m unless m.defined?
|
459
|
-
|
460
|
-
while m.defined?
|
461
|
-
m = m.flatmap do |n|
|
462
|
-
a << yield(n)
|
463
|
-
n.find(id, *elements)
|
464
|
-
end
|
465
|
-
end
|
466
|
-
|
467
|
-
Either.success(a)
|
468
|
-
end
|
469
|
-
|
470
|
-
# Sequence multiple traversals together, by iteratively calling
|
471
|
-
# `find`. Each argument must be either a single segment ID or a
|
472
|
-
# list whose first element is a segment ID and remaining elements
|
473
|
-
# are segment constraints.
|
474
|
-
#
|
475
|
-
# @example
|
476
|
-
# machine.sequence(:GS, :ST, :HL)
|
477
|
-
# machine.sequence(:GS, [:ST, "837"], [:HL, nil, "20"])
|
478
|
-
#
|
479
|
-
# @return [Either<StateMachine>]
|
480
|
-
def sequence(pattern, *patterns)
|
481
|
-
patterns.inject(find(*pattern)) do |m, p|
|
482
|
-
m = m.flatmap{|n| n.find(*p) }
|
483
|
-
end
|
484
|
-
end
|
485
|
-
|
486
|
-
private
|
487
|
-
|
488
|
-
# @return [Either<StateMachine>]
|
489
|
-
def __find(invalid, id, elements, assert_repeatable = false)
|
490
|
-
reachable = false
|
491
|
-
matches = []
|
492
|
-
|
493
|
-
# Note op.segment_use.nil? is true when searching for ISA,
|
494
|
-
# GS, and ST, because we can't know the SegmentUse until we
|
495
|
-
# deconstruct the token and looked up the versions numbers
|
496
|
-
# in the Config. Nonetheless, we know ISA, GS, and ST can repeat
|
497
|
-
repeatable = [:ISA, :GS, :ST].include?(id)
|
498
|
-
|
499
|
-
@active.each do |zipper|
|
500
|
-
matched = false
|
501
|
-
filter_tok = mksegment_tok(zipper.node.segment_dict, id, elements, nil)
|
502
|
-
|
503
|
-
instructions = zipper.node.instructions.matches(filter_tok, true)
|
504
|
-
reachable ||= !instructions.empty?
|
505
|
-
|
506
|
-
grouped = instructions.runs do |a,b|
|
507
|
-
a.push == b.push &&
|
508
|
-
a.pop_count == b.pop_count &&
|
509
|
-
a.drop_count == b.drop_count
|
510
|
-
end
|
511
|
-
|
512
|
-
grouped.each do |group|
|
513
|
-
break if matched
|
514
|
-
|
515
|
-
# Every transition follows the same shape
|
516
|
-
# 1. Move upward a number of nodes
|
517
|
-
# 2. Move left a number of nodes
|
518
|
-
# 3. Move downward a number of nodes
|
519
|
-
# 4. Stop on a segment
|
520
|
-
|
521
|
-
op_, = group
|
522
|
-
state = zipper
|
523
|
-
value = zipper.node.zipper
|
524
|
-
|
525
|
-
repeatable ||= op_.segment_use.try(:repeatable?)
|
526
|
-
|
527
|
-
# 1. Move upward (possibly zero times)
|
528
|
-
op_.pop_count.times do
|
529
|
-
value = value.up
|
530
|
-
state = state.up
|
531
|
-
end
|
532
|
-
|
533
|
-
# 2. We know from the instruction `op` the *maximum* number of
|
534
|
-
# nodes to move left, but not exactly how many. Instead, we
|
535
|
-
# know what the InstructionTable is when we get there.
|
536
|
-
target = zipper.node.instructions.pop(op_.pop_count).drop(op_.drop_count)
|
537
|
-
|
538
|
-
# 3. If the segment we're searching for belongs in a new subtree,
|
539
|
-
# but it's not the only segment that might have "opened" that
|
540
|
-
# subtree (eg, Summary Table in 835 can begin with PLB or SE)
|
541
|
-
# then maybe the segment we're looking for comes *after* the
|
542
|
-
# first segment in this subtree.
|
543
|
-
#
|
544
|
-
# This is computed lazily below: non_leaders ||= ...
|
545
|
-
non_leaders = nil
|
546
|
-
|
547
|
-
until state.last?
|
548
|
-
state = state.next
|
549
|
-
value = value.next
|
550
|
-
ops = group
|
551
|
-
|
552
|
-
# 2. Even if the InstructionTable matches, we still need to
|
553
|
-
# descend to some segment and compare it to the criteria. In
|
554
|
-
# most circumstances, this segment is directly below this
|
555
|
-
if target.eql?(state.node.instructions)
|
556
|
-
|
557
|
-
# 3. Move downward a number of nodes. Ultimately, we need to
|
558
|
-
# descend to a segment, but we have to be careful...
|
559
|
-
_value = value
|
560
|
-
_state = state
|
561
|
-
|
562
|
-
unless _value.node.segment?
|
563
|
-
_value = _value.down
|
564
|
-
_state = _state.down
|
565
|
-
end
|
566
|
-
|
567
|
-
while true
|
568
|
-
__value = _value
|
569
|
-
__state = _state
|
570
|
-
|
571
|
-
# Descend to the first segment
|
572
|
-
until __value.node.segment?
|
573
|
-
__value = __value.down
|
574
|
-
__state = __state.down
|
575
|
-
end
|
576
|
-
|
577
|
-
matched =
|
578
|
-
if __value.node.invalid?
|
579
|
-
invalid and not __filter?(filter_tok, __value.node)
|
580
|
-
else
|
581
|
-
# Note op.segment_use.nil? is true when searching for ISA,
|
582
|
-
# GS, and ST, because we can't know the SegmentUse until we
|
583
|
-
# deconstruct the token and looked up the versions numbers
|
584
|
-
# in the Config.
|
585
|
-
ops.any?{|op| op.segment_use.nil? or op.segment_use.eql?(__value.node.usage) } \
|
586
|
-
and not filter?(filter_tok, __value.node)
|
587
|
-
end
|
588
|
-
|
589
|
-
# 4. Stop on a segment
|
590
|
-
if matched
|
591
|
-
unless __value.eql?(__state.node.zipper)
|
592
|
-
__state = __state.replace(__state.node.copy(:zipper => __value))
|
593
|
-
end
|
594
|
-
|
595
|
-
matches << __state
|
596
|
-
break
|
597
|
-
end
|
598
|
-
|
599
|
-
ops = non_leaders ||= group.reject do |op|
|
600
|
-
op.push.nil? ||
|
601
|
-
op.segment_use.nil? ||
|
602
|
-
1 >= zipper.node.instructions.instructions.count do |x|
|
603
|
-
x.push.present? and
|
604
|
-
(# This is hairy, but we know the instruction is pushing some
|
605
|
-
# number of nested subtrees. We know from each AbstractState
|
606
|
-
# subclass that we both either push a single subtree
|
607
|
-
op.segment_use.parent.eql?(x.segment_use.try(:parent)) or
|
608
|
-
# Or this instruction pushes one subtree while the other one
|
609
|
-
# pushes two (eg, a new loop inside of a table)
|
610
|
-
op.segment_use.parent.eql?(x.segment_use.try(:parent).try(:parent)) or
|
611
|
-
# Or this instruction pushes two subtrees (eg, a new loop in
|
612
|
-
# a new table) and the other also pushes two subtrees.
|
613
|
-
op.segment_use.parent.parent.eql?(x.segment_use.try(:parent)))
|
614
|
-
end
|
615
|
-
end
|
616
|
-
|
617
|
-
break if ops.empty?
|
618
|
-
break if _value.last?
|
619
|
-
|
620
|
-
_value = _value.next
|
621
|
-
_state = _state.next
|
622
|
-
end
|
623
|
-
|
624
|
-
# 4. Stop on a segment
|
625
|
-
break if matched
|
626
|
-
|
627
|
-
elsif target.length > state.node.instructions.length
|
628
|
-
# The ancestor state can't be one of the rightward siblings,
|
629
|
-
# since the length of instruction tables is non-increasing as
|
630
|
-
# we move rightward
|
631
|
-
break
|
632
|
-
end
|
633
|
-
end
|
634
|
-
end
|
635
|
-
end
|
636
|
-
|
637
|
-
if assert_repeatable and not repeatable
|
638
|
-
raise Exceptions::ParseError,
|
639
|
-
"#{id} segment is not repeatable"
|
640
|
-
end
|
641
|
-
|
642
|
-
if not reachable
|
643
|
-
raise Exceptions::ParseError,
|
644
|
-
"#{id} segment cannot be reached from the current state"
|
645
|
-
elsif matches.empty?
|
646
|
-
Either.failure("#{id}(#{elements.map(&:inspect).join(", ")}) segment does not occur")
|
647
|
-
else
|
648
|
-
Either.success(StateMachine.new(@config, matches))
|
649
|
-
end
|
650
|
-
end
|
651
|
-
|
652
|
-
# Returns true if the constraints modeled in `filter_tok` are not
|
653
|
-
# satisfied by the given `segment_val`, otherwise returns false.
|
654
|
-
def filter?(filter_tok, segment_val)
|
655
|
-
return true unless filter_tok.id == segment_val.id
|
656
|
-
|
657
|
-
filter_tok.element_toks.zip(segment_val.children) do |f_tok, e_val|
|
658
|
-
if f_tok.simple?
|
659
|
-
return true unless f_tok.blank? or e_val == f_tok.value
|
660
|
-
elsif f_tok.composite?
|
661
|
-
f_tok.component_toks.zip(e_val.children) do |c_tok, c_val|
|
662
|
-
return true unless c_tok.blank? or c_val == c_tok.value
|
663
|
-
end
|
664
|
-
elsif f_tok.present?
|
665
|
-
raise Exceptions::ParseError,
|
666
|
-
"only simple and composite elements can be filtered"
|
667
|
-
end
|
668
|
-
end
|
669
|
-
|
670
|
-
false
|
671
|
-
end
|
672
|
-
|
673
|
-
# Returns true if the constraints modeled in `filter_tok` are not
|
674
|
-
# satisfied by the given `invalid_val`, otherwise returns false.
|
675
|
-
def __filter?(filter_tok, invalid_val)
|
676
|
-
return true unless filter_tok.id == invalid_val.id
|
677
|
-
|
678
|
-
children = invalid_val.segment_tok.element_toks
|
679
|
-
filter_tok.element_toks.zip(children) do |f_tok, e_tok|
|
680
|
-
if f_tok.simple?
|
681
|
-
return true unless f_tok.blank? or f_tok.value == e_tok.value
|
682
|
-
elsif f_tok.composite?
|
683
|
-
children = e_tok.component_toks
|
684
|
-
f_tok.component_toks.zip(children) do |f_com, e_com|
|
685
|
-
return true unless f_com.blank? or f_com.value == e_com.value
|
686
|
-
end
|
687
|
-
elsif f_tok.present?
|
688
|
-
raise Exceptions::ParseError,
|
689
|
-
"only simple and composite elements can be filtered"
|
690
|
-
end
|
691
|
-
end
|
692
|
-
|
693
|
-
false
|
694
|
-
end
|
695
|
-
|
696
|
-
# @return [Integer]
|
697
|
-
def __count(invalid, id, elements)
|
698
|
-
cursor = __find(invalid, id, elements)
|
699
|
-
count = 0
|
700
|
-
|
701
|
-
while cursor.defined?
|
702
|
-
count += 1
|
703
|
-
cursor = cursor.flatmap{|c| c.send(:__find, invalid, id, elements) }
|
704
|
-
end
|
705
|
-
|
706
|
-
count
|
707
|
-
end
|
708
|
-
|
709
|
-
# Returns the cursor positioned at the root of the parse tree linked
|
710
|
-
# from each state.
|
711
|
-
#
|
712
|
-
# @return [Array<Zipper::RootCursor>]
|
713
|
-
def roots
|
714
|
-
@active.map do |zipper|
|
715
|
-
state = zipper
|
716
|
-
value = zipper.node.zipper
|
717
|
-
|
718
|
-
zipper.depth.times do
|
719
|
-
value = value.up
|
720
|
-
state = state.up
|
721
|
-
end
|
722
|
-
|
723
|
-
# Synchronize the two parallel state and value nodes
|
724
|
-
unless value.eql?(state.node.zipper)
|
725
|
-
state = state.replace(state.node.copy(:zipper => value))
|
726
|
-
end
|
727
|
-
|
728
|
-
state
|
729
|
-
end
|
730
|
-
end
|
731
|
-
|
732
|
-
end
|
733
|
-
|
734
|
-
end
|
735
|
-
end
|