static PTElement ai_cullParseTree(PTElement e) { if (e == null) ret e; if (!e instanceof ChoosePart) removeAllButFirst(e.children); for (PTElement child : unnull(e.children)) ai_cullParseTree(child); ret e; }
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: | #1017433 |
Snippet name: | ai_cullParseTree - remove alternative parses; tree must be fully realized, like from ai_parseBottomUpToTree |
Eternal ID of this version: | #1017433/3 |
Text MD5: | 2e7f861abf70534757363fe783707f3f |
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-05 19:40:16 |
Source code size: | 231 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 461 / 472 |
Version history: | 2 change(s) |
Referenced in: | [show references] |