1 | static S ai_parseTreeGrouping(PTElement e) {
|
2 | if (e == null) null; |
3 | ChoosePart comp = ai_parseTree_descendToComposite(e); |
4 | if (comp != null) |
5 | ret curlyOpt(ai_parseTreeGrouping(first(comp.children))) + " " |
6 | + curlyOpt(ai_parseTreeGrouping(second(comp.children))); |
7 | ret e.text(); |
8 | } |
Began life as a copy of #1017431
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1017892 |
| Snippet name: | ai_parseTreeGrouping - get default deep grouping |
| Eternal ID of this version: | #1017892/3 |
| Text MD5: | 7de986b4552f4bca589f6d1b130074f6 |
| 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:33:06 |
| Source code size: | 298 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 657 / 666 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |