Debian Codegraph @

src/gen/lib/cgraph/attr__c.java

raw symbols SCIP
1 /* ========================================================================
2 * PlantUML : a free UML diagram generator
3 * ========================================================================
4 *
5 * Project Info: http://plantuml.com
6 *
7 * If you like this project or if you find it useful, you can support us at:
8 *
9 * http://plantuml.com/patreon (only 1$ per month!)
10 * http://plantuml.com/paypal
11 *
12 * This file is part of Smetana.
13 * Smetana is a partial translation of Graphviz/Dot sources from C to Java.
14 *
15 * (C) Copyright 2009-2020, Arnaud Roques
16 *
17 * This translation is distributed under the same Licence as the original C program:
18 *
19 *************************************************************************
20 * Copyright (c) 2011 AT&T Intellectual Property
21 * All rights reserved. This program and the accompanying materials
22 * are made available under the terms of the Eclipse Public License v1.0
23 * which accompanies this distribution, and is available at
24 * http://www.eclipse.org/legal/epl-v10.html
25 *
26 * Contributors: See CVS logs. Details at http://www.graphviz.org/
27 *************************************************************************
28 *
29 * THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
30 * LICENSE ("AGREEMENT"). [Eclipse Public License - v 1.0]
31 *
32 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES
33 * RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
34 *
35 * You may obtain a copy of the License at
36 *
37 * http://www.eclipse.org/legal/epl-v10.html
38 *
39 * Unless required by applicable law or agreed to in writing, software
40 * distributed under the License is distributed on an "AS IS" BASIS,
41 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
42 * See the License for the specific language governing permissions and
43 * limitations under the License.
44 *
45 */
46 package gen.lib.cgraph;
47 import static gen.lib.cdt.dtsize__c.dtsize_;
48 import static gen.lib.cdt.dtview__c.dtview;
49 import static gen.lib.cgraph.apply__c.agapply;
50 import static gen.lib.cgraph.edge__c.agfstout;
51 import static gen.lib.cgraph.edge__c.agnxtout;
52 import static gen.lib.cgraph.graph__c.agopen;
53 import static gen.lib.cgraph.mem__c.agalloc;
54 import static gen.lib.cgraph.node__c.agfstnode;
55 import static gen.lib.cgraph.node__c.agnxtnode;
56 import static gen.lib.cgraph.obj__c.agmethod_upd;
57 import static gen.lib.cgraph.obj__c.agraphof;
58 import static gen.lib.cgraph.obj__c.agroot;
59 import static gen.lib.cgraph.rec__c.agbindrec;
60 import static gen.lib.cgraph.rec__c.aggetrec;
61 import static gen.lib.cgraph.refstr__c.agstrdup;
62 import static gen.lib.cgraph.refstr__c.agstrfree;
63 import static gen.lib.cgraph.subg__c.agparent;
64 import static gen.lib.cgraph.utils__c.agdtopen;
65 import static smetana.core.JUtils.NEQ;
66 import static smetana.core.JUtils.function;
67 import static smetana.core.JUtils.sizeof;
68 import static smetana.core.JUtilsDebug.ENTERING;
69 import static smetana.core.JUtilsDebug.LEAVING;
70 import static smetana.core.Macro.AGEDGE;
71 import static smetana.core.Macro.AGINEDGE;
72 import static smetana.core.Macro.AGNODE;
73 import static smetana.core.Macro.AGOUTEDGE;
74 import static smetana.core.Macro.AGRAPH;
75 import static smetana.core.Macro.AGTYPE;
76 import static smetana.core.Macro.N;
77 import static smetana.core.Macro.UNSUPPORTED;
78 import h.ST_Agattr_s;
79 import h.ST_Agdatadict_s;
80 import h.ST_Agdesc_s;
81 import h.ST_Agedge_s;
82 import h.ST_Agnode_s;
83 import h.ST_Agobj_s;
84 import h.ST_Agraph_s;
85 import h.ST_Agrec_s;
86 import h.ST_Agsym_s;
87 import h.ST_Agtag_s;
88 import h.ST_dt_s;
89 import h.ST_dtdisc_s;
90
91 import java.util.ArrayList;
92
93 import smetana.core.CString;
94 import smetana.core.Memory;
95 import smetana.core.Z;
96 import smetana.core.__ptr__;
97
98 public class attr__c {
99 //1 9k44uhd5foylaeoekf3llonjq
100 // extern Dtmethod_t* Dtset
101
102
103 //1 1ahfywsmzcpcig2oxm7pt9ihj
104 // extern Dtmethod_t* Dtbag
105
106
107 //1 anhghfj3k7dmkudy2n7rvt31v
108 // extern Dtmethod_t* Dtoset
109
110
111 //1 5l6oj1ux946zjwvir94ykejbc
112 // extern Dtmethod_t* Dtobag
113
114
115 //1 2wtf222ak6cui8cfjnw6w377z
116 // extern Dtmethod_t* Dtlist
117
118
119 //1 d1s1s6ibtcsmst88e3057u9r7
120 // extern Dtmethod_t* Dtstack
121
122
123 //1 axa7mflo824p6fspjn1rdk0mt
124 // extern Dtmethod_t* Dtqueue
125
126
127 //1 ega812utobm4xx9oa9w9ayij6
128 // extern Dtmethod_t* Dtdeque
129
130
131 //1 cyfr996ur43045jv1tjbelzmj
132 // extern Dtmethod_t* Dtorder
133
134
135 //1 wlofoiftbjgrrabzb2brkycg
136 // extern Dtmethod_t* Dttree
137
138
139 //1 12bds94t7voj7ulwpcvgf6agr
140 // extern Dtmethod_t* Dthash
141
142
143 //1 9lqknzty480cy7zsubmabkk8h
144 // extern Dtmethod_t _Dttree
145
146
147 //1 bvn6zkbcp8vjdhkccqo1xrkrb
148 // extern Dtmethod_t _Dthash
149
150
151 //1 9lidhtd6nsmmv3e7vjv9e10gw
152 // extern Dtmethod_t _Dtlist
153
154
155 //1 34ujfamjxo7xn89u90oh2k6f8
156 // extern Dtmethod_t _Dtqueue
157
158
159 //1 3jy4aceckzkdv950h89p4wjc8
160 // extern Dtmethod_t _Dtstack
161
162
163 //1 8dfqgf3u1v830qzcjqh9o8ha7
164 // extern Agmemdisc_t AgMemDisc
165
166
167 //1 18k2oh2t6llfsdc5x0wlcnby8
168 // extern Agiddisc_t AgIdDisc
169
170
171 //1 a4r7hi80gdxtsv4hdoqpyiivn
172 // extern Agiodisc_t AgIoDisc
173
174
175 //1 bnzt5syjb7mgeru19114vd6xx
176 // extern Agdisc_t AgDefaultDisc
177
178
179 //1 35y2gbegsdjilegaribes00mg
180 // extern Agdesc_t Agdirected, Agstrictdirected, Agundirected, Agstrictundirected
181
182
183 //1 c2rygslq6bcuka3awmvy2b3ow
184 // typedef Agsubnode_t Agnoderef_t
185
186
187 //1 xam6yv0dcsx57dtg44igpbzn
188 // typedef Dtlink_t Agedgeref_t
189
190
191 //1 6ayavpu39aihwyojkx093pcy3
192 // extern Agraph_t *Ag_G_global
193
194
195 //1 871mxtg9l6ffpxdl9kniwusf7
196 // extern char *AgDataRecName
197
198
199 //1 c0o2kmml0tn6hftuwo0u4shwd
200 // extern Dtdisc_t Ag_subnode_id_disc
201
202
203 //1 8k15pyu256unm2kpd9zf5pf7k
204 // extern Dtdisc_t Ag_subnode_seq_disc
205
206
207 //1 e3d820y06gpeusn6atgmj8bzd
208 // extern Dtdisc_t Ag_mainedge_id_disc
209
210
211 //1 cbr0772spix9h1aw7h5v7dv9j
212 // extern Dtdisc_t Ag_subedge_id_disc
213
214
215 //1 akd0c3v0j7m2npxcb9acit1fa
216 // extern Dtdisc_t Ag_mainedge_seq_disc
217
218
219 //1 12d8la07351ww7vwfzucjst8m
220 // extern Dtdisc_t Ag_subedge_seq_disc
221
222
223 //1 29eokk7v88e62g8o6lizmo967
224 // extern Dtdisc_t Ag_subgraph_id_disc
225
226
227 //1 4xd9cbgy6hk5g6nhjcbpzkx14
228 // extern Agcbdisc_t AgAttrdisc
229
230
231 //1 cwbgwzo8cprw4eobs3iji59dp
232 // Dtdisc_t AgDataDictDisc =
233 /*static public final __struct__<_dtdisc_s> AgDataDictDisc = JUtils.from(_dtdisc_s.class);
234 static {
235 AgDataDictDisc.setInt("key", OFFSET.create(Agsym_s.class, "name").toInt());
236 AgDataDictDisc.setInt("size", -1);
237 AgDataDictDisc.setInt("link", OFFSET.create(Agsym_s.class, "link").toInt());
238 AgDataDictDisc.setPtr("makef", null);
239 AgDataDictDisc.setPtr("freef", function(attr__c.class, "freesym"));
240 AgDataDictDisc.setPtr("comparf", null);
241 AgDataDictDisc.setPtr("hashf", null);
242 }*/
243
244 //1 67blfrj9x850g8ccpo9qjer2
245 // static char DataDictName[] =
246 public final static CString DataDictName = new CString("_AG_datadict");
247 //1 1qn6s7dwoq08ugdjnmsvdgj6u
248 // static Agdesc_t ProtoDesc =
249 /*static final public __struct__<Agdesc_s> ProtoDesc = JUtils.from(Agdesc_s.class);
250 static {
251 ProtoDesc.setInt("directed", 1);
252 ProtoDesc.setInt("strict", 0);
253 ProtoDesc.setInt("no_loop", 1);
254 ProtoDesc.setInt("maingraph", 0);
255 ProtoDesc.setInt("flatlock", 1);
256 ProtoDesc.setInt("no_write", 1);
257 }*/
258
259
260 //1 30ftenxl879wmnziizunr5vt1
261 // static Agraph_t *ProtoGraph
262 //static public Agraph_s ProtoGraph;
263
264
265
266 //3 4bm10isw1qq1eqcse8afbxee3
267 // Agdatadict_t *agdatadict(Agraph_t * g, int cflag)
268 public static ST_Agdatadict_s agdatadict(ST_Agraph_s g, boolean cflag) {
269 ENTERING("4bm10isw1qq1eqcse8afbxee3","agdatadict");
270 try {
271 ST_Agdatadict_s rv;
272 rv = (ST_Agdatadict_s) aggetrec(g, DataDictName, false).castTo(ST_Agdatadict_s.class);
273 if (rv!=null || N(cflag))
274 return rv;
275 init_all_attrs(g);
276 rv = (ST_Agdatadict_s) aggetrec(g, DataDictName, false).castTo(ST_Agdatadict_s.class);
277 return rv;
278 } finally {
279 LEAVING("4bm10isw1qq1eqcse8afbxee3","agdatadict");
280 }
281 }
282
283
284
285
286 //3 2b2cg0am9e1lwc0nqikl2wczb
287 // Dict_t *agdictof(Agraph_t * g, int kind)
288 public static ST_dt_s agdictof(ST_Agraph_s g, int kind) {
289 ENTERING("2b2cg0am9e1lwc0nqikl2wczb","agdictof");
290 try {
291 ST_Agdatadict_s dd;
292 ST_dt_s dict;
293 dd = agdatadict(g, false);
294 if (dd!=null)
295 switch (kind) {
296 case AGRAPH:
297 dict = (ST_dt_s) dd.dict_g;
298 break;
299 case AGNODE:
300 dict = (ST_dt_s) dd.dict_n;
301 break;
302 case AGINEDGE:
303 case AGOUTEDGE:
304 dict = (ST_dt_s) dd.dict_e;
305 break;
306 default:
307 System.err.println("agdictof: unknown kind "+ kind);
308 dict = null;
309 throw new UnsupportedOperationException();
310 } else
311 dict = null;
312 return dict;
313 } finally {
314 LEAVING("2b2cg0am9e1lwc0nqikl2wczb","agdictof");
315 }
316 }
317
318
319
320
321 //3 dbhw2q2jfsz9qwawchy0hxj4i
322 // Agsym_t *agnewsym(Agraph_t * g, char *name, char *value, int id, int kind)
323 public static ST_Agsym_s agnewsym(ST_Agraph_s g, CString name, CString value, int id, int kind) {
324 ENTERING("dbhw2q2jfsz9qwawchy0hxj4i","agnewsym");
325 try {
326 ST_Agsym_s sym;
327 sym = (ST_Agsym_s) agalloc(g, sizeof(ST_Agsym_s.class));
328 sym.setInt("kind", kind);
329 sym.setPtr("name", agstrdup(g, name));
330 sym.setPtr("defval", agstrdup(g, value));
331 sym.setInt("id", id);
332 return sym;
333 } finally {
334 LEAVING("dbhw2q2jfsz9qwawchy0hxj4i","agnewsym");
335 }
336 }
337
338
339
340
341 //3 5s4tpjeh3jwf722izjq6cm6rq
342 // static void agcopydict(Dict_t * src, Dict_t * dest, Agraph_t * g, int kind)
343 public static Object agcopydict(Object... arg) {
344 UNSUPPORTED("5x2q9spbx7y0k6l59z6oy8cuc"); // static void agcopydict(Dict_t * src, Dict_t * dest, Agraph_t * g, int kind)
345 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
346 UNSUPPORTED("1y11aotql5lts9njnreyq9t6r"); // Agsym_t *sym, *newsym;
347 UNSUPPORTED("5i0sddp616zsw63jk38od62l4"); // ;
348 UNSUPPORTED("5wsq1ipnwwy8yumrluztmye7f"); // for (sym = (Agsym_t *) (*(((Dt_t*)(src))->searchf))((src),(void*)(0),0000200); sym;
349 UNSUPPORTED("aqq7o7hh4nwqvvtcdqetmidkg"); // sym = (Agsym_t *) (*(((Dt_t*)(src))->searchf))((src),(void*)(sym),0000010)) {
350 UNSUPPORTED("2astc0oxlvew45mitrflnx0ar"); // newsym = agnewsym(g, sym->name, sym->defval, sym->id, kind);
351 UNSUPPORTED("36os9hvg0e59rrhe68di2b5r3"); // newsym->print = sym->print;
352 UNSUPPORTED("77sre49xpjwlyjqhek659u3tq"); // newsym->fixed = sym->fixed;
353 UNSUPPORTED("3rc58hrkem2xey59d9ptss1sx"); // (*(((Dt_t*)(dest))->searchf))((dest),(void*)(newsym),0000001);
354 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
355 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
356
357 throw new UnsupportedOperationException();
358 }
359
360
361
362
363 //3 alb1d5x6huba3q44ms1wt0rr5
364 // static Agdatadict_t *agmakedatadict(Agraph_t * g)
365 public static ST_Agdatadict_s agmakedatadict(ST_Agraph_s g) {
366 ENTERING("alb1d5x6huba3q44ms1wt0rr5","agmakedatadict");
367 try {
368 ST_Agraph_s par;
369 ST_Agdatadict_s parent_dd, dd;
370 dd = (ST_Agdatadict_s) agbindrec(g, DataDictName, sizeof(ST_Agdatadict_s.class),
371 false).castTo(ST_Agdatadict_s.class);
372 dd.setPtr("dict.n", agdtopen(g, Z.z().AgDataDictDisc, Z.z().Dttree));
373 dd.setPtr("dict.e", agdtopen(g, Z.z().AgDataDictDisc,Z.z(). Dttree));
374 dd.setPtr("dict.g", agdtopen(g, Z.z().AgDataDictDisc, Z.z().Dttree));
375 if ((par = agparent(g))!=null) {
376 parent_dd = agdatadict(par, false);
377 dtview((ST_dt_s)dd.dict_n, (ST_dt_s)parent_dd.dict_n);
378 dtview((ST_dt_s)dd.dict_e, (ST_dt_s)parent_dd.dict_e);
379 dtview((ST_dt_s)dd.dict_g, (ST_dt_s)parent_dd.dict_g);
380 } else {
381 if (Z.z().ProtoGraph!=null && NEQ(g, Z.z().ProtoGraph)) {
382 /* it's not ok to dtview here for several reasons. the proto
383 graph could change, and the sym indices don't match */
384 parent_dd = agdatadict(Z.z().ProtoGraph, false);
385 agcopydict(parent_dd.dict_n, dd.dict_n, g, AGNODE);
386 agcopydict(parent_dd.dict_e, dd.dict_e, g, AGEDGE);
387 agcopydict(parent_dd.dict_g, dd.dict_g, g, AGRAPH);
388 }
389 }
390 return dd;
391 } finally {
392 LEAVING("alb1d5x6huba3q44ms1wt0rr5","agmakedatadict");
393 }
394 }
395
396
397
398
399 //3 50wfzq5wy8wc7vuyvs3mrx5ct
400 // Agsym_t *agdictsym(Dict_t * dict, char *name)
401 public static ST_Agsym_s agdictsym(ST_dt_s dict, CString name) {
402 ENTERING("50wfzq5wy8wc7vuyvs3mrx5ct","agdictsym");
403 try {
404 ST_Agsym_s key = (ST_Agsym_s) Memory.malloc(ST_Agsym_s.class);
405 key.setPtr("name", name);
406 return (ST_Agsym_s) dict.searchf.exe((dict),key,0000004);
407 } finally {
408 LEAVING("50wfzq5wy8wc7vuyvs3mrx5ct","agdictsym");
409 }
410 }
411
412
413
414
415 //3 4wy4ggu70d7harhix8xnh5w4l
416 // Agsym_t *aglocaldictsym(Dict_t * dict, char *name)
417 public static ST_Agsym_s aglocaldictsym(ST_dt_s dict, CString name) {
418 ENTERING("4wy4ggu70d7harhix8xnh5w4l","aglocaldictsym");
419 try {
420 ST_Agsym_s rv;
421 ST_dt_s view;
422 view = dtview(dict, null);
423 rv = agdictsym(dict, name);
424 dtview(dict, view);
425 return rv;
426 } finally {
427 LEAVING("4wy4ggu70d7harhix8xnh5w4l","aglocaldictsym");
428 }
429 }
430
431
432
433
434 //3 8hy9sl3zmwobwm960jz466ufe
435 // Agsym_t *agattrsym(void *obj, char *name)
436 public static ST_Agsym_s agattrsym(__ptr__ obj, CString name) {
437 ENTERING("8hy9sl3zmwobwm960jz466ufe","agattrsym");
438 try {
439 ST_Agattr_s data;
440 ST_Agsym_s rv;
441 CString arg = name;
442 data = agattrrec(obj.castTo(ST_Agobj_s.class));
443 if (data!=null)
444 rv = agdictsym((ST_dt_s)data.dict, arg);
445 else
446 rv = null;
447 return rv;
448 } finally {
449 LEAVING("8hy9sl3zmwobwm960jz466ufe","agattrsym");
450 }
451 }
452
453
454 //1 covyqfvabl7igx9g5rvlhgngz
455 // char *AgDataRecName =
456 public final static CString AgDataRecName = new CString("_AG_strdata");
457
458
459
460 //3 6az8xu0sgu1d6abu0xfpd89hi
461 // static int topdictsize(Agobj_t * obj)
462 public static int topdictsize(ST_Agobj_s obj) {
463 ENTERING("6az8xu0sgu1d6abu0xfpd89hi","topdictsize");
464 try {
465 ST_dt_s d;
466 d = agdictof(agroot(agraphof(obj)), AGTYPE(obj));
467 return d!=null ? dtsize_(d) : 0;
468 } finally {
469 LEAVING("6az8xu0sgu1d6abu0xfpd89hi","topdictsize");
470 }
471 }
472
473
474
475
476 //3 3wjrlyjdlz8k9nfxenxsfiqmj
477 // static Agrec_t *agmakeattrs(Agraph_t * context, void *obj)
478 public static ST_Agrec_s agmakeattrs(ST_Agraph_s context, __ptr__ obj) {
479 ENTERING("3wjrlyjdlz8k9nfxenxsfiqmj","agmakeattrs");
480 try {
481 int sz;
482 ST_Agattr_s rec;
483 ST_Agsym_s sym;
484 ST_dt_s datadict;
485 rec = (ST_Agattr_s) agbindrec(obj, AgDataRecName, sizeof(ST_Agattr_s.class), false).castTo(ST_Agattr_s.class);
486 datadict = agdictof(context, AGTYPE(obj));
487
488
489 if (rec.dict == null) {
490 rec.dict = agdictof(agroot(context), AGTYPE(obj));
491 /* don't malloc(0) */
492 sz = topdictsize((ST_Agobj_s) obj.castTo(ST_Agobj_s.class));
493 if (sz < 4)
494 sz = 4;
495 rec.str = new ArrayList<CString>(); for (int i=0; i<sz; i++) rec.str.add(null);
496 /* doesn't call agxset() so no obj-modified callbacks occur */
497 for (sym = (ST_Agsym_s) ((__ptr__)datadict.searchf.exe(datadict,null,0000200)); sym!=null;
498 sym = (ST_Agsym_s) ((__ptr__)datadict.searchf.exe(datadict,sym,0000010)))
499 rec.str.set(sym.id, agstrdup(agraphof(obj), sym.defval));
500 } else {
501 }
502 return (ST_Agrec_s) rec.castTo(ST_Agrec_s.class);
503 } finally {
504 LEAVING("3wjrlyjdlz8k9nfxenxsfiqmj","agmakeattrs");
505 }
506 }
507
508
509
510
511 //3 50md6kgbmmjiwsq00tdvtqrom
512 // static void freeattr(Agobj_t * obj, Agattr_t * attr)
513 public static Object freeattr(Object... arg) {
514 UNSUPPORTED("b7w7ts75503jg2pb69wdgviy6"); // static void freeattr(Agobj_t * obj, Agattr_t * attr)
515 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
516 UNSUPPORTED("22kc1nt4b0bllq26fmw8ytgp2"); // int i, sz;
517 UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); // Agraph_t *g;
518 UNSUPPORTED("8pfuk9ua4x9bh68zk1kzwc5t9"); // g = agraphof(obj);
519 UNSUPPORTED("65sc7rva5ncw0awo92jglve6w"); // sz = topdictsize(obj);
520 UNSUPPORTED("cl9683xent4h3vyf21r0ct6a1"); // for (i = 0; i < sz; i++)
521 UNSUPPORTED("4so817anjuwmq6rj2hjrk4wlx"); // agstrfree(g, attr->str[i]);
522 UNSUPPORTED("5t1oinkxblld9xyoaz469i6dz"); // agfree(g, attr->str);
523 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
524
525 throw new UnsupportedOperationException();
526 }
527
528
529
530
531 //3 6b3c2syvj23lbf7kz0aal8vmc
532 // static void freesym(Dict_t * d, void * obj, Dtdisc_t * disc)
533 public static void freesym(ST_dt_s d, Object obj, ST_dtdisc_s disc) {
534 ENTERING("6b3c2syvj23lbf7kz0aal8vmc","freesym");
535 try {
536 UNSUPPORTED("bf9av4xbx61835st3og3wfqr8"); // static void freesym(Dict_t * d, void * obj, Dtdisc_t * disc)
537 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
538 UNSUPPORTED("av59ae8c4mws46sf5dumz1k0s"); // Agsym_t *sym;
539 UNSUPPORTED("6z29omss9ay00bqf6xael7t6t"); // (void) d;
540 UNSUPPORTED("3wnut6i7v07q7n0fa538dyp7a"); // sym = (Agsym_t *) obj;
541 UNSUPPORTED("8l8wg6vltx6d7vc9dzqb6n3wi"); // (void) disc;
542 UNSUPPORTED("aka2fcwk9snppcvd59dzewx38"); // agstrfree(Ag_G_global, sym->name);
543 UNSUPPORTED("89enhovojps3wt6zo6s4xqlu7"); // agstrfree(Ag_G_global, sym->defval);
544 UNSUPPORTED("2ttw1xr5hp7fxq8w5bofu7cg9"); // agfree(Ag_G_global, sym);
545 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
546
547 throw new UnsupportedOperationException();
548 } finally {
549 LEAVING("6b3c2syvj23lbf7kz0aal8vmc","freesym");
550 }
551 }
552
553
554
555
556 //3 13sfx74lme08ur04vkrqta25j
557 // Agattr_t *agattrrec(void *obj)
558 public static ST_Agattr_s agattrrec(__ptr__ obj) {
559 ENTERING("13sfx74lme08ur04vkrqta25j","agattrrec");
560 try {
561 return (ST_Agattr_s) aggetrec(obj, AgDataRecName, false).castTo(ST_Agattr_s.class);
562 } finally {
563 LEAVING("13sfx74lme08ur04vkrqta25j","agattrrec");
564 }
565 }
566
567
568
569
570 //3 2io7b26wq70e7kwdlzsh6bw7f
571 // static void addattr(Agraph_t * g, Agobj_t * obj, Agsym_t * sym)
572 public static void addattr(ST_Agraph_s g, ST_Agobj_s obj, ST_Agsym_s sym) {
573 ENTERING("2io7b26wq70e7kwdlzsh6bw7f","addattr");
574 try {
575 ST_Agattr_s attr;
576 attr = (ST_Agattr_s) agattrrec(obj);
577
578 if (sym.id >= 4)
579 // attr.str = (StarArrayOfCString) g.clos.disc.mem.call("resize", g.clos.state.mem,
580 // attr.str,
581 // sizeof("char*", sym.id),
582 // sizeof("char*", sym.id + 1));
583 attr.str.add(null);
584 attr.str.set(sym.id, agstrdup(g, sym.defval));
585 /* agmethod_upd(g,obj,sym); JCE and GN didn't like this. */
586 } finally {
587 LEAVING("2io7b26wq70e7kwdlzsh6bw7f","addattr");
588 }
589 }
590
591
592
593
594 //3 a3qr8ug1rkxp6ocieyp41ly3o
595 // static Agsym_t *setattr(Agraph_t * g, int kind, char *name, char *value)
596 public static ST_Agsym_s setattr(ST_Agraph_s g, int kind, CString name, CString value) {
597 ENTERING("a3qr8ug1rkxp6ocieyp41ly3o","setattr");
598 try {
599 ST_Agdatadict_s dd;
600 ST_dt_s ldict, rdict;
601 ST_Agsym_s lsym, psym, rsym, rv;
602 ST_Agraph_s root;
603 ST_Agnode_s n;
604 ST_Agedge_s e;
605
606 root = agroot(g);
607 dd = agdatadict(g, (N(0))); /* force initialization of string attributes */
608 ldict = agdictof(g, kind);
609 lsym = aglocaldictsym(ldict, name);
610 if (lsym!=null) { /* update old local definiton */
611 agstrfree(g, lsym.defval);
612 lsym.setPtr("defval", agstrdup(g, value));
613 rv = lsym;
614 } else {
615 psym = agdictsym(ldict, name); /* search with viewpath up to root */
616 if (psym!=null) { /* new local definition */
617 lsym = agnewsym(g, name, value, psym.id, kind);
618 ldict.searchf.exe(ldict,lsym,0000001);
619 rv = lsym;
620 } else { /* new global definition */
621 rdict = agdictof(root, kind);
622 rsym = agnewsym(g, name, value, dtsize_(rdict), kind);
623 rdict.searchf.exe(rdict,rsym,0000001);
624 switch (kind) {
625 case AGRAPH:
626 agapply(root, (ST_Agobj_s) root.castTo(ST_Agobj_s.class), function(attr__c.class, "addattr"),
627 rsym, (N(0)));
628 break;
629 case AGNODE:
630 for (n = agfstnode(root); n!=null; n = agnxtnode(root, n))
631 addattr(g, (ST_Agobj_s) n.castTo(ST_Agobj_s.class), rsym);
632 break;
633 case AGINEDGE:
634 case AGOUTEDGE:
635 for (n = agfstnode(root); n!=null; n = agnxtnode(root, n))
636 for (e = agfstout(root, n); e!=null; e = agnxtout(root, e))
637 addattr(g, (ST_Agobj_s) e.castTo(ST_Agobj_s.class), rsym);
638 break;
639 }
640 rv = rsym;
641 }
642 }
643 if (rv!=null && (kind == 0))
644 agxset(g, rv, value);
645 agmethod_upd(g, g, rv); /* JCE and GN wanted this */
646 return rv;
647 } finally {
648 LEAVING("a3qr8ug1rkxp6ocieyp41ly3o","setattr");
649 }
650 }
651
652
653
654
655 //3 8f80aahwb8cqc2t9592v47ttd
656 // static Agsym_t *getattr(Agraph_t * g, int kind, char *name)
657 public static ST_Agsym_s getattr(ST_Agraph_s g, int kind, CString name) {
658 ENTERING("8f80aahwb8cqc2t9592v47ttd","getattr");
659 try {
660 ST_Agsym_s rv = null;
661 ST_dt_s dict;
662 dict = agdictof(g, kind);
663 if (dict!=null)
664 rv = agdictsym(dict, name); /* viewpath up to root */
665 return rv;
666 } finally {
667 LEAVING("8f80aahwb8cqc2t9592v47ttd","getattr");
668 }
669 }
670
671
672
673
674 //3 blr3drm2hxuzwd6gpeeb84yyg
675 // Agsym_t *agattr(Agraph_t * g, int kind, char *name, char *value)
676 public static ST_Agsym_s agattr(ST_Agraph_s g, int kind, CString name, CString value) {
677 ENTERING("blr3drm2hxuzwd6gpeeb84yyg","agattr");
678 try {
679 ST_Agsym_s rv;
680 if (g == null) {
681 if (Z.z().ProtoGraph == null)
682 Z.z().ProtoGraph = agopen(null, (ST_Agdesc_s) Z.z().ProtoDesc.copy(), null);
683 g = Z.z().ProtoGraph;
684 }
685 if (value!=null)
686 rv = setattr(g, kind, name, value);
687 else
688 rv = getattr(g, kind, name);
689 return rv;
690 } finally {
691 LEAVING("blr3drm2hxuzwd6gpeeb84yyg","agattr");
692 }
693 }
694
695
696
697
698 //3 9medmidrd61ljmzlswpxwuxjm
699 // Agsym_t *agnxtattr(Agraph_t * g, int kind, Agsym_t * attr)
700 public static Object agnxtattr(Object... arg) {
701 UNSUPPORTED("1nquny99ik5rdqpdzl1efzzw5"); // Agsym_t *agnxtattr(Agraph_t * g, int kind, Agsym_t * attr)
702 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
703 UNSUPPORTED("l4y6zpshfefue2m18wlswfkp"); // Dict_t *d;
704 UNSUPPORTED("ekzntpxwtsedcg8uzmlsfbb5h"); // Agsym_t *rv;
705 UNSUPPORTED("786h6jfmnfzp39fkdwa7fzz71"); // if ((d = agdictof(g, kind))) {
706 UNSUPPORTED("4ftgdafqwlor792t6qye23xle"); // if (attr)
707 UNSUPPORTED("ealluogofs9ig6hmoveplut40"); // rv = (Agsym_t *) (*(((Dt_t*)(d))->searchf))((d),(void*)(attr),0000010);
708 UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // else
709 UNSUPPORTED("8yv728l38cvhrasbkgvce3bsb"); // rv = (Agsym_t *) (*(((Dt_t*)(d))->searchf))((d),(void*)(0),0000200);
710 UNSUPPORTED("2lkbqgh2h6urnppaik3zo7ywi"); // } else
711 UNSUPPORTED("40zoypg37zonwb7nuewxdti29"); // rv = 0;
712 UNSUPPORTED("v7vqc9l7ge2bfdwnw11z7rzi"); // return rv;
713 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
714
715 throw new UnsupportedOperationException();
716 }
717
718
719
720
721 //3 ex2qtmuwz0o2e5svkujdbux78
722 // void agraphattr_init(Agraph_t * g)
723 public static void agraphattr_init(ST_Agraph_s g) {
724 ENTERING("ex2qtmuwz0o2e5svkujdbux78","agraphattr_init");
725 try {
726 /* Agdatadict_t *dd; */
727 /* Agrec_t *attr; */
728 ST_Agraph_s context;
729 ((ST_Agdesc_s)g.desc).has_attrs = 1;
730 /* dd = */ agmakedatadict(g);
731 if (N(context = agparent(g)))
732 context = g;
733 /* attr = */ agmakeattrs(context, g);
734 } finally {
735 LEAVING("ex2qtmuwz0o2e5svkujdbux78","agraphattr_init");
736 }
737 }
738
739
740
741
742 //3 ccqww3yvujvy82bw6i1m0rv96
743 // int agraphattr_delete(Agraph_t * g)
744 public static Object agraphattr_delete(Object... arg) {
745 UNSUPPORTED("4chc6o30l6nehselkvpo4xtao"); // int agraphattr_delete(Agraph_t * g)
746 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
747 UNSUPPORTED("eq0gq1d7pmvj94j5nxbexze8p"); // Agdatadict_t *dd;
748 UNSUPPORTED("4e7iq4f4pk0x2v3zvdc2tdbd1"); // Agattr_t *attr;
749 UNSUPPORTED("6qvjz1ziwr3nwocahqvfzw14t"); // Ag_G_global = g;
750 UNSUPPORTED("4t3qv06n62hquaihi33zqc8bi"); // if ((attr = agattrrec(g))) {
751 UNSUPPORTED("31flnlx452d07y9bjvvk0nygk"); // freeattr((Agobj_t *) g, attr);
752 UNSUPPORTED("ag6tzein6gkpxcarnafbxws91"); // agdelrec(g, attr->h.name);
753 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
754 UNSUPPORTED("4p9dsuje96h48qnpgn0m02aij"); // if ((dd = agdatadict(g, (0)))) {
755 UNSUPPORTED("6ubrug572yhktadcj02muyr5e"); // if (agdtclose(g, dd->dict.n)) return 1;
756 UNSUPPORTED("3msb0eqyxef8ye31vjnzxbkh6"); // if (agdtclose(g, dd->dict.e)) return 1;
757 UNSUPPORTED("597gu9wfswglr8tbdrbqpr27p"); // if (agdtclose(g, dd->dict.g)) return 1;
758 UNSUPPORTED("dhn07bfi40opq2qmakfkosz77"); // agdelrec(g, dd->h.name);
759 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
760 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
761 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
762
763 throw new UnsupportedOperationException();
764 }
765
766
767
768
769 //3 2pp4ot3pqy71jpfvu3g398y4y
770 // void agnodeattr_init(Agraph_t * g, Agnode_t * n)
771 public static void agnodeattr_init(ST_Agraph_s g, ST_Agnode_s n) {
772 ENTERING("2pp4ot3pqy71jpfvu3g398y4y","agnodeattr_init");
773 try {
774 ST_Agattr_s data;
775 data = (ST_Agattr_s) agattrrec(n);
776 if ((N(data)) || (N(data.dict)))
777 agmakeattrs(g, n);
778 } finally {
779 LEAVING("2pp4ot3pqy71jpfvu3g398y4y","agnodeattr_init");
780 }
781 }
782
783
784
785
786 //3 7fbhjqpb2w17ahde2ie2l22n5
787 // void agnodeattr_delete(Agnode_t * n)
788 public static Object agnodeattr_delete(Object... arg) {
789 UNSUPPORTED("72jlvkhc0kqxzf6infgwjj96n"); // void agnodeattr_delete(Agnode_t * n)
790 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
791 UNSUPPORTED("cxk0x5bmjhvgv8b1uv960lx4"); // Agattr_t *rec;
792 UNSUPPORTED("96w8m9uhl8904g83fqzl5a0fl"); // if ((rec = agattrrec(n))) {
793 UNSUPPORTED("34er8hi05mpmz6cld4lt2pzyd"); // freeattr((Agobj_t *) n, rec);
794 UNSUPPORTED("3vr5ktefaene3xr7wprole0q4"); // agdelrec(n, AgDataRecName);
795 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
796 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
797
798 throw new UnsupportedOperationException();
799 }
800
801
802
803
804 //3 ckfzmnxfi0jiiayxmq38giw0r
805 // void agedgeattr_init(Agraph_t * g, Agedge_t * e)
806 public static void agedgeattr_init(ST_Agraph_s g, ST_Agedge_s e) {
807 ENTERING("ckfzmnxfi0jiiayxmq38giw0r","agedgeattr_init");
808 try {
809 ST_Agattr_s data;
810 data = agattrrec(e);
811 if ((N(data)) || (N(data.dict)))
812 agmakeattrs(g, e);
813 } finally {
814 LEAVING("ckfzmnxfi0jiiayxmq38giw0r","agedgeattr_init");
815 }
816 }
817
818
819
820
821 //3 3cm42f5o83187rwf4l7j7ie1k
822 // void agedgeattr_delete(Agedge_t * e)
823 public static Object agedgeattr_delete(Object... arg) {
824 UNSUPPORTED("97nvxy8b8p4rmo31kk1qkusns"); // void agedgeattr_delete(Agedge_t * e)
825 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
826 UNSUPPORTED("cxk0x5bmjhvgv8b1uv960lx4"); // Agattr_t *rec;
827 UNSUPPORTED("5n6u4cfiymhx4a88tj9vpz5z8"); // if ((rec = agattrrec(e))) {
828 UNSUPPORTED("1ct1lua1igkf5stpj1vcd2z0h"); // freeattr((Agobj_t *) e, rec);
829 UNSUPPORTED("67nly1q6jgpe4ozoidte7zl4v"); // agdelrec(e, AgDataRecName);
830 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
831 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
832
833 throw new UnsupportedOperationException();
834 }
835
836
837
838
839 //3 eydjyhexv5jr6vi7uhk0cgphv
840 // char *agget(void *obj, char *name)
841 public static CString agget(__ptr__ obj, CString name) {
842 ENTERING("eydjyhexv5jr6vi7uhk0cgphv","agget");
843 try {
844 ST_Agsym_s sym;
845 ST_Agattr_s data;
846 CString rv = null;
847 sym = agattrsym(obj, name);
848 if (sym == null)
849 rv = null; /* note was "", but this provides more info */
850 else {
851 data = agattrrec(obj.castTo(ST_Agobj_s.class));
852 rv = data.str.get(sym.id);
853 }
854 return rv;
855 } finally {
856 LEAVING("eydjyhexv5jr6vi7uhk0cgphv","agget");
857 }
858 }
859
860
861
862
863 //3 9h5oymhfkp6k34zl0fonn10k9
864 // char *agxget(void *obj, Agsym_t * sym)
865 public static CString agxget(__ptr__ obj, ST_Agsym_s sym) {
866 ENTERING("9h5oymhfkp6k34zl0fonn10k9","agxget");
867 try {
868 ST_Agattr_s data;
869 CString rv;
870 data = agattrrec(obj.castTo(ST_Agobj_s.class));
871
872 rv = data.str.get(sym.id);
873 return rv;
874 } finally {
875 LEAVING("9h5oymhfkp6k34zl0fonn10k9","agxget");
876 }
877 }
878
879
880
881
882 //3 alc2i3vy4lm57qoc7qn69ppgr
883 // int agset(void *obj, char *name, char *value)
884 public static Object agset(Object... arg) {
885 UNSUPPORTED("dw46ysqbvbb1syq3h2su8khpt"); // int agset(void *obj, char *name, char *value)
886 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
887 UNSUPPORTED("av59ae8c4mws46sf5dumz1k0s"); // Agsym_t *sym;
888 UNSUPPORTED("ecz4e03zumggc8tfymqvirexq"); // int rv;
889 UNSUPPORTED("a5zpawq5lfz2h4k7xzaf5qtcl"); // sym = agattrsym(obj, name);
890 UNSUPPORTED("4htetkykqre1tnc0i1ksxdqmx"); // if (sym == ((Agsym_t*)0))
891 UNSUPPORTED("71xur63dbv1df4fp5xw1bru2i"); // rv = -1;
892 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
893 UNSUPPORTED("932tqrc73k3hieetx14jtfgk0"); // rv = agxset(obj, sym, value);
894 UNSUPPORTED("v7vqc9l7ge2bfdwnw11z7rzi"); // return rv;
895 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
896
897 throw new UnsupportedOperationException();
898 }
899
900
901
902
903 //3 4q8xvstvl6fbijhucfd1endxc
904 // int agxset(void *obj, Agsym_t * sym, char *value)
905 public static int agxset(__ptr__ obj, ST_Agsym_s sym, CString value) {
906 ENTERING("4q8xvstvl6fbijhucfd1endxc","agxset");
907 try {
908 ST_Agraph_s g;
909 ST_Agobj_s hdr;
910 ST_Agattr_s data;
911 ST_Agsym_s lsym;
912 g = agraphof(obj);
913 hdr = (ST_Agobj_s) obj.castTo(ST_Agobj_s.class);
914 data = agattrrec(hdr);
915
916 agstrfree(g, data.str.get(sym.id));
917 data.str.set(sym.id, agstrdup(g, value));
918 if (((ST_Agtag_s)hdr.tag).objtype == AGRAPH) {
919 /* also update dict default */
920 ST_dt_s dict;
921 dict = (ST_dt_s) agdatadict(g, false).dict_g;
922 if ((lsym = aglocaldictsym(dict, sym.name))!=null) {
923 agstrfree(g, lsym.defval);
924 lsym.setPtr("defval", agstrdup(g, value));
925 } else {
926 lsym = agnewsym(g, sym.name, value, sym.id, AGTYPE(hdr));
927 dict.searchf.exe(dict, lsym, 0000001);
928 }
929 }
930 agmethod_upd(g, obj, sym);
931 return 0;
932 } finally {
933 LEAVING("4q8xvstvl6fbijhucfd1endxc","agxset");
934 }
935 }
936
937
938
939
940 //3 9b7vn95cin8o7mb2f21exh1qr
941 // int agsafeset(void *obj, char *name, char *value, char *def)
942 public static int agsafeset(__ptr__ obj, CString name, CString value, CString def) {
943 ENTERING("9b7vn95cin8o7mb2f21exh1qr","agsafeset");
944 try {
945 ST_Agsym_s a;
946 a = agattr(agraphof(obj), AGTYPE(obj), name, null);
947 if (N(a))
948 a = agattr(agraphof(obj), AGTYPE(obj), name, def);
949 return agxset(obj, a, value);
950 } finally {
951 LEAVING("9b7vn95cin8o7mb2f21exh1qr","agsafeset");
952 }
953 }
954
955
956
957
958 //3 6gjlgo4s6r0bu7gjazfee6qv8
959 // static void init_all_attrs(Agraph_t * g)
960 public static Object init_all_attrs(Object... arg) {
961 UNSUPPORTED("bir8xur87cl8inhyrgimkboqq"); // static void init_all_attrs(Agraph_t * g)
962 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
963 UNSUPPORTED("2hs0004nnparj6tt7elslt4zj"); // Agraph_t *root;
964 UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); // Agnode_t *n;
965 UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); // Agedge_t *e;
966 UNSUPPORTED("bnybowlbrgjx7x160vaxt6eok"); // root = agroot(g);
967 UNSUPPORTED("et7b6czk7vef12o9ct0zlil6b"); // agapply(root, (Agobj_t *) root, (agobjfn_t) agraphattr_init,
968 UNSUPPORTED("a1lzdxitcghqk0l63zsudijhj"); // ((Agdisc_t *)0), (!(0)));
969 UNSUPPORTED("8uyptmsbxy8cnb2yc5e1zjy93"); // for (n = agfstnode(root); n; n = agnxtnode(root, n)) {
970 UNSUPPORTED("149yfxxc7rsqn6goirepjpcf2"); // agnodeattr_init(g, n);
971 UNSUPPORTED("1qcg6rx46tkna823mgf1786us"); // for (e = agfstout(root, n); e; e = agnxtout(root, e)) {
972 UNSUPPORTED("555dsk5o3bvij5uz01q0cs74w"); // agedgeattr_init(g, e);
973 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
974 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
975 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
976
977 throw new UnsupportedOperationException();
978 }
979
980
981
982
983 //3 2fmwbgdlz116bdnivfr2gbst7
984 // int agcopyattr(void *oldobj, void *newobj)
985 public static Object agcopyattr(Object... arg) {
986 UNSUPPORTED("9hxxxad2s159e1mpaqdq32p1j"); // int agcopyattr(void *oldobj, void *newobj)
987 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
988 UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); // Agraph_t *g;
989 UNSUPPORTED("av59ae8c4mws46sf5dumz1k0s"); // Agsym_t *sym;
990 UNSUPPORTED("e0it3jbt5zhk1nsy4jog99dpu"); // Agsym_t *newsym;
991 UNSUPPORTED("6bpbm2s85uk2e5o6cm49boc4w"); // char* val;
992 UNSUPPORTED("85pgv5dfzc1lewmaoiherq9nf"); // char* nval;
993 UNSUPPORTED("4lyqrf8bj8y0fbafzxuae0xqa"); // int r = 1;
994 UNSUPPORTED("enr7x1oa4c50ne66ts6hvz0dx"); // g = agraphof(oldobj);
995 UNSUPPORTED("6qj4ytcakj7t70xil9hxyy5c9"); // if (AGTYPE(oldobj) != AGTYPE(newobj))
996 UNSUPPORTED("eleqpc2p2r3hvma6tipoy7tr"); // return 1;
997 UNSUPPORTED("5btwvtgpjz0hx5y9ouikwsrc4"); // sym = 0;
998 UNSUPPORTED("886wv340pnju68k6aejj7o3x0"); // while ((sym = agnxtattr(g, AGTYPE(oldobj), sym))) {
999 UNSUPPORTED("cino0o0155s1h3gsr2l2uz7z"); // newsym = agattrsym(newobj, sym->name);
1000 UNSUPPORTED("daq5urcl5ihipluxk5sf4ccdx"); // if (!newsym)
1001 UNSUPPORTED("btmwubugs9vkexo4yb7a5nqel"); // return 1;
1002 UNSUPPORTED("aao8dsiq1evom55a3f4w4rha3"); // val = agxget(oldobj, sym);
1003 UNSUPPORTED("a078bakz1z0utl11856f4vk7w"); // r = agxset(newobj, newsym, val);
1004 UNSUPPORTED("cpxrqzz637g381bs344b2sj0u"); // /* FIX(?): Each graph has its own string cache, so a whole new refstr is possibly
1005 UNSUPPORTED("d41ayxc51x2hyvj9eo15qmgun"); // * allocated. If the original was an html string, make sure the new one is as well.
1006 UNSUPPORTED("3kp67yo7cfslm3l0o4e5cdnd8"); // * If cgraph goes to single string table, this can be removed.
1007 UNSUPPORTED("62wb43w2xc6ex6hootjubbx22"); // */
1008 UNSUPPORTED("ez0g3o1tj7ommhxsolcr2gsr"); // if (aghtmlstr (val)) {
1009 UNSUPPORTED("do57srwwkvwu30y5dd2pr6tkp"); // nval = agxget (newobj, newsym);
1010 UNSUPPORTED("9nzu0ckgyrqklwagcbye9wtx9"); // agmarkhtmlstr (nval);
1011 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1012 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1013 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
1014 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1015
1016 throw new UnsupportedOperationException();
1017 }
1018
1019
1020 }