1 | static ChoosePart ai_parseTree_descendToComposite(PTElement e) {
|
2 | /*while (e instanceof ChooseCategory |
3 | || e instanceof HaveCategory |
4 | && (e/HaveCategory.reconstruction == null || e/HaveCategory.reconstruction.b == null)) {*/
|
5 | while (e != null && !e instanceof ChoosePart) {
|
6 | PTElement e2 = e; |
7 | e = first(e.children); // Choose most likely reconstruction |
8 | //print("Went from " + className(e2) + "(" + e + ") to " + className(e) + " (" + n2(e2.children, "child", "children") + ")");
|
9 | } |
10 | ret (ChoosePart) e; |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1017406 |
| Snippet name: | ai_parseTree_descendToComposite |
| Eternal ID of this version: | #1017406/9 |
| Text MD5: | 8ea2ac410160e642675605a5d0b302f9 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-08-19 12:29:59 |
| Source code size: | 539 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 775 / 761 |
| Version history: | 8 change(s) |
| Referenced in: | [show references] |