static void printUnrolledStringTree(StringTree1 tree) { printUnrolledStringTree("", tree); } static void printUnrolledStringTree(S prefix, StringTree1 tree) { if (tree == null) ret; if (tree.leaf) print(prefix); for (S s : keys(tree.children)) printUnrolledStringTree(appendSpaceIfNempty(prefix) + s, tree.children.get(s)); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008656 |
Snippet name: | printUnrolledStringTree |
Eternal ID of this version: | #1008656/4 |
Text MD5: | 4e45253fa84c6883730a87f4be1bea1d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-05-27 01:31:32 |
Source code size: | 349 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 538 / 549 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |