Uses 11335K of libraries. Click here for Pure Java version (4342L/27K).
sS lcStream_textWithBrackets(LCStreamingCompressor lc) { new StringBuilder buf; lcStream_textWithBrackets_step(lc, buf, lc.chain.toList()); ret str(buf); } svoid lcStream_textWithBrackets_step(LCStreamingCompressor lc, StringBuilder buf, L<Int> chunks) { for (int idx : chunks) { LCStreamingCompressor.Chunk c = lc.chunks.get(idx); if (c cast LCStreamingCompressor.CPair) { buf.append("("); lcStream_textWithBrackets_step(lc, buf, ll(c.i1, c.i2)); buf.append(")"); } else buf.append(((LCStreamingCompressor.CPrim) c).c); } }
Began life as a copy of #1028482
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1029111 |
Snippet name: | lcStream_textWithBrackets |
Eternal ID of this version: | #1029111/6 |
Text MD5: | 654aff68d06cc6677d5d66d77472b927 |
Transpilation MD5: | 155bcc9aef310a41bc336f85f6de7422 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-19 23:30:47 |
Source code size: | 593 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 194 / 278 |
Version history: | 5 change(s) |
Referenced in: | [show references] |