@@ -139,7 +139,45 @@ def build_HTML_interface_to_slicer_instrumentation_props(props,fname):
139
139
with open (fname ,"w" ) as ofile :
140
140
ofile .write (get_html_prefix ("Instrumentation props" ))
141
141
142
- ofile .write ("<h2>Definition of states of the instrumentation automaton</h2>\n " )
142
+ ofile .write ("<h1>Instrumentation properties</h1>\n " )
143
+
144
+ ofile .write ("<p>\n " )
145
+ ofile .write ("These data represent a complete information for instrumentation\n " )
146
+ ofile .write ("of shadow variables and related program statements into the GOTO program.\n " )
147
+ ofile .write ("</p>\n " )
148
+
149
+ ofile .write ("<h2>Definition of data types for instrumentation</h2>\n " )
150
+
151
+ ofile .write ("<p>\n " )
152
+ ofile .write ("This is a list of program types which will be instrumented by shadow variables\n " )
153
+ ofile .write ("identified here by the corresponding names of tokens.\n " )
154
+ ofile .write ("</p>\n " )
155
+
156
+ ofile .write ("<table>\n " )
157
+ ofile .write (" <tr>\n " )
158
+ ofile .write (" <th>Type name</th>\n " )
159
+ ofile .write (" <th>Shadow variables</th>\n " )
160
+ ofile .write (" <th>Create sub-class?</th>\n " )
161
+ ofile .write (" </tr>\n " )
162
+ for dtype in props ["datatypes" ]:
163
+ ofile .write (" <tr>\n " )
164
+ ofile .write (" <td>" + escape_text_to_HTML (dtype ["type_name" ]) + "</td>\n " )
165
+ ofile .write (" <td>\n " )
166
+ ofile .write (" <ul>\n " )
167
+ for var in dtype ["shadow_vars" ]:
168
+ ofile .write (" <li>" + escape_text_to_HTML (var ) + "</li>\n " )
169
+ ofile .write (" </ul>\n " )
170
+ ofile .write (" </td>\n " )
171
+ ofile .write (" <td align=\" center\" >" + str (dtype ["make_subclass" ]) + "</td>\n " )
172
+ ofile .write (" </tr>\n " )
173
+ ofile .write ("</table>\n " )
174
+
175
+ ofile .write ("<h2>Definition of instrumentation statements</h2>\n " )
176
+
177
+ ofile .write ("<p>\n " )
178
+ ofile .write ("This is a list of program locations and descriptions of program statemenets\n " )
179
+ ofile .write ("to be instrumented (at those locations).\n " )
180
+ ofile .write ("</p>\n " )
143
181
144
182
state_index = 0
145
183
for loc in props ["location_props" ]:
0 commit comments