aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3dv/modify_instructions.rb
blob: 48ae92c64ebd249e20bb250d709f1c2403571a7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
#module SiSU_MC
  class Extracted
    def modify
      def modules_and_classes
        [
        ##% -- dal.rb
        # [/SiSU_DAL/,                                                           'SiSU_DAL'],
        #   [/Instantiate/,                                                      'Instantiate'],
        #   [/Make/,                                                             'Make'],
        #   [/Output/,                                                           'Output'],
        #   [/Source/,                                                           'Source'],
        ##% -- dal_character_check.rb
        # [/SiSU_CharacterCheck/,                                                'SiSU_CharacterCheck'],
        #   [/Check/,                                                            'Check'],
        ##% -- dal_doc_objects.rb
        # [/SiSU_DocumentStructure/,                                             'SiSU_DocumentStructure'],
        #   [/Extract/,                                                          'Extract'],
        #   [/ObjectBlockTxt/,                                                   'ObjectBlockTxt'],
        #   [/ObjectComment/,                                                    'ObjectComment'],
        #   [/ObjectHeading/,                                                    'ObjectHeading'],
        #   [/ObjectImage/,                                                      'ObjectImage'],
        #   [/ObjectLayout/,                                                     'ObjectLayout'],
        #   [/ObjectMeta/,                                                       'ObjectMeta'],
        #   [/ObjectMetadata/,                                                   'ObjectMetadata'],
        #   [/ObjectPara/,                                                       'ObjectPara'],
        #   [/ObjectStructure/,                                                  'ObjectStructure'],
        #   [/ObjectTable/,                                                      'ObjectTable'],
        ##% -- dal_doc_str.rb
        # [/SiSU_DocumentStructureExtract/,                                      'SiSU_DocumentStructureExtract'],
        #   [/Build/,                                                            'Build'],
        #   [/Instantiate/,                                                      'Instantiate'],
        #   [/OCN/,                                                              'OCN'],
        #   [/Structure/,                                                        'Structure'],
        #   [/XML/,                                                              'XML'],
        ##% -- dal_endnotes.rb
        # [/SiSU_Endnotes/,                                                      'SiSU_Endnotes'],
        #   [/Endnotes/,                                                         'Endnotes'],
        ##% -- dal_expand_insertions.rb
        # [/SiSU_Insertions/,                                                    'SiSU_Insertions'],
        #   [/Insertions/,                                                       'Insertions'],
        ##% -- dal_hash_digest.rb
        # [/SiSU_Hash/,                                                          'SiSU_Hash'],
        #   [/ObjectDigest/,                                                     'ObjectDigest'],
        ##% -- dal_idx.rb
        # [/SiSU_BookIndex/,                                                     'SiSU_BookIndex'],
        #   [/BookIndex/,                                                        'BookIndex'],
        ##% -- dal_images.rb
        # [/SiSU_Images/,                                                        'SiSU_Images'],
        #   [/Images/,                                                           'Images'],
        ##% -- dal_metadata.rb
        # [/SiSU_Metadata/,                                                      'SiSU_Metadata'],
        #   [/Metadata/,                                                         'Metadata'],
        ##% -- dal_numbering.rb
        # [/SiSU_Numbering/,                                                     'SiSU_Numbering'],
        #   [/Numbering/,                                                        'Numbering'],
        ##% -- dal_substitutions_and_insertions.rb
        # [/SiSU_SubstituteAndInsert/,                                           'SiSU_SubstituteAndInsert'],
        #   [/SI/,                                                               'SI'],
        ##% -- dal_syntax.rb
        # [/SiSU_Syntax/,                                                        'SiSU_Syntax'],
        #   [/Markup/,                                                           'Markup'],
        #   [/Words/,                                                            'Words'],
        ]
      end
      def modules
        [
        # number of modules: 13, unique: 13
          [/SiSU_BookIndex/,                                                     'SiSU_DAL_BookIndex'],
          [/SiSU_CharacterCheck/,                                                'SiSU_DAL_CharacterCheck'],
        # [/SiSU_DAL/,                                                           'SiSU_DAL'],
          [/SiSU_DocumentStructure/,                                             'SiSU_DAL_DocumentStructure'],
          [/SiSU_DocumentStructureExtract/,                                      'SiSU_DAL_DocumentStructureExtract'],
          [/SiSU_Endnotes/,                                                      'SiSU_DAL_Endnotes'],
          [/SiSU_Hash/,                                                          'SiSU_DAL_Hash'],
          [/SiSU_Images/,                                                        'SiSU_DAL_Images'],
          [/SiSU_Insertions/,                                                    'SiSU_DAL_Insertions'],
          [/SiSU_Metadata/,                                                      'SiSU_DAL_Metadata'],
          [/SiSU_Numbering/,                                                     'SiSU_DAL_Numbering'],
          [/SiSU_SubstituteAndInsert/,                                           'SiSU_DAL_SubstituteAndInsert'],
          [/SiSU_Syntax/,                                                        'SiSU_DAL_Syntax'],
        ]
      end
      def classes
        [
        # number of classes: 31, unique: 30
        # [/BookIndex/,                                                          'BookIndex'],
        # [/Build/,                                                              'Build'],
        # [/Check/,                                                              'Check'],
        # [/Endnotes/,                                                           'Endnotes'],
        # [/Extract/,                                                            'Extract'],
        # [/Images/,                                                             'Images'],
        # [/Insertions/,                                                         'Insertions'],
        # [/Instantiate/,                                                        'Instantiate'],
        # [/Make/,                                                               'Make'],
        # [/Markup/,                                                             'Markup'],
        # [/Metadata/,                                                           'Metadata'],
        # [/Numbering/,                                                          'Numbering'],
        # [/OCN/,                                                                'OCN'],
        # [/ObjectBlockTxt/,                                                     'ObjectBlockTxt'],
        # [/ObjectComment/,                                                      'ObjectComment'],
        # [/ObjectDigest/,                                                       'ObjectDigest'],
        # [/ObjectHeading/,                                                      'ObjectHeading'],
        # [/ObjectImage/,                                                        'ObjectImage'],
        # [/ObjectLayout/,                                                       'ObjectLayout'],
        # [/ObjectMeta/,                                                         'ObjectMeta'],
        # [/ObjectMetadata/,                                                     'ObjectMetadata'],
        # [/ObjectPara/,                                                         'ObjectPara'],
        # [/ObjectStructure/,                                                    'ObjectStructure'],
        # [/ObjectTable/,                                                        'ObjectTable'],
        # [/Output/,                                                             'Output'],
        # [/SI/,                                                                 'SI'],
        # [/Source/,                                                             'Source'],
        # [/Structure/,                                                          'Structure'],
        # [/Words/,                                                              'Words'],
        # [/XML/,                                                                'XML'],
        ]
      end
      self
    end
  end
#end